From 66d724e99a638304c78afd888fa9dd98b97d3f9c Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 23 Jun 2022 22:29:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20basic=20TYPO3=20extension=20b?= =?UTF-8?q?oilerplate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Basic directories and ext_emconf.php configuration. Everything else seems to be not strictly necessary. Closes #2 --- Classes/Controller/.gitkeep | 0 Classes/Domain/Model/.gitkeep | 0 Classes/Domain/Repository/.gitkeep | 0 Configuration/TCA/.gitkeep | 0 README.org | 2 +- Resources/Private/Language/.gitkeep | 0 Resources/Private/Layouts/.gitkeep | 0 Resources/Private/Partials/.gitkeep | 0 Resources/Private/Templates/.gitkeep | 0 Resources/Public/Css/.gitkeep | 0 Resources/Public/Icons/.gitkeep | 0 Resources/Public/Js/.gitkeep | 0 ext_emconf.php | 24 ++++++++++++++++++++++++ 13 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Classes/Controller/.gitkeep create mode 100644 Classes/Domain/Model/.gitkeep create mode 100644 Classes/Domain/Repository/.gitkeep create mode 100644 Configuration/TCA/.gitkeep create mode 100644 Resources/Private/Language/.gitkeep create mode 100644 Resources/Private/Layouts/.gitkeep create mode 100644 Resources/Private/Partials/.gitkeep create mode 100644 Resources/Private/Templates/.gitkeep create mode 100644 Resources/Public/Css/.gitkeep create mode 100644 Resources/Public/Icons/.gitkeep create mode 100644 Resources/Public/Js/.gitkeep create mode 100644 ext_emconf.php diff --git a/Classes/Controller/.gitkeep b/Classes/Controller/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Classes/Domain/Model/.gitkeep b/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Classes/Domain/Repository/.gitkeep b/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Configuration/TCA/.gitkeep b/Configuration/TCA/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/README.org b/README.org index 22382f4..85cc449 100644 --- a/README.org +++ b/README.org @@ -3,7 +3,7 @@ [[https://ddev.readthedocs.io/][DDEV-Local]] is a tool for setting up local PHP development environments within few minutes using Docker. It includes specific support for various PHP platforms including [[https://typo3.org][TYPO3]]. -While it is quite simple to use, it requires a little bit of initial setup for new or existing projects. This boilerplate repository contains an example configuration for a DDEV-Local TYPO3 setup. As with everything else there is more than one way to do it and of course you do not need to follow this configuration (exactly). Please be aware that this repository *only* includes the configuration for DDEV but *not* the boilerplate for a TYPO3 extension. It is necessary to add the therefore required configuration yourself. So this repository may be more used as a reference point then as a clone-and-start-coding setup. +While it is quite simple to use, it requires a little bit of initial setup for new or existing projects. This boilerplate repository contains an example configuration for a DDEV-Local TYPO3 setup. As with everything else there is more than one way to do it and of course you do not need to follow this configuration (exactly). Please be aware that this repository *only* includes a very basic boilerplate for a TYPO3 extension. It is perhaps necessary to add some configuration yourself. * How to use it diff --git a/Resources/Private/Language/.gitkeep b/Resources/Private/Language/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Resources/Private/Layouts/.gitkeep b/Resources/Private/Layouts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Resources/Private/Partials/.gitkeep b/Resources/Private/Partials/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Resources/Private/Templates/.gitkeep b/Resources/Private/Templates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Resources/Public/Css/.gitkeep b/Resources/Public/Css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Resources/Public/Icons/.gitkeep b/Resources/Public/Icons/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Resources/Public/Js/.gitkeep b/Resources/Public/Js/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/ext_emconf.php b/ext_emconf.php new file mode 100644 index 0000000..a5454cf --- /dev/null +++ b/ext_emconf.php @@ -0,0 +1,24 @@ + 'TYPO3 DDEV-Local Boilerplate', + 'description' => 'Boilerplate TYPO3-Extension for working with DDEV Local.', + 'category' => 'example', + 'author' => 'Marcel Kapfer' + 'author_company' => '', + 'author_email' => 'opensource@mmk2410.org', + 'state' => 'test', + 'clearCacheOnLoad' => true, + 'version' => '11.0.0', + 'constraints' => [ + 'depends' => [ + 'typo3' => '11.0.0-11.99.99', + ] + ], + 'autoload' => [ + 'psr-4' => [ + 'MMK2410\\TYPO3DDEVLocalBoilerplate\\' => 'Classes' + ] + ], +];