lookyman / entropy
This package is abandoned and no longer maintained.
No replacement package was suggested.
Entropy provider library for PHP
v1.0.0
2015-12-21 12:20 UTC
Requires
- php: >=5.5
- ext-openssl: *
- nette/di: ^2.3
Requires (Dev)
- nette/robot-loader: ^2.3
- phpunit/phpunit: ^4.8
- satooshi/php-coveralls: dev-master
This package is auto-updated.
Last update: 2022-02-01 12:53:36 UTC
README
Requirements
lookyman/Entropy requires PHP 5.5 or higher.
Installation
$ composer require lookyman/entropy
You can enable the extension using your neon config:
extensions: entropy: lookyman\Entropy\DI\EntropyExtension
Usage
This extension provides you with the service lookyman\Entropy\Provider\IEntropyProvider
, that you can inject into your application.
// $this->provider in an instance of lookyman\Entropy\Provider\IEntropyProvider var_dump($this->provider->getRandomPseudoBytes(8));