MikoPBX development
  • MikoPBX development guide
  • Prepare IDE and system tools
    • Windows
    • Linux
    • Mac
  • Modules developement
    • How to start
    • Data model
    • Module installer class
    • Module main class
    • Module interface
    • Translations(empty)
    • Debuging
      • Configuring IDE
      • Debug PHP-AGI
      • Debug PHP Worker
      • Debug PHP Script
      • Debugging behind NAT
  • Internal structure
  • Admin interface(empty)
  • API
    • REST API
    • AMI / AJAM
    • AGI
  • Core(empty)
  • Marketplace
    • Licensing (empty)
  • Cookbook
    • Forms
      • Create module form
      • Create datatable
      • Add field into existing form
    • Asterisk
      • Hook on incoming call
      • Interact with AMI
      • Modify extensions.conf
    • Rights and auth
      • External authentication
      • Limited rights
Powered by GitBook
On this page
  • Try to install it on MikoPBX
  • Next steps

Was this helpful?

Edit on GitHub
  1. Modules developement

How to start

Clone module template and prepare it for developing

PreviousMacNextData model

Last updated 3 years ago

Was this helpful?

Try to install it on MikoPBX

Now you can create a zip archive and install your new module on the MikoPBX server.

Next steps

You should load the mikopbx/core package and dependent libraries it helps to resolve references between MikoPBX class names.

cd ~/PhpstormProjects/ModuleCalbackFromWebsite
composer install

Next, you can create a git repository for a new module and commit all new code.

git init
echo "vendor/" > .gitignore
git add .
git commit -m 'initial commit'

If you have a remote git repository you can push your module into it.

git remote add origin <url>
git push -u origin master

Read the article before following the next instructions.

Prepare IDE and system tools