【Laravel】artisanのroute:clearコマンドを解説

チートシート

Laravel 10.x以降のartisanの「route:clear」コマンドを解説します。

Description

ルートキャッシュファイル(bootstrap/cache/route-v7.php)を削除します。

Usage

php artisan route:clear

Options

オプションはありません。

Example

php artisan route:clear
   INFO  Route cache cleared successfully.

Source

10.x

framework/src/Illuminate/Foundation/Console/RouteClearCommand.php at 11.x · laravel/framework
Laravel is a web application framework with expressive, elegant syntax. - laravel/framework

11.x

framework/src/Illuminate/Foundation/Console/RouteClearCommand.php at 11.x · laravel/framework
Laravel is a web application framework with expressive, elegant syntax. - laravel/framework
タイトルとURLをコピーしました