PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, February 22, 2022

[FIXED] How to enable Route::controller in laravel 5.5, is there are any packages to use it?

 February 22, 2022     composer-php, laravel, php     No comments   

Issue

As Laravel has deprecated Route Controller and we should explicitly write get/post/put/patch/delete methods.

Also as LaravelCollective return some removed packages as HTML, FORM Helper Classes, is there are any packages return this feature to Laravel 5.3 and above ?

Because many of us use ready made scripts in new projects, to increase our productivity, so we don't re-invent the wheel.


Solution

I have added to Router.php class, the removed script that was using to handle Route::controller.

I have created a repo on Github for those who like to use Route::controller in Laravel 5.5 and above.

The repo URL is: https://github.com/marwan2/LaravelRouteControllerBackToLife



Answered By - Marwan
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing