Commit e552300f authored by PapyDanone's avatar PapyDanone

Added contribution instructions

Instructions to install symfony/serializer dependency was missing.
parent b7df67ff
......@@ -30,6 +30,20 @@ Registering
.. code-block:: php
$app->register(new Silex\Provider\SerializerServiceProvider());
.. note::
The *SerializerServiceProvider* relies on Symfony's `Serializer Component
<http://symfony.com/doc/current/components/serializer.html>`_,
which comes with the "fat" Silex archive but not with the regular
one. If you are using Composer, add it as a dependency to your
``composer.json`` file:
.. code-block:: json
"require": {
"symfony/serializer": ">=2.3,<2.5-dev",
}
Usage
-----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment