laravel-utils maintained by kerigard
Laravel Utils
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.