Skip to content

Commit 2728c6c

Browse files
committed
Update docs with composer install instructions.
1 parent fca7355 commit 2728c6c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

installation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@ Laravel utilizes [Composer](http://getcomposer.org) to manage its dependencies.
1414
<a name="install-laravel"></a>
1515
## Install Laravel
1616

17+
### Via Download
18+
1719
Once Composer is installed, download the [latest version](https://github.com/laravel/laravel/archive/master.zip) of the Laravel framework and extract its contents into a directory on your server. Next, in the root of your Laravel application, run the `php composer.phar install` (or `composer install`) command to install all of the framework's dependencies. This process requires Git to be installed on the server to successfully complete the installation.
1820

21+
### Via Composer Create-Project
22+
23+
You may also install Laravel by issuing the Composer `create-project` command in your terminal:
24+
25+
composer create-project laravel/laravel
26+
1927
Once Laravel is installed, you may update the framework using the `php composer.phar update` command.
2028

2129
<a name="server-requirements"></a>

quick.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
To install the Laravel framework, download a copy of the [repository from Github](https://github.com/laravel/laravel/archive/master.zip). Next, after [installing Composer](http://getcomposer.org), run the `composer install` command in the root of your project directory. This command will download and install the framework's dependencies.
1414

15+
You may also install Laravel by issuing the following command from your terminal:
16+
17+
composer create-project laravel/laravel
18+
1519
After installing the framework, take a glance around the project to familiarize yourself with the directory structure. The `app` directory contains folders such as `views`, `controllers`, and `models`. Most of your application's code will reside somewhere in this directory. You may also wish to explore the `app/config` directory and the configuration options that are available to you.
1620

1721
<a name="routing"></a>

0 commit comments

Comments
 (0)