HermanPeeren / boilerplate

Boilerplate files for Joomla! extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://blog.astrid-guenther.de/der-weg-zu-joomlae4-erweiterungen/

Boilerplate and Tutorial Sample Files

Boilerplate files for Joomla! 4 extensions.

Tutorial Sample Files

You can find the Tutorial Sample Files in the folder Tutorial :)

Installation

A installable zip file of the last version you can find in the release tab. So you do not need to clone this repo.

The boilerplates are in the folder src. They can be installed as-is using the Extension Manager. However, the component, module and plugin will be called Foo :)

The easiest way is to copy

  • the files in administrator folder in the administrator folder of your Joomla installation.
  • the files in components folder in the components folder of your Joomla installation.
  • the files in media folder in the media folder of your Joomla installation.
  • the files in modules folder in the modules folder of your Joomla installation.
  • the files in plugins folder in the plugins folder of your Joomla installation.

Then you can run discover this extension via Joomla System Installer.

To create installable zip packages, you need to run composer i and and after that vendor/bin/robo build and in the dist folder it is ready to be installed.

Customizing

To customize the boilerplates using your own name you need to take the following steps:

  1. Do a case-sensitive replace on the following strings and replace them with your own name:

    • foo
    • Foo
    • FOO
  2. Do a case-sensitive replace on the following tags with their actual information:

    • [DATE]
    • [PROJECT_NAME]
    • [AUTHOR]
    • [AUTHOR_EMAIL]
    • [AUTHOR_URL]
    • [COPYRIGHT]
    • [PACKAGE_NAME]

    If you like, you use this skript for it: https://github.com/astridx/boilerplate/blob/t43/duplicate.sh

Support and new functions

This Joomla! extension is a simple feature. But it is very likely that your requirements are already covered or require very little customisation.

If you have more complex requirements, need new features or just need some support, I am open to paid customisation and support around this Joomla! extension.

Contact me and we'll work it out!

About

Boilerplate files for Joomla! extensions

License:GNU General Public License v2.0


Languages

Language:PHP 91.4%Language:CSS 3.7%Language:JavaScript 3.2%Language:SCSS 1.7%Language:Shell 0.1%Language:Hack 0.0%Language:HTML 0.0%