Looking to hire Laravel developers? Try LaraJobs

laravel-utils maintained by kerigard

Description
Utils for Laravel
Last update
2025/02/12 09:27 (dev-master)
License
Downloads
3
Tags

Comments
comments powered by Disqus

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.