This package is still in development. I would suggest to wait until there's at least one tagged release.
Glue is really just, as the name suggests, the glue between some awesome 3rd party packages. It's built to be extendable and only comes with the most basic features out of the box, like:
- IoC Container - illuminate/container
- Router - mrjgreen/phroute
- Request - symfony/http-foundation
- Response - symfony/http-foundation
- Sessions - symfony/http-foundation
- Config - maer/config
Use Composer:
$ composer require gluephp/glue dev-develop
It basically works like any other micro framework:
<?php
// Include Composers autoloader
include 'path/to/vendor/autoload.php';
// Initialize the app
$app = new Glue\App;
// Create a route
$app->router->get('/', function() {
return 'Hello World';
});
// Run the app
$app->run();
...info will come