A great way to kickstart a new WordPress plugin or project.
Built and tested for PHP 5.6.20
through 7.2.0
.
Get more information on the Wiki →
This release introduces a new concept that introduces mobility of things you build. It separates out services (think of these as features) and components (think of these as reusable things services use to do things) into services/
and components/
.
The idea is that a service or a component (really just a folder of files) can have it's own classes, Javascripts, CSS, etc and each can move to other wpkickstart frameworks by moving their folder into the other one with minor code changes for it to work.
This should make the things you build in wpkickstart easily re-usable in other projects built on wpkickstart.
wp
CLI replacements, see wp kickstart build
after you activate wpkickstart to set it up for your specific projectwp
based install, see Installationnew Anything()
it will automatically autoload class-anything.php
no matter where you put it)2.0.0
is somewhat backwards compatible with later versions, but you may have to group your classes that used to be in includes/
with a component or a service.
This minor release fixes a major issue with $app
being in the global space and conflicts with other plugins using the same architecture. #5
This is based off of some of 1.0's uses in different projects and has been improved to be more stable!
App::version()
and App::header()
methods for easy access to version and header information.pot
file creation, etcApp->wp-debug
for easy WP_DEBUG
detectionApp::attach()
method to attach new classes (must add manually)App::hooks()
method to run hooks when WP is ready (must add manually)app()
callback and global $app
that can alternatively be called using global $app
phpunit
testing for a good starting point for how the framework should work, you should be able to add additional tests with easeThis came directly from a breakdown of the WDS SSO plugin that used my app framework. It does not work perfectly and has issues that could be problematic, so please use a future version.