wp-kit
is a micro RAD
(Rapid Application Development) solution for Wordpress
.
Download Composer and install using these commands
You need to be using at least PhP 7.4, make sure it's installed, and make sure Composer is using the correct PhP binary:
php -v
composer -vvv about
Both should refer to a version >= PhP 7.4 if your local environment is setup correctly.
cd /path/to/wp-content/themes
composer create-project wp-kit/theme theme --prefer-dist
cd theme
npm i
npm run build
If you are looking for an RAD
for Wordpress you may have come across Themosis Framework
and Assely
.
wp-kit/theme
is very much like these frameworks but has limited features; the benefit of using wp-kit/theme
instead of themosis/theme
and assely/assely
is that you do not need to install any respective plugin framework as all the work in done in the theme and imported via Composer
.
You should use Themosis
or Assely
is you require any handling of following:
- Routes
- Middleware
- Authentication
- Metaboxes
- Custom Fields
If you do not need these features then wp-kit/theme
could be for you as it comes packaged with several Themosis
and Assely
features such as:
- ServiceProvider Config
- PostType Registration
- Taxonomy Registration
- Invoke Controllers on Conditions
- View Handling
wp-kit/theme
also comes with further features such as:
- Shortcode Registration
- Shortcode View Handling
- Twig (not in Assely)
To learn more about how to use wp-kit
check out the docs:
Any help is appreciated. The project is open-source and we encourage you to participate. You can contribute to the project in multiple ways by:
- Reporting a bug issue
- Suggesting features
- Sending a pull request with code fix or feature
- Following the project on GitHub
- Sharing the project around your community
For details about contributing to the framework, please check the contribution guide.
Wordpress 5+
PHP 7.4+
Composer
If you discover a security vulnerability within WP Kit, please send an e-mail to [email protected] or raise an issue on this repo. All security vulnerabilities will be promptly addressed.
wp-kit/theme is open-sourced software licensed under the MIT License.