This series of articles is the notes of the introductory video series in laracasts.com. I have made some modifications. You can refer to this series of articles to learn Laravel 5. The author of the original video is Jeffrey Way, thank you. The system I use is a Mac system, but regardless of Mac or Windows users, it is recommended to use a virtual machine to install Linux (the server version is enough), and then develop using a shared folder. All command line commands should be executed in the virtual machine and file modifications should be done in the host machine. It is recommended to use phpstorm.
What is Laravl
Laravel is a simple and elegant PHP Web development framework (PHP Web Framework). The share of PHP framework in the world (excluding China) exceeds 40%.
Set up the system
<code>composer --version #输出 Composer version 1.0.0-alpha9 2014-12-07 17:15:20</code>
<code>cd /在虚拟机中mount的共享文件夹 composer create-project laravel/laravel learning-laravel-5 --prefer-dist #需要等待</code>
<code>cd learning-laravel-5/ #x.x.x.x 为虚拟机地址 php -S x.x.x.x:8888 -t public</code>
The above has introduced the basics of Laravel 5 (1) - Getting started with Laravel and creating new projects, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.