摘要:
新版的laravel框架,路由在routes 文件下面,和public同一目录。比如在web.php里如此设置:Route::get('/user','Usercontroller@index'); 则会访问到 app/http/controllers/Usercontroller.php下面的in 阅读全文
摘要:
…or create a new repository on the command line echo "# laravel" >> README.md git init git add README.md git commit -m "first commit" git remote add o 阅读全文
摘要:
➜ laravel git:(master) ✗ php artisan make:controller UserController.phpController created successfully.这样就成功创建userController.php了,默认的路径在这里:app/Http/co 阅读全文
摘要:
composer 之后的laravel没有vonder,执行一下命令即可: laravel git:(master) ✗ composer updateLoading composer repositories with package informationUpdating dependencie 阅读全文
摘要:
➜ htdocs git:(master) ✗ composer create-project laravel/laravel;Installing laravel/laravel (v5.8.17) - Installing laravel/laravel (v5.8.17): Downloadi 阅读全文