Foreword:
<code>基于 Laravel 5.2 版本 环境要求:PHP 5.5.9+,MySQL 5.1+ Laravel 官网地址: http://www.golaravel.com/ 官方学习教程地址: http://www.golaravel.com/post/2016-ban-laravel-xi-lie-ru-men-jiao-cheng-yi/ </code>
1. Install composer
<code>如果还未安装 composer的同学 请参考以下网址,安装步骤非常简单。、 http://pkg.phpcomposer.com </code>
2. Establish Laravel5 project
Create a virtual site for easy access (do not know how to use Baidu by yourself)
<code><span># Laravel</span><span><VirtualHost *:80></span><span>ServerAdmin</span> 812069449@qq.com <span><span>DocumentRoot</span></span><span>"E:\Laravel\learnlaravel5\public"</span><span><span>ServerName</span></span> laravel5.my.com <span>ErrorLog</span><span>"logs/dummy-host2.example.com-error.log"</span><span>CustomLog</span><span>"logs/dummy-host2.example.com-access.log"</span> common <span></VirtualHost></span></code>
<code>composer create-project laravel/laravel learnlaravel5 </code>
The above introduces the java study notes Laravel5 study notes, including the content of java study notes. I hope it will be helpful to friends who are interested in PHP tutorials.