PHP code example of kerigard / laravel-utils
1. Go to this page and download the library: Download kerigard/laravel-utils library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kerigard / laravel-utils example snippets
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/*');