Code Monkey home page Code Monkey logo

wpbones's Introduction

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

wpbones's People

Contributors

gfazioli avatar manudoni avatar jacquestvanzuydam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.