Skip to content

Commit

Permalink
Merge pull request #21 from phpcr/symfony-integration
Browse files Browse the repository at this point in the history
fix symfony integration doc
  • Loading branch information
lsmith77 committed May 1, 2015
2 parents e8d41d1 + bd79132 commit f639d01
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions phpcr-shell/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,17 @@ If you are using a Symfony2 application and a version of `DoctrinePHPCRBundle
<https://github.com/doctrine/DoctrinePHPCRBundle/>`_ greater than 1.2 then you
can easily integrate the PHPCR-Shell.

Simply add the shell to your ``composer.json`` file
Simply add the shell with composer:

.. code-block:: javascript
.. code-block:: bash
{
...
require: {
...
"phpcr-shell": "<latest version here>"
}
...
}
$ composer require phpcr/phpcr-shell
And you can connect directly:
And you can start the shell as a symfony command:

.. code-block:: bash
$ php app/console phpcr:shell
$ php app/console doctrine:phpcr:shell
Build it from source
--------------------
Expand Down

0 comments on commit f639d01

Please sign in to comment.