Slim Framework for PHP 5 - Extras
Slim is a micro PHP 5 framework that helps you quickly write simple yet powerful RESTful web applications.
This repository contains supplemental files for the Slim Framework, such as custom views and plugins. I created this repository to keep the primary Slim Framework repository as light-weight as possible.
This repository contains custom View classes for the template frameworks listed below. To use any of these custom View classes,
require the appropriate class in your Slim Framework bootstrap file and initialize your Slim application using an instance of the selected View class (see example below).
To learn how to write your own custom View class, visit the Slim Framework documentation.
How to use a custom View
<?php //Require the Slim Framework require_once 'Slim/Slim.php'; //Require the custom View require_once 'SmartyView.php'; //Init Slim app with the custom View $app = new Slim(array( 'view' => new SmartyView() )); //Implement the rest of your application //... ?>
About the Author
Slim is in active development, and test coverage is continually improving.
Open Source License
The Slim Framework for PHP 5 and the additional resources in this repository are released under the MIT public license.