Once Composer is installed, download the 4.2 version of the Laravel framework and extract its contents into a directory on your server. You may also install Laravel by issuing the Composer create-project command in your terminal: composer create-project laravel/laravel 4.2 -prefer-dist Via Download This method of installation is much faster than installing via Composer. For instance, laravel new blog would create a directory named blog containing a fresh Laravel installation with all dependencies installed. 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 so the laravel executable is found when you run the laravel command in your terminal. composer global require "laravel/installer=~1.1" On Windows, you can use the Composer Windows installer.įirst, download the Laravel installer using Composer. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. First, download a copy of the composer.phar. Laravel utilizes Composer to manage its dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |