From a74cab4169d853446ae6cfa347198ecfa7e63b6e Mon Sep 17 00:00:00 2001 From: Kris Jordan Date: Sun, 8 Jul 2012 19:59:30 -0400 Subject: [PATCH] Add shell "prompt" to examples. To make it easier to distinguish between file contents and commands being run in the terminal I've added > as a shell prompt in the snippets where commands are being executed in the shell. --- _includes/dependency-management.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/dependency-management.md b/_includes/dependency-management.md index 9a3b1c1..a5c6893 100644 --- a/_includes/dependency-management.md +++ b/_includes/dependency-management.md @@ -12,7 +12,7 @@ There are already a lot of PHP libraries that are compatible with Composer, read You can install Composer locally (in your current working directory) or globally (e.g. /usr/local/bin). Let's assume you want to install Composer locally. From your project's root directory: - curl -s http://getcomposer.org/installer | php + > curl -s http://getcomposer.org/installer | php This will download `composer.phar` (a PHP binary archive). You can run this with `php` to manage your project dependencies. Please Note: If you pipe downloaded code directly into an interpreter, please read the code online first to confirm it is safe. @@ -28,7 +28,7 @@ First, create a `composer.json` file in the same directory as `composer.phar`. H Next, run this command from your project root directory. - php composer.phar install + > php composer.phar install This will download and install the project dependencies into a `vendors/` directory. Next, add this line to your application's primary PHP file; this will tell PHP to use Composer's autoloader for your project dependencies.