Glue is an easy to use PHP 5.3 framework heavily inspired from Silex and Symfony2.
Its extremly lightweight nature allows for Rapid Application Development using industry standard components and best practices.
<?php
require_once __DIR__.'/../vendor/autoload.php';
$app = new Glue\Application();
// specify a config directory
$app->loadConfig(__DIR__ . '/app/config');
// specify a routing Yaml file
$app->loadRoutes(__DIR__ . '/app/config/routing.yml');
// load the twig templating engine
$app->register(new Glue\Provider\TwigProvider());
$app->run();The recommended way to install Glue is through
composer. Just create a composer.json file and
run the php composer.phar install command to install it:
{
"require": {
"ubick/glue": "dev-master"
}
}
Glue is licensed under the MIT license.