1, installation composer
Composer is one of the dependencies of PHP, the official website http://getcomposer.org/. It supports a variety of installation style, for the grass in win under the most convenient format is the Windows installation package, it will directly help define the system variables, so that under any of the contents can be directly applied composer command. Install package Address click the Open link. Foundine Foundation is the brain next, the time attaches importance to the designation of the correct Php.exe file status (such as).
2, open Php_openssl expansion
This pace needs to pay attention to, the application integration of the scene of the classmate may be in the integration of the scene of the Php_openssl extension still often carry out the next step, if I show a hint in the next steps, then please manually open the PHP catalog php.ini file, personally confirm Extension=php_ Whether the Openssl.dll has been turned on.
3, the installation of Laravel 4
Build the Cmd.txt file under the site catalog, enter the following content (emphasis: there is a newline).
@ECHO OFF
cmd /k
Save the file and change the suffix to. bat. Double-click Run cmd.bat input composer Create-project laravel/laravel your-project-name (Red Font project group, please replace with its own project name) enter, waiting for the composer to be actively completed Installation of Laravel.
OK, the installation stops. It is now possible to receive this Laravel's initial project through the process browser http://localhost/testProject/public/the import file is within the public folder under the project catalog.
Reprint: http://www.cnblogs.com/kuyuecs/p/3819767.html
Installation of Composer and Laravel 4 under Windows