Home  >  Article  >  Backend Development  >  laravel5学习笔记

laravel5学习笔记

WBOY
WBOYOriginal
2016-06-20 12:37:42783browse

通过composer在本地项目路径下安装 启动本地服务

进入项目文件夹下 如输入以下命令

php -S localhost:8888 -t public

访问http://localhost:8888 即可

创建自定义Controller

php artisan make:controller SitesController



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn