1, installation composer
Composer is one of PHP's dependency management tools, the official website http://getcomposer.org/. It supports a variety of installation methods, the most convenient way for grass to develop under win is to download the Windows installer, which will directly help define the system variables so that the composer command can be used directly in any directory. Install package Address click the Open link. The basic is the next step of the brain, during which you specify the correct Php.exe file location (for example).
2, open Php_openssl expansion
This step needs to be noted that the use of integrated environment of the students may be in the integration environment in the PHP_OPENSSL expansion after the normal next step, if prompted in the next step, please manually open the PHP directory php.ini file, personally confirm Extension=php_ Whether the Openssl.dll has been turned on.
3, the installation of Laravel 4
To create a cmd.txt file in the Site directory, enter the following (note: There is a newline).
@ECHO OFFcmd /k
Save the file and change the suffix to. bat. Double-click Run cmd.bat input composer Create-project laravel/laravelyour-project-name (red font section, replace your project name) Enter, wait for composer auto-complete laravel Download the installation.
OK, the installation is complete. You can now access this Laravel's initial project through a browser http://localhost/testProject/public/note that the entry file is in the public folder under the project directory.