Skip to content

Commit 1678f49

Browse files
committed
Updated the installation of components introduced in Symfony 3.4
1 parent fdaf189 commit 1678f49

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

components/cache.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ The Cache Component
1919
Installation
2020
------------
2121

22-
You can install the component in 2 different ways:
22+
.. code-block:: terminal
2323
24-
* :doc:`Install it via Composer </components/using_components>` (``symfony/cache`` on `Packagist`_);
25-
* Use the official Git repository (https://github.com/symfony/cache).
24+
$ composer require symfony/cache
25+
26+
Alternatively, you can clone the `<https://github.com/symfony/cache>`_ repository.
27+
28+
.. include:: /components/require_autoload.rst.inc
2629

2730
Cache (PSR-6) Versus Simple Cache (PSR-16)
2831
------------------------------------------

components/dotenv.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ The Dotenv Component
1414
Installation
1515
------------
1616

17-
You can install the component in 2 different ways:
17+
.. code-block:: terminal
18+
19+
$ composer require symfony/dotenv
1820
19-
* :doc:`Install it via Composer </components/using_components>` (``symfony/dotenv`` on `Packagist`_);
20-
* Use the official Git repository (https://github.com/symfony/dotenv).
21+
Alternatively, you can clone the `<https://github.com/symfony/dotenv>`_ repository.
2122

2223
.. include:: /components/require_autoload.rst.inc
2324

components/lock.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ The Lock Component
1414
Installation
1515
------------
1616

17-
You can install the component in 2 different ways:
17+
.. code-block:: terminal
1818
19-
* :doc:`Install it via Composer </components/using_components>` (``symfony/lock`` on `Packagist`_);
20-
* Use the official Git repository (https://github.com/symfony/lock).
19+
$ composer require symfony/lock
20+
21+
Alternatively, you can clone the `<https://github.com/symfony/lock>`_ repository.
2122

2223
.. include:: /components/require_autoload.rst.inc
2324

components/workflow.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ The Workflow Component
1414
Installation
1515
------------
1616

17-
You can install the component in 2 different ways:
17+
.. code-block:: terminal
1818
19-
* :doc:`Install it via Composer </components/using_components>` (``symfony/workflow`` on `Packagist`_);
20-
* Use the official Git repository (https://github.com/symfony/workflow).
19+
$ composer require symfony/workflow
20+
21+
Alternatively, you can clone the `<https://github.com/symfony/workflow>`_ repository.
2122

2223
.. include:: /components/require_autoload.rst.inc
2324

0 commit comments

Comments
 (0)