gluephp / glue
Almost a micro framework
0.1.4
2017-11-23 09:28 UTC
Requires
- php: >=5.5.0
- illuminate/container: 4.2.*
- maer/config: 1.*
- phroute/phroute: 2.1.*
- psr/log: ~1.0
- symfony/http-foundation: 3.0.*
This package is not auto-updated.
Last update: 2025-02-01 21:14:29 UTC
README
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
Installation
Use Composer:
$ composer require gluephp/glue dev-develop
Simple example
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();
More...
...info will come