graft/framework-bundle

This package is abandoned and no longer maintained. The author suggests using the graft/framework-core package instead.

Graft Framework Bundle for WordPress Plugin Development.

v1.0.9 2019-02-21 23:45 UTC

This package is auto-updated.

Last update: 2019-03-14 19:20:48 UTC


README

This bundle give you an Framework to create an WordPress Plugin with clean code.

Installation

composer require graft/framework-bundle

Run the require command in your Plugin and that's all ! you are ready to code !

Components

Plugin Class

With this class which must extends your Plugin, you can access directly to Activate/Deactivate/Uninstall events from your Plugin.

Configuration

Graft-Framework suggest you to create an config file in your Plugin where you can customize it.

AbstractController and Twig

With Graft-Framework you are able to make MVC code in your Plugin. Indeed, Graft-Framework use Twig Template Engine.

SourceFactory

The SourceFactory handle all your Controllers, no need to instantiate they.