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-04-25 01:06:29 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"}');