Files
FOSSBilling/src/bb-modules/Example
2021-10-08 21:47:18 +03:00
..
2021-10-08 21:47:18 +03:00
2021-08-30 19:20:13 -07:00
2021-10-08 21:47:18 +03:00
2014-11-03 09:00:47 +02:00
2020-07-21 01:07:06 +02:00
2014-11-03 09:00:47 +02:00
2014-11-03 09:00:47 +02:00
2021-10-08 21:47:18 +03:00
2021-08-30 19:20:13 -07:00

Example module README file

This module provides a starting point for the developers on creating their BoxBilling module.

Explore the files and comments in the code to understand the structure of the module better. See the social links on our website if you need further information.

In general, we use modules to extend the functionality of BoxBilling.

All modules can communicate with the other modules using their API endpoints.

Technical requirements about modules

Required

  • API folder has to contain a manifest.json file to describe itself. The module engine will look for this file to find information about your extension.

Optional

  • README.md - file for installation and getting started instructions
  • html_admin folder - for admin area templates, to store custom *.phtml files
  • html_client folder - for client area templates, to store custom *.phtml files
Controller folder
  • Admin.php - if the module has install/uninstall instructions or an admin area interface
  • Client.php - if the module has a client area interface
Api folder
  • Admin.php - Administrator API, only authorized administrators will be able to call these endpoints.
  • Client.php - Client API, only logged in clients will be able to call these endpoints.
  • Guest.php - Guest API, no authorization is needed for these endpoints. Don't provide confidential data over these endpoints. Anybody over the internet will be able to access these information, including bots.

Tips

We recommend hosting your extensions on a public GitHub repository.