kerigard / laravel-utils
Utils for Laravel
v1.0.0
2024-03-25 17:57 UTC
Requires
- php: ^8.2
- laravel/framework: ^11.0
Requires (Dev)
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2024-10-25 19:23:41 UTC
README
Utils for Laravel 11 and up.
Installation
Install package via composer:
composer require kerigard/laravel-utils
Usage
Remove routes
Deleting unnecessary routes.
Route::remove(['GET', 'POST'], ['package-route', 'api/users/*']); Route::removeGet('package-route'); Route::removePost('package-route'); Route::removePut('package-route'); Route::removePatch('package-route'); Route::removeDelete('package-route'); Route::removeAny('package-route/*');
Changelog
Please see the CHANGELOG for more information on what has changed recently.
License
MIT. Please see the LICENSE FILE for more information.