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-10-25 02:21:10 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"}');