ubick/glue

Glue - lightweight PHP framework based on Symfony components

dev-master 2013-12-19 10:32 UTC

This package is not auto-updated.

Last update: 2024-04-22 11:42:47 UTC


README

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();

Installation

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"
    }
}

License

Glue is licensed under the MIT license.