psg/sr1-implementation

A fast PHP7 implementation of SR-1

0.3 2021-07-24 19:03 UTC

This package is auto-updated.

Last update: 2024-11-25 02:30:08 UTC


README

A implementation of SR-1 using Nyholm's implementation of PSR 7 as the base.

composer require psg/sr1-implementation
$Factory = new \Psg\Sr1\Implementation\Factory;
$request = $Factory->createRequest('GET', 'http://tnyholm.se');
$request = $request->withBodyString('{"name":"bob"}');