From bcefb075c521aeffca9095decdef9f38a7ced7e9 Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Sun, 14 Dec 2014 20:59:31 +0000 Subject: [PATCH] Use `composer require` to install via composer. --- 01-getting-started/01-installation/page.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/01-getting-started/01-installation/page.md b/01-getting-started/01-installation/page.md index e335304..ed018c3 100644 --- a/01-getting-started/01-installation/page.md +++ b/01-getting-started/01-installation/page.md @@ -9,17 +9,9 @@ Install composer in your project: curl -s https://getcomposer.org/installer | php -Create a `composer.json` file in your project root: +Add the Slim framework as a dependency: - { - "require": { - "slim/slim": "2.*" - } - } - -Install via composer: - - php composer.phar install + composer require "slim/slim" Add this line to your application's `index.php` file: