WordPress framework for Laravel developers
As you know, WordPress doesn't support composer. So, I have used a little trick to fix this issue.
You'll find the complete docs here.
- We recommend servers running version 7.2 or greater of PHP
$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
$ sudo apt-get update && sudo apt-get install nodejs && sudo apt-get install npm $ sudo apt-get install nodejs-legacy
$ sudo npm install --global gulp
You may start from WP Kirk repo as a boilerplate to create a WP Bones WordPress plugin.
First to all, this framework and the boilerplate plugin are inspired to Laravel framework. Also, you will find a
bones php shell executable like Laravel
After cloning the repo, you can:
$ php bones
$ php bones namespace MyPluginName
The last command is very important. You can change the namespace in anytime. However, I suggest you to make this only the first time, when the plugin is inactive.
After changing of the namespace, you can start to develop you plugin. Your namespace will be