kerigard/laravel-utils

v1.0.0 2024-03-25 17:57 UTC

This package is auto-updated.

Last update: 2024-10-25 19:23:41 UTC


README

Build Status Total Downloads Latest Stable Version License

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.