2017 © Pedro Peláez
 

library remote-port-middleware

PSR-7 Middleware that determines the client remote port and stores it as an ServerRequest attribute

image

luisinder/remote-port-middleware

PSR-7 Middleware that determines the client remote port and stores it as an ServerRequest attribute

  • Tuesday, December 13, 2016
  • by luisinder
  • Repository
  • 1 Watchers
  • 1 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 80 % Grown

The README.md

Client IP address middleware

Latest Stable Version Total Downloads, (*1)

PSR-7 Middleware that determines the client remote port and stores it as an ServerRequest attribute called remotePort., (*2)

Installation

composer require luisinder/remote-port-middleware, (*3)

Usage

In Slim 3:, (*4)

$app->add(new Luisinder\Middleware\RemotePort());

$app->get('/', function ($request, $response, $args) {
    $remotePort = $request->getAttribute('remotePort');

    return $response;
});

The Versions

13/12 2016

dev-master

9999999-dev https://github.com/luisinder/remote-port-middleware

PSR-7 Middleware that determines the client remote port and stores it as an ServerRequest attribute

  Sources   Download

BSD-3-Clause

The Requires

 

middleware psr7 port

28/09 2016

1.0.1

1.0.1.0 https://github.com/luisinder/remote-port-middleware

PSR-7 Middleware that determines the client remote port and stores it as an ServerRequest attribute

  Sources   Download

BSD-3-Clause

The Requires

 

middleware psr7 port

28/09 2016

1.0

1.0.0.0 https://github.com/luisinder/remote-port-middleware

PSR-7 Middleware that determines the client remote port and stores it as an ServerRequest attribute

  Sources   Download

BSD-3-Clause

The Requires

 

middleware psr7 port