Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 90e3987

Browse files
committed
Merge pull request #590 from symfony-cmf/composer_phar
we instruct users to move the composer.phar to composer
2 parents d6525e8 + 7ebc27b commit 90e3987

File tree

8 files changed

+11
-12
lines changed

8 files changed

+11
-12
lines changed

book/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ and then get the Symfony CMF code with it (this may take a while):
6060

6161
.. code-block:: bash
6262
63-
$ php composer.phar create-project symfony-cmf/standard-edition <path-to-install> ~1.1
63+
$ composer create-project symfony-cmf/standard-edition <path-to-install> ~1.1
6464
$ cd <path-to-install>
6565
6666
.. note::
@@ -76,7 +76,7 @@ to configure the permissions and then run the ``install`` command:
7676

7777
.. code-block:: bash
7878
79-
$ php composer.phar install
79+
$ composer install
8080
8181
2) GIT
8282
~~~~~~
@@ -94,7 +94,7 @@ dependencies, use the ``install`` command:
9494

9595
.. code-block:: bash
9696
97-
$ php composer.phar install
97+
$ composer install
9898
9999
100100
Set up the Database

bundles/content/exposing_content_via_rest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Then use Composer_ to update your projects vendors:
4343

4444
.. code-block:: bash
4545
46-
$ php composer.phar update
46+
$ composer update
4747
4848
Configuring FOSRestBundle
4949
-------------------------

bundles/create/other-editors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Then re-run composer:
3434

3535
.. code-block:: bash
3636
37-
$ php composer.phar run-scripts
37+
$ composer run-scripts
3838
3939
In your template, load the JavaScript files using:
4040

cookbook/database/create_new_project_phpcr_odm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ content repository.
2626

2727
.. code-block:: bash
2828
29-
$ php composer.phar create-project symfony/framework-standard-edition <your project name>/ --no-install
29+
$ composer create-project symfony/framework-standard-edition <your project name>/ --no-install
3030
3131
**Step 2**: Add the required packages to ``composer.json``:
3232

cookbook/database/doctrine_cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Jackalope Doctrine DBAL gets better performance when running it with the
66

77
.. code-block:: bash
88
9-
$ php composer.phar require doctrine/doctrine-cache-bundle:1.0.*
9+
$ composer require doctrine/doctrine-cache-bundle:1.0.*
1010
1111
And adding the following entry to your ``app/AppKernel.php``::
1212

cookbook/editions/cmf_core.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ And then run:
4444

4545
.. code-block:: bash
4646
47-
$ php composer.phar update
47+
$ composer update
4848
4949
Initialize bundles
5050
~~~~~~~~~~~~~~~~~~

cookbook/editions/cmf_sandbox.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ and then get the Symfony CMF code with it (this may take a while):
4848

4949
.. code-block:: bash
5050
51-
$ php composer.phar create-project --no-install symfony-cmf/sandbox <path-to-install> ~1.1
51+
$ composer create-project --no-install symfony-cmf/sandbox <path-to-install> ~1.1
5252
$ cd <path-to-install>
53-
$ mv ../composer.phar .
5453
5554
Getting the Sandbox Code: GIT
5655
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -88,7 +87,7 @@ Next, use composer to install the necessary bundles (this may take a while):
8887

8988
.. code-block:: bash
9089
91-
$ php composer.phar install
90+
$ composer install
9291
9392
.. note::
9493

quick_tour/the_big_picture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The best way to download the Symfony CMF Standard Edition is using Composer_:
4545

4646
.. code-block:: bash
4747
48-
$ php composer.phar create-project symfony-cmf/standard-edition cmf ~1.1
48+
$ php composer create-project symfony-cmf/standard-edition cmf ~1.1
4949
5050
Setting up the Database
5151
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)