PHPackages                             madewithlove/glue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. madewithlove/glue

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

madewithlove/glue
=================

Glue is a package to quickly bootstrap packages-based applications

0.3.0(10y ago)7713[2 issues](https://github.com/madewithlove/glue/issues)MITPHPPHP &gt;=5.6.0

Since Dec 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/madewithlove/glue)[ Packagist](https://packagist.org/packages/madewithlove/glue)[ Docs](http://madewithlove.github.io/glue)[ RSS](/packages/madewithlove-glue/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelog (1)Dependencies (25)Versions (6)Used By (0)

Glue
====

[](#glue)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1b88e97177a14f7f2d78cddf2f8c115f8073c0bedce0bb5c93b7c3a836368b14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616465776974686c6f76652f676c75652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/madewithlove/glue)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/e3b63e51161b95152abcbbf38a81b63019a4b7b9b5598dc8f9d5533eded354a5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d616465776974686c6f76652f676c75652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/madewithlove/glue)[![Coverage Status](https://camo.githubusercontent.com/2ad5446b8f8710debd2df1422edc19fd5466b986c78f55fe450b1bd7824702c7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6d616465776974686c6f76652f676c75652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/madewithlove/glue/code-structure)[![Quality Score](https://camo.githubusercontent.com/06d146a7a69a55aa506ced8a51bc61b12e5ee4683b271f8c87d2ddc684d1b0a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d616465776974686c6f76652f676c75652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/madewithlove/glue)[![Total Downloads](https://camo.githubusercontent.com/e2a0693e007850602b63d42541e81f182bc19942aede3b0cc5a43779aa48df48/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d616465776974686c6f76652f676c75652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/madewithlove/glue)

[![](https://camo.githubusercontent.com/65080d0b03a2c9c1eb7d3bcdcd8130c410063675302d3deb0c5d8dc19becc073/687474703a2f2f692e696d6775722e636f6d2f336f4f305557642e706e67)](https://camo.githubusercontent.com/65080d0b03a2c9c1eb7d3bcdcd8130c410063675302d3deb0c5d8dc19becc073/687474703a2f2f692e696d6775722e636f6d2f336f4f305557642e706e67)

What's Glue?
------------

[](#whats-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](http://silex.sensiolabs.org), [Slim](http://www.slimframework.com) 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

[](#what-does-it-look-like)

To be concise, Glue turns a common setup such as the following (container + router + PSR7):

```
