| Package Data | |
|---|---|
| Maintainer Username: | onemustcode |
| Maintainer Contact: | jeffrey@onemustcode.nl (Jeffrey Buitenhuis) |
| Package Create Date: | 2017-05-04 |
| Package Last Update: | 2017-05-04 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-27 15:03:14 |
| Package Statistics | |
|---|---|
| Total Downloads: | 2,217 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
This package holds some simple Laravel utils.
Require this package
composer require onemustcode/laravel
After adding the package, add the ServiceProvider to the providers array in config/app.php
OneMustCode\Laravel\LaravelServiceProvider::class,
The is method is an marco that is attached to the Route Facade. It's just like the is method on the Request Facade, but then for route names.
$bool = Route::is('route.name', 'other.route*');
MIT