Download the PHP package madewithlove/glue without Composer
On this page you can find all versions of the php package madewithlove/glue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madewithlove/glue
More information about madewithlove/glue
Files in madewithlove/glue
Package glue
Short Description Glue is a package to quickly bootstrap packages-based applications
License MIT
Homepage http://madewithlove.github.io/glue
Informations about the package glue
Glue
What's Glue?
Glue is an adhesive substance used for sticking objects or materials together ( ͡° ͜ʖ ͡°)
Glue is also an helper package made to quickly bootstrap packages-based applications. At its core it's just a container and a quick PSR7 setup, on top of which are glued together service providers and middlewares.
This is not a microframework (in the sense that it doesn't frame your work). If this is what you're looking for I recommend instead using Silex, Slim or whatever you want. On the contrary, Glue is as its name indicates just a bit of glue to tie existing packages and middlewares together. It doesn't assume much, it won't get in your way, it's just a way to tie stuff together.
What does it look like
To be concise, Glue turns a common setup such as the following (container + router + PSR7):
Into this:
In order to be truly flexible, Glue accepts any PSR11 compatible container, and register its services through the service-provider standard.
As you can see Glue serves two purposes: eliminating recurring boilerplate in binding packages together, and providing service providers for common packages such as league/route
.
It is configurable and flexible, it won't get in your way, it's just here to help you not type the same things over and over again.
What's in the box
Glue provides several service providers out of the box:
-
Routing
- Base routing system with
league/route
- PSR7 stack with
zendframework/zend-diactoros
- View engine with
twig/twig
- Facultative base controller
- Base routing system with
-
Business
- Database handling with
illuminate/database
- Migrations with
robmorgan/phinx
- Command bus with
league/tactician
- Database handling with
- Development
- Dotenv files with
vlucas/phpdotenv
- Logs handling with
monolog/monolog
- Debugbar with
maximebf/debugbar
- Small CLI with
symfony/console
- Filesystem with
league/flysystem
- REPL with
psy/psysh
- Dotenv files with
Any of these can be overidden or removed; this package doesn't enforce any structure or the use of any dependency in particular.
Why? Because I do a lot of very small web applications, for myself or public ones, and I was tired of going through the same routine for the hundreth time. Then I thought others might have the same use case and here we are.
Install
Usage
See the documentation for more informations.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Maxime Fabre
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of glue with dependencies
acclimate/container Version ^1.0
franzl/whoops-middleware Version ^0.2.0
illuminate/database Version ^5.1
league/container Version ^2.0.3
league/factory-muffin Version ^2.1
league/flysystem Version ^1.0
league/route Version 2.0.0-RC1
league/tactician Version ^0.6.1
madewithlove/definitions Version 1.0.x@dev
maximebf/debugbar Version ^1.10
mnapoli/assembly Version ^0.2.0
monolog/monolog Version ^1.17
oscarotero/psr7-middlewares Version ^3.8
psy/psysh Version ^0.6.1
relay/relay Version ^1.0
robmorgan/phinx Version ^0.5.0
symfony/console Version ^2.8
twig/twig Version ^1.23
vlucas/phpdotenv Version ^2.1
willdurand/negotiation Version ^2.0
zendframework/zend-diactoros Version ^1.2