Skip to content

Commit f639d01

Browse files
committed
Merge pull request #21 from phpcr/symfony-integration
fix symfony integration doc
2 parents e8d41d1 + bd79132 commit f639d01

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

phpcr-shell/installation.rst

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,17 @@ If you are using a Symfony2 application and a version of `DoctrinePHPCRBundle
3535
<https://github.com/doctrine/DoctrinePHPCRBundle/>`_ greater than 1.2 then you
3636
can easily integrate the PHPCR-Shell.
3737

38-
Simply add the shell to your ``composer.json`` file
38+
Simply add the shell with composer:
3939

40-
.. code-block:: javascript
40+
.. code-block:: bash
4141
42-
{
43-
...
44-
require: {
45-
...
46-
"phpcr-shell": "<latest version here>"
47-
}
48-
...
49-
}
42+
$ composer require phpcr/phpcr-shell
5043
51-
And you can connect directly:
44+
And you can start the shell as a symfony command:
5245

5346
.. code-block:: bash
5447
55-
$ php app/console phpcr:shell
48+
$ php app/console doctrine:phpcr:shell
5649
5750
Build it from source
5851
--------------------

0 commit comments

Comments
 (0)