Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1678f49

Browse filesBrowse files
committed
Updated the installation of components introduced in Symfony 3.4
1 parent fdaf189 commit 1678f49
Copy full SHA for 1678f49

File tree

Expand file treeCollapse file tree

4 files changed

+18
-12
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+18
-12
lines changed

‎components/cache.rst

Copy file name to clipboardExpand all lines: components/cache.rst
+6-3Lines 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

Copy file name to clipboardExpand all lines: components/dotenv.rst
+4-3Lines 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

Copy file name to clipboardExpand all lines: components/lock.rst
+4-3Lines 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

Copy file name to clipboardExpand all lines: components/workflow.rst
+4-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.