How to start

Clone module template and prepare it for developing

Try to install it on MikoPBX

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

Next steps

Read the article Prepare IDE and system tools before following the next instructions.

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

Last updated