The skeleton package provides the necessary base to start developing a package for ProcessMaker Platform. Because ProcessMaker is built with Laravel, this is essentially a skeleton package for Laravel, with some modifications to ease development within the ProcessMaker Platform.
Step 1: Getting Started
Clone the Repo
git clone https://github.com/Processmaker/package-skeleton.gitSet Package Name
Change the package name (default is package skeleton) throughout the package to whatever name you would like:
cd package-skeleton
php rename-project.php string_to_replaceStep 2: Install Composer
Composer
Make sure composer and any dependencies are installed correctly:
composer update && composer installNode Modules
npm install && npm run devInstallation
In order to install your package in ProcessMaker, here are the step-by-step instructions.
Don't forget to replace the name you changes above when executing the commands below. They use the default name of
package-skeletonbut should be replaced with what you changed the name to.
Require the Package
Require the package with Composer and thereby adding it to the composer.json file as a dependency of the application:
composer require processmaker/package-skeleton --ignore-platform-reqsRun the installation command
php artisan package-skeleton:installThe installation code is located within Laravels artisan console commands. Step 3: Navigation and testingYou can find additional details about it here: Artisan Docs
Step 3: Navigation and testing
Navigate to the admin menu in your ProcessMaker Platform instance.

You should see your new menu item "Package Skeleton" or whatever you named your package, in the left sidebar.
Uninstall
It is up to the developer to add any necessary code or procedures to the install and uninstall commands. These can include adding and removing tables in the database, setting or removing API keys, etc.
Use
php artisan package-skeleton:uninstallto uninstall the package.Use
composer remove processmaker/package-skeletonto remove the package completely.