Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 13.4] Installing extension composer or legacy #5307

Merged
merged 4 commits into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`.