This extension has been released as a phpBB Official Tool.
It can now be downloaded from our Extensions Database.
*************************** UPDATE ***************************
I made an as-simple-as-possible Extension that uses some of the basic mechanisms in phpBB 3.1 your extension will use aswell:
- Events: for adding a link to a new page in the header and loading a language file globally
- Routes and Controllers: which display the new page
- Ext Language files: so your files are where your code is
- Ext Style files: so your style files are where your code is
- Migrations: Database changes similar to UMIL in 3.0
- ACP Module
To install it and see the demo:
- Download the .zip
- Create the folder
ext/acme/demo/next to your
- Copy the content from the .zip to the new folder
- Go to ACP > Customise > Extensions >
and enable the Acme Demo Extension extension
you will see the message "Hello nickvergessen!"
(Updated Mar 13, 2016 by VSE)
The Extension Skeleton is an extension that you install in your development phpBB board. Once installed, you can use it to generate the starter files and directories for your own extensions.
The Extension Skeleton will ask you for some basic information about the extension you want to create, such as the name, author information, requirements, and what type of components it will use (listeners, controllers, styles, template events, unit testing, etc.). It will then generate an extension package based on your needs. It will be a working “skeleton” of the Acme Demo extension, and will be ready for you to begin to edit and update with your own code.
It can be accessed via Graphic User Interface through a link in your forum’s navbar and from the Command Line Interface with the command:
$ bin/phpbbcli.php extension:create
The Extension Skeleton is a great litle tool that every extension developer should have in their toolkit. It simplifies and expedites the mundane task of starting a new extension, and ensures you have a correctly configured set of composer, PHP and style files with which to begin coding your extension.