2017 © Pedro Peláez
 

library pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

image

reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  • Thursday, October 19, 2017
  • by reliv
  • Repository
  • 5 Watchers
  • 2 Stars
  • 1,247 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 36 Versions
  • 3 % Grown

The README.md

Pipe Rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library that uses Zend\Stragility Middleware at its core., (*1)

@todo Docs

  • There is a name collision happening when pre and|or post service options have the same name I.E.: responseHeaders in this example, looses the postServiceOptions values in the 'findById', (*2)

    'xxx' => [
        'controllerServiceName' => 'Reliv\PipeRat\Middleware\ResourceController\DoctrineResourceController',
        'controllerServiceOptions' => [
            'entity' => null,
        ],
        'methods' => [
            'findById' => [
                'postServiceNames' => [
                    'extractor' => 'Reliv\PipeRat\Middleware\Extractor\PropertyGetterExtractor',
                    'responseHeaders' => 'Reliv\PipeRat\Middleware\Header\AddResponseHeaders',
                ],
                'postServiceOptions' => [
                     'responseHeaders' => [
                          'headers' => [
                              'My' => 'header'
                          ]
                      ]
                ],
            ],
        ],
        'preServiceOptions' => [
        ],
        'preServicePriority' => [
            // 'JsonRequestFormat' => 1000,
        ],
        'postServiceNames' => [
            'responseHeaders' => 'Reliv\PipeRat\Middleware\Header\AddResponseHeaders',
            'JsonResponseFormat' => 'Reliv\PipeRat\Middleware\ResponseFormat\JsonResponseFormat',
            'XmlResponseFormat' => 'Reliv\PipeRat\Middleware\ResponseFormat\XmlResponseFormat',
            'DefaultResponseFormat' => 'Reliv\PipeRat\Middleware\ResponseFormat\JsonResponseFormat',
        ],
        'postServiceOptions' => [
            'DefaultResponseFormat' => [
                'accepts' => [
                    '*/*'
                ],
            ],
        ],
    ]
    

The Versions

19/10 2017

dev-master

9999999-dev https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

18/09 2017

0.5.1

0.5.1.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

16/09 2017

0.5.0

0.5.0.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

15/09 2017

0.4.1

0.4.1.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

07/01 2017

0.4.0

0.4.0.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

06/01 2017

0.3.12

0.3.12.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

05/01 2017

0.3.11

0.3.11.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

22/12 2016

0.3.10

0.3.10.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

22/12 2016

0.3.9

0.3.9.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

07/12 2016

0.3.8

0.3.8.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

05/12 2016

0.3.7

0.3.7.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

16/11 2016

0.3.6

0.3.6.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

16/11 2016

0.3.5

0.3.5.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

15/11 2016

0.3.4

0.3.4.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

08/11 2016

0.3.3

0.3.3.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

01/11 2016

0.3.2

0.3.2.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

28/10 2016

0.3.1

0.3.1.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

28/10 2016

0.3.0

0.3.0.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

29/09 2016

0.2.8

0.2.8.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

10/08 2016

0.2.7

0.2.7.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

25/07 2016

0.2.6

0.2.6.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

25/07 2016

0.2.5

0.2.5.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

19/07 2016

0.2.4

0.2.4.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

13/06 2016

0.2.3

0.2.3.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

08/06 2016

0.2.2

0.2.2.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

16/05 2016

0.2.1

0.2.1.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

12/05 2016

0.2.0

0.2.0.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

10/05 2016

0.1.4

0.1.4.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

10/05 2016

0.1.3

0.1.3.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

10/05 2016

0.1.1

0.1.1.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api middleware rest module reliv

09/05 2016

0.1.0

0.1.0.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

api middleware rest module reliv

04/05 2016

0.0.4

0.0.4.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

api middleware rest module reliv

03/05 2016

0.0.3

0.0.3.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

api middleware rest module reliv

29/04 2016

0.0.2

0.0.2.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

api middleware rest module reliv

28/04 2016

0.0.1

0.0.1.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

api middleware rest module reliv

28/04 2016

0.0.0

0.0.0.0 https://github.com/reliv/pipe-rat

Create REST APIs with just a few lines of config. This PSR7 compliant PHP library uses Zend\Stragility Middleware at its core.

  Sources   Download

BSD-3-Clause

The Requires

 

api middleware rest module reliv