Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ This is a minimal :file:`composer.json <extension-composer-json>` for a TYPO3 ex

* The vendor name is `MyVendor`.
* The :ref:`extension key <extension-key>` is `my_extension`.
* The extension title is `My Extension` and the description is `An example extension`.

Subsequently:

Expand Down Expand Up @@ -127,6 +128,8 @@ Extended composer.json
Properties
==========

.. _ext-composer-json-property-name:

name
----

Expand All @@ -141,12 +144,22 @@ uppercase / lowercase spelling, for example: The PHP namespace
:php:`JohnDoe\SomeExtension` may be `johndoe/some-extension` in
:file:`composer.json <extension-composer-json>`.

.. _ext-composer-json-property-description:

description
-----------

.. versionchanged:: 14.0
Extension titles were previously taken from file :file:`ext_emconf.php` but
in Composer mode the :file:`ext_emconf.php` file is no longer necessary. The
description field in :file:`composer.json` is exploded to get the extension
title (in front of "-") and the extension description (after "-").

(*required*)

Description of your extension (1 line).
This field contains the extension title and the description of your extension
(1 line). The title is separated from the description by a dash "-". If there is no
dash, the title will be the entire description.

.. _ext-composer-json-property-type:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "my-vendor/my-extension",
"type": "typo3-cms-extension",
"description": "An example extension",
"description": "My Extension - An example extension",
"license": "GPL-2.0-or-later",
"require": {
"php": "^8.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "my-vendor/my-extension",
"type": "typo3-cms-extension",
"description": "An example extension",
"description": "My Extension - An example extension",
"license": "GPL-2.0-or-later",
"require": {
"typo3/cms-core": "^12.4 || ^13.4"
Expand Down