?无法创建控制器
执行创建命令 报错。
php artisan make:controller UsersController
In web.php line 14:
Call to undefined function name()
路由
Route::get('/', 'StaticPagesController@home')-name('home');
Route::get('/help', 'StaticPagesController@help')-name('help');
Route::get('/about', 'StaticPagesController@about')-name('about');
Route::get('/signup', 'UsersController@create')->name('signup');
推荐文章: