
Typically, you may use a web server such as Apache or Nginx to serve your Laravel applications. See the Installation documentation for more details on configuration. Installing Laravel, you may need to grant the web server write permissions to the app/storage directories. This command will download and install the framework's dependencies.

Next run the composer install command in the root of your manually created project directory. If you prefer, you can alternatively download a copy of the Laravel repository from GitHub manually. This command will download and install a fresh copy of Laravel in a new your-project-name folder within your current directory. Now you can install Laravel by issuing the following command from your terminal:Ĭomposer create - project laravel / laravel your - project - name 4.2. If you haven't already, start by installing Composer.

The Laravel framework utilizes Composer for installation and dependency management. This method of installation is much faster than installing via Composer. Installation with all dependencies installed. For instance, laravel new blog would create a directory named blog containing a fresh Laravel Once installed, the simple laravel new command will create a fresh Laravel installation in the directory you specify. Make sure to place the ~/.composer/vendor/bin directory in your PATH (or C:\%HOMEPATH%\AppData\Roaming\Composer\vendor\bin if working with Windows) so the laravel executable is found when you run the laravel command in your terminal.

Considerįirst, download the Laravel installer using Composer.Ĭomposer global require " laravel/installer=~1.1 " WARNING You're browsing the documentation for an old version of Laravel.
