psg/sr1-implementation

A fast PHP7 implementation of SR-1

Maintainers

Package info

github.com/PHP-SG/sr-1-implementation

Homepage

pkg:composer/psg/sr1-implementation

Fund package maintenance!

nyholm

Zegnat

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.3 2021-07-24 19:03 UTC

This package is auto-updated.

Last update: 2026-02-25 05:14:20 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"}');