|
1 | | -# phpBB Skeleton Extension |
| 1 | +# phpBB Skeleton Extension |
| 2 | + |
| 3 | +phpBB's Skeleton Extension is a tool for extension authors to help speed up and simplify the task of starting a new extension project. It generates sample starter files and directories in a skeleton package that you can use to begin building your extension. |
2 | 4 |
|
3 | 5 | ## Installation |
4 | 6 |
|
5 | | -To install the source code from this repository, clone this extension repository to `phpBB/ext/phpbb/skeleton`: |
| 7 | +- [Download the latest release](https://github.com/phpbb-extensions/phpbb-ext-skeleton/releases). |
| 8 | +- Unzip and install to your phpBB `ext/` folder |
| 9 | +- Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Skeleton Extension" extension. |
| 10 | + |
| 11 | +## Contributing |
| 12 | + |
| 13 | +To install the source code from this repository, clone the contents of this repository to `phpBB/ext/phpbb/skeleton`, then run Composer from the extension's directory: |
6 | 14 |
|
7 | | - $ git clone https://github.com/phpbb-extensions/phpbb-ext-skeleton.git |
8 | 15 | $ php composer.phar install |
9 | 16 |
|
10 | | -Go to "ACP" > "Customise" > "Extensions" and enable the "phpBB Skeleton Extension" extension. |
| 17 | +## Create an Extension Skeleton |
11 | 18 |
|
12 | | -## Creating an extension via web UI |
| 19 | +### Web-based user interface |
13 | 20 |
|
14 | 21 | In order to create an extension via the web UI just open your board an visit the |
15 | | -"Create skeleton extension" link at the top left: |
| 22 | +"Create skeleton extension" link in the forum's navigation bar: |
16 | 23 |
|
17 | 24 | https://localhost/phpBB/app.php/skeleton |
18 | 25 |
|
19 | | -The `.zip` is then offered as a download. Additionally it can be found at |
| 26 | +A packaged ZIP file is then offered as a download. Additionally it can be found in |
20 | 27 | `store/tmp-ext/`. |
21 | 28 |
|
22 | | -## Creating an extension via console |
| 29 | +### Command line interface |
23 | 30 |
|
24 | | -In order to create an extension, you need to open the console of your server. |
| 31 | +In order to create an extension via the CLI, you need to open the console of your server. |
25 | 32 | Then run the following command in your phpBB root (next to config.php): |
26 | 33 |
|
27 | 34 | $ ./bin/phpbbcli.php extension:create |
|
0 commit comments