akufen/orchestra

A minimalist object-oriented superset for WordPress using Phalcon.

v0.1.4 2016-09-20 14:22 UTC

README

Build Status Latest Version

Orchestra is a minimalist object-oriented superset that uses Phalcon as a framework to bootstrap WordPress with an MVC environment and Object-Relational Mapping.

Installation

Orchestra can be installed inside your theme with Composer using this command:

composer require akufen/orchestra v0.1.5

Usage

To bootstrap Orchestra, add this to your functions.php file.

// Bootstrap Orchestra
require __DIR__ . '/vendor/autoload.php';
add_action('wp', function() {
    $app = new \Akufen\Orchestra\Application();
    $app->handle();
});

This allows Orchestra to take over WordPress thus making it much faster and object-oriented. Application can be instantiated outside the action in order to register project specific services.

Resources

  • Access the API indice here.
  • Documentation on how to use the library can be found in the wiki.
  • Module skeleton can be found here

License

Please see the license file for more information.