iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://github.com/rahat1994/WPBones
GitHub - rahat1994/WPBones: WordPress framework for Laravel developers
Skip to content

rahat1994/WPBones

 
 

Repository files navigation

WP Bones Logo

Latest Stable Version Total Downloads License Monthly Downloads

WP Bones is a framework for WordPress written with composer. You can use WPKirk repo as a boilerplate to create a plugin.

As you know, WordPress doesn't support composer. So, I have used a little trick to fix this issue.

Documentation

You'll find the complete docs here.

Requirement

  • We recommend servers running version 7.2 or greater of PHP

Composer

$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

Nodes

$ sudo apt-get update && sudo apt-get install nodejs && sudo apt-get install npm
$ sudo apt-get install nodejs-legacy

Gulp

$ sudo npm install --global gulp

Boilerplate

You may start from WPKirk repo as a boilerplate to create a WP Bones WordPress plugin.

I love Laravel

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 artisan. After cloning the repo, you can:

Display help

$ php bones

Change namespace

$ php bones install

The last command is very important. You can change either the plugin name or 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 MyPluginName.

You will find further detail in the Official WP Bones Documentation

About

WordPress framework for Laravel developers

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%