Random Extension Polyfill for PHP
Go to file
Anton Smirnov 0179d83a08 Replace md headers with adoc 2022-09-03 01:08:42 +03:00
debug Remove todo 2022-08-17 17:10:36 +03:00
docs License 2022-09-03 01:07:35 +03:00
src Secure engine should throw RandomException too 2022-09-02 21:54:41 +03:00
tests Tests for RC1 2022-09-01 15:59:30 +03:00
.gitattributes do not export doc configs 2022-07-23 07:33:09 +03:00
.gitignore I always forget which one I use 2022-07-31 09:51:37 +03:00
.gitlab-ci.yml Test both unsigned and gmp 2022-08-31 03:45:57 +03:00
CHANGELOG.md Changelog for 1.0.0-beta1 2022-09-02 01:26:31 +03:00
COPYING.adoc Replace md headers with adoc 2022-09-03 01:08:42 +03:00
LICENSE.md Legalese 2022-07-23 05:11:35 +03:00
README.md Obsolete 2022-09-02 21:55:09 +03:00
composer.json Use stable version 2022-09-01 01:21:25 +03:00
phpcs.xml Apply code style to tests too 2022-08-31 04:26:19 +03:00
phpunit.xml.dist Test Secure 2022-07-23 08:24:38 +03:00
psalm.xml Psalm config and fixes 2022-07-23 00:14:55 +03:00

README.md

Random Extension Polyfill for PHP

PHP Packagist Gitlab pipeline status Codecov

This is a polyfill for the new ext-random extension that will be released with PHP 8.2.

RFC:

Requirements

  • PHP 7.1
  • GMP extension is strongly recommended

Installation

composer require 'arokettu/random-polyfill'

Compatibility

The library aims to be compatible with ext-random as released in PHP 8.2.0 and subsequent patch releases.

Documentation

Read full documentation here: https://sandfox.dev/php/random-polyfill.html

Also on Read the Docs: https://php-random-polyfill.readthedocs.io/

Support

Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/php-random-polyfill/-/issues

License

The library is available as open source under the terms of the 3-Clause BSD License. See COPYING.adoc for additional licenses.