axelspringer / wp-bootstrap
A simple pluggable framework for WordPress plugins
Installs: 1 740
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 2
Open Issues: 0
Language:CSS
Type:wordpress-plugin
Requires
- composer/installers: ~1.0.6
This package is auto-updated.
Last update: 2024-10-29 05:10:46 UTC
README
A simple pluggable framework for WordPress plugins.
Getting Started
We provide an OOP for WordPress plugins. There are classes to construct settings pages, bootstrap code and general setup. They are found in the AxelSpringer\WP\Bootstrap
namespace.
You can use the plugin and the bootstrap classes via
composer require axelspringer/wp-bootstrap:dev-master
You do not have to necessarily enable the plugin to use the bootstrap code. But there is global shared helper $wp_bootstrap
which provides many cool things.
Development
We use Docker Compose to provide a local development environment across projects. The WordPress listen at localhost:8181. The progress is saved in docker volumes.
# Run
docker-compose up