This is a lightweight MVC Abstraction Layer on top of Wordpress; SlimVC is not a Framework that wrapps the Wordpress API like Themosis does, it is a set of tools that lets you configure your Wordpress application's custom post types, taxonomies, image-sizes, sidebars, menus, page-templates and custom routes.
You will write better, maintainable and extensible code by using the MVC paradigm.
- no more PHP / HTML string concatenation
- no
archive-{$post-type}.php
and other templates - No more mixing data-aggregation, business-logic and template code.
The Docs have their own repository here.
- MVC Layer
- Unit Testing (PHPUnit)
- Twig templating engine
- Configuration engine
- Routing engine
- PHP 5.3
- Wordpress ~3.8
- clone this repository into your
themes/
folder. - install composer (https://getcomposer.org/download/)
- run
composer install
insidethemes/<your-theme>/app/
directory.
The SlimVC is released under the MIT public license.