library plumber
Utilities for the Monolyth unframework
monolyth/plumber
Utilities for the Monolyth unframework
- Wednesday, February 14, 2018
- by monomelodies
- Repository
- 1 Watchers
- 0 Stars
- 160 Installations
- PHP
- 1 Dependents
- 1 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 3 % Grown
Monolyth Plumber
Utilities for the Monolyth unframework, (*1)
Installation
Composer (recommended)
$ composer require monolyth/plumber
Manual
- Download or clone the repository;
- Add
/path/to/plumber/src
for namespace Monolyth\Plumber
to your PSR-4
autoloader.
Usage
Currently only 2 utilities are included: Utf8
and Proxy
. Statically call
the handle
method on the classes to utilise them., (*2)
Utf8
The Utf8::handle
method normalises PHP's UTF-8 handling., (*3)
Proxy
The Proxy::handle
method attempts to normalise the X_HTTP_FORWARDED_FOR
header so you can just use REMOTE_ADDR
everywhere. Note that not all proxies
handle this the same, so you might need to roll your own., (*4)
dev-master
9999999-dev
Utilities for the Monolyth unframework
Sources
Download
MIT
The Requires
The Development Requires
by
Marijn Ophorst
1.1.0
1.1.0.0
Utilities for the Monolyth unframework
Sources
Download
MIT
The Requires
The Development Requires
by
Marijn Ophorst
1.0.0
1.0.0.0
Utilities for the Monolyth unframework
Sources
Download
MIT
The Requires
by
Marijn Ophorst