Download the PHP package f3-factory/fatfree-psr7 without Composer
On this page you can find all versions of the php package f3-factory/fatfree-psr7. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download f3-factory/fatfree-psr7
More information about f3-factory/fatfree-psr7
Files in f3-factory/fatfree-psr7
Download f3-factory/fatfree-psr7
More information about f3-factory/fatfree-psr7
Files in f3-factory/fatfree-psr7
Vendor f3-factory
Package fatfree-psr7
Short Description A fat-free PHP8 implementation of PSR-7 and PSR-17
License MIT
Package fatfree-psr7
Short Description A fat-free PHP8 implementation of PSR-7 and PSR-17
License MIT
Please rate this library. Is it a good library?
Informations about the package fatfree-psr7
Fat-Free PSR-7 implementation
This is a lightweight PSR-7 implementation for PHP 8.0+.
Installation
Usage
The package includes a PSR-17 factory.
Use these factories according to specs to create Request, Response, Uri, Stream objects.
Tests
Run the test suite:
NB: Custom tests were mostly taken from Nyholm/psr7.
Benchmarks
Benchmarks done with devanych/psr-http-benchmark
on php 8.0+.
Checkout benchmark
branch, start docker composer, then run in container:
Run benchmarks on php 8.0+:
Test results (best of 3 on MacBook M2 Pro)
Runs: 50,000 | Guzzle | HttpSoft | Laminas | Nyholm | Slim | Fatfree |
---|---|---|---|---|---|---|
Runs per second | 14412 | 18608 | 17641 | 20549 | 14444 | 22233 |
Average time per run | 0.0694 ms | 0.0537 ms | 0.0567 ms | 0.0487 ms | 0.0692 ms | 0.0450 ms |
Total time | 3.4691 s | 2.6869 s | 2.8342 s | 2.4331 s | 3.4616 s | 2.2488 s |
All versions of fatfree-psr7 with dependencies
PHP Build Version
Package Version
The package f3-factory/fatfree-psr7 contains the following files
Loading the files please wait ....