|
| 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. |
0 commit comments