Laravel is currently the most popular PHP framework. It has been heard before and has not been well studied yet. Currently, due to the needs of projects, this framework can only be learned from the scalp. Today is the first day of laravel's learning. Let's talk about the installation process of the laravel framework.
Download the latest version of laravel framework. You can download it from the laravel official website or from the community in China. download the latest version and unzip it to the root directory of the server network.
Laravel framework uses composer (PhP package management tool) to manage code dependencies. First, you need to download the composer phar package file (composer.phar
After the download is completed, put it in the project directory orusr/local/bin
Directory to make global calls in the system. In Windows, you can use composer's Windows Installation tool.
There are two ways to install it. You can go to the CMD console and use the create-Project command of composer to install it.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/38/63/wKioL1Ozy0bzLFPvAAAcm2Mw15M404.jpg "Title =" Small q-20140702170124.png "alt =" wkiol1ozy0bzlfpvaaacm2mw15m404.jpg "/>
You can also run the command composer install or PHP composer-phar install in the root directory of the laravel framework.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/38/65/wKioL1Ozy-OgwOzJAAAYVsowNAk046.jpg "Title =" Small q-20140702170427.png "alt =" wKioL1Ozy-OgwOzJAAAYVsowNAk046.jpg "/>
The installation process is as follows:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/38/67/wKiom1OzzV_hJBHPAAJNyZVt2VA549.jpg "Title =" Small q-20140702170924.png "alt =" wkiom1ozzv_hjbhpaajnyzvt2va549.jpg "/>