muhamadrezaar/route-controller
Larablocks Analysis
muhamadrezaar/route-controller works with any PHP project: the latest release (1.0.4, Oct 3, 2017) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Oct 3, 2017)
- 0 downloads a month (needs 10,000)
- 1 GitHub star (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Oct 3, 2017.
- No releases in the last 12 months.
- First released: Aug 11, 2017.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.
| Install | |
|---|---|
composer require muhamadrezaar/route-controller |
|
| Latest Version: | 1.0.4 |
| License: | MIT |
| Last Updated: | Oct 3, 2017 |
| Links: | GitHub · Packagist |
Route Controller For Laravel 5.3++
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
Julles\RouteControllerProvider::class,
'RouteController'=>Julles\RouteControllerFacade::class,
How to Use ?
in route file (routes/web.php)
\RouteController::build('tes','TesController');
Samples Methods in Source Controller
public function getIndex() // url generated : yoururl.dev/tes or yoururl.dev/tes/index
{
dd('hello world');
}
public function getTriRiska() // url generated yoururl.dev/tes/tri-riska
{
dd('My Friend');
}
public function postCreate() // url generated yoururl.dev/tes/create
{
}
License
MIT
ENJOY!!
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | License |
|---|---|---|
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.0 | MIT |