Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To improve the process of module creation the FreePBX team has built a generator that provides a basic module skeleton to start from.

Note

If this is a FreePBX development environment the module will be loaded into the development directory, usually /usr/src/freepbx

If this is a standard installation the module will be loaded into the standard module directory, usually /var/www/html/admin/modules

...

Info

For those curious, the repository is located here: https://git.freepbx.org/projects/FL/repos/freepbx-module-generator/browse

Code Block
cd /usr/src
wget https://git.freepbx.org/projects/FL/repos/freepbx-module-generator/raw/dist/freepbxgenerator.phar?at=refs%2Fheads%2Fmaster -O freepbxgenerator.phar
chmod +x freepbxgenerator.phar

...

The module has been fully installed into freepbx and is ready for development

...

image2018-2-22_19-0-43.pngImage Added

image2018-2-22_19-7-14.pngImage Added

image2018-2-22_19-9-18.pngImage Added

image2018-2-22_19-9-45.pngImage Added

You can cd to the module in the above case ariblacklist and the following structure will be in place

...