Skip to content

Commit 53e454d

Browse files
Kiebelegithub-actions[bot]
authored andcommitted
[FIX] Adjust Prerequisites
1 parent 07ed0df commit 53e454d

File tree

1 file changed

+36
-32
lines changed

1 file changed

+36
-32
lines changed

Documentation/Prerequisites/Index.rst

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ your computer.
1313
This TYPO3 tutorial assumes that the reader has some basic knowledge in the following areas:
1414

1515
* `HTML, CSS and JavaScript <https://www.w3schools.com/html/default.asp>`__
16-
* `PHP <https://www.w3schools.com/php/default.asp>`__
17-
* Basic CLI Commands
18-
19-
.. _roadmap:
20-
21-
What you will learn in this tutorial
22-
====================================
23-
24-
16+
* `Basic Command Line Interface (CLI) Commands <https://www.w3schools.com/whatis/whatis_cli.asp>`__
2517

2618
.. _composer_cheat_sheat:
2719

@@ -32,42 +24,54 @@ Composer is a powerful tool for managing dependencies in PHP projects, including
3224
TYPO3. Here you will find an overview of the four most important commands with a
3325
simple explanation of what they do.
3426

35-
#. composer require
27+
.. _composer_require:
28+
29+
composer require
30+
----------------
31+
32+
.. code-block:: bash
33+
34+
composer require vendor/extension-name
35+
36+
It installs a new package (e.g. a TYPO3 extension) and automatically adds it to your :guilabel:`composer.json`.
37+
Composer determines the appropriate version based on your current configuration.
38+
All required dependencies for the package are also installed.
3639

37-
.. code-block:: bash
40+
.. _composer_remove:
3841

39-
composer require vendor/extension-name
42+
composer remove
43+
---------------
4044

41-
It installs a new package (e.g. a TYPO3 extension) and automatically adds it to your :guilabel:`composer.json`.
42-
Composer determines the appropriate version based on your current configuration.
43-
All required dependencies for the package are also installed.
45+
.. code-block:: bash
4446
45-
#. composer remove
47+
composer remove vendor/extension-name
4648
47-
.. code-block:: bash
49+
Uninstalls an existing package from your project.
50+
Removes the entry from :guilabel:`composer.json` and deletes related files from the
51+
:guilabel:`vendor` folder.
52+
Removes unused dependencies that were only required fro the removed package.
4853

49-
composer remove vendor/extension-name
54+
.. _composer_install:
5055

51-
Uninstalls an existing package from your project.
52-
Removes the entry from :guilabel:`composer.json` and deletes related files from the
53-
:guilabel:`vendor` folder.
54-
Removes unused dependencies that were only required fro the removed package.
56+
composer install
57+
----------------
5558

56-
#. composer install
59+
.. code-block:: bash
5760
58-
.. code-block:: bash
61+
composer install
5962
60-
composer install
63+
It installs exactly the versions specified in the :guilabel:`composer.lock` file.
6164

62-
It installs exactly the versions specified in the :guilabel:`composer.lock` file.
65+
.. _composer_update:
6366

64-
#. composer update
67+
composer update
68+
---------------
6569

66-
.. code-block:: bash
70+
.. code-block:: bash
6771
68-
composer update
72+
composer update
6973
70-
It updates all installed packages to their latest version, as allowed by the version constraints in :guilabel:`composer.json`.
71-
The :guilabel:`composer.lock` file, which records the exact package versions, is updated.
72-
Downloads the updated packages to the :guilabel:`vendor` folder.
74+
It updates all installed packages to their latest version, as allowed by the version constraints in :guilabel:`composer.json`.
75+
The :guilabel:`composer.lock` file, which records the exact package versions, is updated.
76+
Downloads the updated packages to the :guilabel:`vendor` folder.
7377

0 commit comments

Comments
 (0)