Skip to content

Commit 458804e

Browse files
mkiebeleKiebele
andauthored
Description on how to create own extension (#528)
* [TASK] Description on how to create own extension * [TASK] Remove backticks --------- Co-authored-by: Kiebele <[email protected]>
1 parent 2a490bf commit 458804e

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
.. include:: /Includes.rst.txt
2+
3+
.. _create-own-extension:
4+
5+
=========================
6+
Create your own extension
7+
=========================
8+
9+
In TYPO3, extensions allow you to expand the system’s functionality by
10+
adding new features and customizing behavior according to your project's needs.
11+
12+
Prerequisites
13+
=============
14+
15+
* A working :ref:`TYPO3 installation <t3start:installation-ddev-tutorial>`
16+
using Composer.
17+
* Familiarity with Composer
18+
* Basic knowledge of PHP and TYPO3 development concepts
19+
* CLI access to your TYPO3 instance
20+
21+
.. _why-create-extension:
22+
23+
Why create an extension?
24+
========================
25+
26+
Creating an extension allows you to:
27+
28+
* Add custom features and modules to TYPO3
29+
* Share functionality across multiple TYPO3 instances
30+
31+
32+
.. _how-to-create-extension:
33+
34+
How to start developing an extension
35+
====================================
36+
37+
Developing an extension involves several steps, from setting up the extension
38+
structure to implementing your custom functionality.
39+
To guide you through this process, TYPO3 provides a detailed tutorial on
40+
extension development.
41+
42+
Please refer to this :ref:`link <t3coreapi:extension-tutorials>` for
43+
comprehensive, step-by-step instructions on how to create an extension.
44+
45+
46+
.. _basic-steps:
47+
48+
Basic steps to create an extension
49+
==================================
50+
51+
* Define the purpose of your extension.
52+
53+
Determine what specific functionality or feature you want to add to TYPO3
54+
55+
* Create the extension skeleton
56+
57+
Set up the basic structure for your extension.
58+
59+
* Implement the desired features
60+
61+
Add the necessary PHP classes, TypoScript configuration and templates
62+
that will bring your extension's functionality to life.
63+
64+
* Register the extension in TYPO3
65+
66+
Register your extension so TYPO3 can recognize it. This includes adding it
67+
to your instance's configuration.
68+
69+
* Test and refine
70+
71+
Test your extension to ensure it works as expected and make any needed
72+
adjustments.

Documentation/Extensions/Index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Working With Extensions
2828
TYPO3 backend and the TYPO3 Extension Repository (TER) without Composer.
2929
This method of managing extensions is now deprecated.
3030

31+
.. card:: :ref:`Create your own extension <create-own-extension>`
32+
33+
This guide contains information on how to create your own extension.
34+
3135

3236
.. toctree::
3337
:hidden:
@@ -36,3 +40,4 @@ Working With Extensions
3640
Management
3741
Installing Local Extensions <https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/Extensions/Management.html#installing-local-extensions>
3842
LegacyManagement
43+
CreateOwnExtension

0 commit comments

Comments
 (0)