Commit 235c4950 authored by Fabien Potencier's avatar Fabien Potencier

minor #911 Added contribution instructions (PapyDanone)

This PR was merged into the 1.2.x-dev branch.

Discussion
----------

Added contribution instructions

Instructions to install symfony/serializer dependency was missing.

Commits
-------

e552300f Added contribution instructions
parents b7df67ff e552300f
......@@ -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