Laravel artisan 命令

php artisan route:list

Domain Method URI Name Action Middleware
GET/HEAD / Closure web
GET/HEAD api/user Closure api,auth:api
GET/HEAD user user.index App\Http\Controllers\UserController@index web
POST user user.store App\Http\Controllers\UserController@store web
GET/HEAD user/create user.create App\Http\Controllers\UserController@create web
GET/HEAD user/{user} user.show App\Http\Controllers\UserController@show web
PUT/PATCH user/{user} user.update App\Http\Controllers\UserController@update web
DELETE user/{user} user.destroy App\Http\Controllers\UserController@destroy web
GET/HEAD user/{user}/edit user.edit App\Http\Controllers\UserController@edit web

你可能感兴趣的:(Laravel artisan 命令)