Download the PHP package wp-launchpad/launchpad without Composer
On this page you can find all versions of the php package wp-launchpad/launchpad. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wp-launchpad/launchpad
More information about wp-launchpad/launchpad
Files in wp-launchpad/launchpad
Package launchpad
Short Description Framework to create a modern PHP plugin in no time
License GPL-2.0-or-later
Informations about the package launchpad
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:
initialize
: Initialize the project.subscriber
: Generate a subscriber file and attach it to the project.provider
: Generate a service provider file and attach it to the project.test
: Generate a test file.fixture
: Generate a fixture file and attach it to the project.build
: Generate an optimized artifact for the plugin.
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 |