Best laravel framework open-source packages.

Php env bench

Benchmarking env loaders/parsers for PHP.
Updated 10 months ago

adhocore/env-bench

Benchmarking env loaders/parsers for PHP.

Candidates: adhocore/env, vlucas/dotenv, symfony/dotenv.

Usage

git clone git@github.com/adhocore/env-bench.git

cd env-bench

composer install -o

vendor/bin/phpbench run src --report aggregate

Preview

Property Value
Machine XPS9360
RAM 16G
Processor i7 7550U
SSD 512G
OS Ubuntu18.04 WSL
PHP 7.2.7
PHP Ext Opcache+Xdebug

Bench Preview

Travis Preview

Travis Bench Preview

Caveat

Retrieving has not been benchmarked because none of the other except adhocore/env provide a factory way of retrieval. And this definitely is not benchmark for native getenv()!

Tags env php