Skip to content

Commit

Permalink
[Backport 13.4] Installing extension composer or legacy (#5307)
Browse files Browse the repository at this point in the history
* Installing extension composer or legacy

Remove the old requirement until TYPO3 10 where a composer installation also needed a manual activation in the Extension Manager.

* Update Documentation/ExtensionArchitecture/HowTo/CreateNewExtension.rst

OK

Co-authored-by: Stefan Frömken <[email protected]>

* TYPO3 project root

I do not know what this sentence stand for:

 You can freely name the extension directory.

* Update Documentation/ExtensionArchitecture/HowTo/CreateNewExtension.rst

---------

Co-authored-by: Franz Holzinger <[email protected]>
Co-authored-by: Stefan Frömken <[email protected]>
Co-authored-by: Lina Wolf <[email protected]>
  • Loading branch information
4 people authored Feb 3, 2025
1 parent 4d715a7 commit aceb2c6
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions Documentation/ExtensionArchitecture/HowTo/CreateNewExtension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ Installing the newly created extension
Starting with TYPO3 v11 it is no longer possible to install extensions in TYPO3
without using Composer in Composer-based installations.

However during development it is likely that you will want to test your extension locally
before publishing it.

During development, place the extension in a directory called,
:file:`packages` in TYPO3s root directory. You can name is directory
however you choose.
However during development it is necessary to test your extension locally
before publishing it. Place the extension directory into the directory called,
:file:`packages` inside of the TYPO3 project root directory.

Then edit your projects :file:`composer.json <extension-composer-json>` (The one in the TYPO3 root
directory, **not the one in the extension**) and add the following repository:
Expand All @@ -55,14 +52,13 @@ After that you can install your extension via Composer:

.. code-block:: bash
composer req vendor/my-extension:"@dev"
composer req my-vendor/my-extension:"@dev"
.. hint::
Starting with TYPO3 v11.5 all extensions installed via Composer are
automatically activated when they are installed. If you use an older
version of TYPO3 you will have to
activate the extension in :guilabel:`Admin Tools > Extension Manager`.
automatically activated when they are installed.

For legacy installations you can put the extension directly in the directory
:file:`typo3conf/ext` and then **activate** it in
:guilabel:`Admin Tools > Extension Manager`.
.. hint::
For Classic installations you can put the extension directly in the directory
:file:`typo3conf/ext` and then **activate** it in
:guilabel:`Admin Tools > Extensions`.

0 comments on commit aceb2c6

Please sign in to comment.