1
0
Fork 0

Rephrase/reformat some of the intro, refs #1450

pull/1455/head
Jordi Boggiano 2013-01-05 18:46:42 +01:00
parent 8091eeeac7
commit d925598f1d
1 changed files with 8 additions and 5 deletions

View File

@ -113,9 +113,11 @@ Save the file. Close your current terminal. Test usage with a new terminal:
## Using Composer ## Using Composer
This is assuming you have a `composer.json` file in the directory. If not, please read the "[Basic Usage](01-basic-usage.md)" chapter. We will now use Composer to install the dependencies of the project. If you
don't have a `composer.json` file in the current directory please skip to the
[Basic Usage](01-basic-usage.md) chapter.
Next, run the `install` command to resolve and download dependencies: To resolve and download dependencies, run the `install` command:
$ php composer.phar install $ php composer.phar install
@ -124,7 +126,8 @@ run this instead:
$ composer install $ composer install
This will download monolog into the `vendor/monolog/monolog` directory. Following the [example above](#declaring-dependencies), this will download
monolog into the `vendor/monolog/monolog` directory.
## Autoloading ## Autoloading
@ -135,7 +138,7 @@ process:
require 'vendor/autoload.php'; require 'vendor/autoload.php';
Woh! Now start using monolog! To keep learning more about Composer, keep Woah! Now start using monolog! To keep learning more about Composer, keep
reading the "Basic Usage" chapter. reading the "Basic Usage" chapter.
[Basic Usage](01-basic-usage.md) → [Basic Usage](01-basic-usage.md) →