wp-launchpad / launchpad

Launchpad is a framework for WordPress plugin that allows you to create a modern PHP plugin in no time.
https://wp-launchpad.gitbook.io/launchpad/
GNU General Public License v2.0
20 stars 0 forks source link
framework launchpad plugin wordpress

Launchpad

Launchpad is a framework for WordPress plugin that allows you to create a modern PHP plugin in no time.

Install

You create a new project with the following command composer create-project wp-launchpad/launchpad my-plugin. Then you will have to run the script bin/generator to generate the project.

Class generator

This framework comes with a class generator that will make you save ton of time while developing new classes to use it you can run the following command bin/generator initialize.

With this commandline the following command are available:

Testing

This framework offers an architecture that makes testing your code simple and time efficient.

For every test you will be able to fast generate new test cases with the fixtures. You will be also able to mock unit tests quickly using Mockery and Brain Monkey. Finally, the subscriber architecture will make it easier for you to create integration tests for your code.

Modules

Multiple modules are available to allow faster development on specific tasks:

Module Description
Action scheduler Handle asynchronous code or code to execute later
BerlinDB A simple Database library
Logger A PSR-3 compatible logger
Uninstaller Set actions to be done on uninstall
Filesystem Interact with the filesystem
Front-end Create a front-end with Bud.js for your plug-in
Hook extractor Extract hooks from your plugin into a yaml file