Route Controller for Laravel 5.3++

1.0.4 2017-10-03 03:36 UTC

This package is not auto-updated.

Last update: 2020-07-05 10:56:06 UTC


Total Downloads License

If you are used to using laravel 4 or laravel 5.2 you may be familiar with Route :: controller, but unfortunately in laravel 5.3 ++ Route Controller will be deleted.

But do not worry, by using this package you can reuse the artificial route controller and maintained by me (Muhamad Reza AR)

How to Install ?

Add Packages in composer

composer require muhamadrezaar/route-controller

Add service provider and facade


How to Use ?

in route file (routes/web.php)


Samples Methods in Source Controller

public function getIndex() // url generated : or
	dd('hello world');

public function getTriRiska() // url generated
    dd('My Friend');

public function postCreate() // url generated