Packagist · packagist:paragonie/random_compat
paragonie/random_compat active
PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
| Latest stable version | 9.99.100 |
|---|---|
| Published | 2020-10-15 08:29:30+00:00 |
| Install | composer require paragonie/random_compat |
| Required PHP version (composer.json) | PHP >= 7 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 21:59:36 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2022-02-16 17:07:03 UTC · 1695 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 59 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.21 | 2022-02-16 17:07:03 UTC |
2.0.20 | 2021-04-17 09:33:01 UTC |
2.0.19 | 2020-10-15 10:06:57 UTC |
9.99.100 | 2020-10-15 08:29:30 UTC |
2.0.18 | 2019-01-03 20:59:08 UTC |
2.0.17 | 2018-07-04 16:31:37 UTC |
2.0.16 | 2018-07-04 16:14:12 UTC |
9.99.99 | 2018-07-02 15:55:56 UTC |
2.0.15 | 2018-06-08 15:26:40 UTC |
2.0.14 | 2018-06-06 17:40:22 UTC |
2.0.13 | 2018-06-06 05:04:48 UTC |
1.4.3 | 2018-04-04 21:48:54 UTC |
2.0.12 | 2018-04-04 21:24:14 UTC |
2.0.11 | 2017-09-27 21:40:39 UTC |
2.0.10 | 2017-03-13 16:27:32 UTC |
1.4.2 | 2017-03-13 16:22:52 UTC |
2.0.9 | 2017-03-03 20:43:42 UTC |
2.0.8 | 2017-03-03 14:11:40 UTC |
2.0.7 | 2017-02-27 17:11:23 UTC |
2.0.6 | 2017-02-27 17:05:44 UTC |
Showing the 20 most recent of 59 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 9.99.100 |
php 8.0 | 9.99.100 |
php 8.1 | 9.99.100 |
php 8.2 | 9.99.100 |
php 8.3 | 9.99.100 |
php 8.4 | 9.99.100 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of paragonie/random_compat?
The latest stable version of paragonie/random_compat is 9.99.100, published on 2020-10-15. Verified by Vigia on 2026-10-08.
How do I install the latest version of paragonie/random_compat?
Run composer require paragonie/random_compat. The latest stable version is 9.99.100 (verified 2026-10-08).
Is paragonie/random_compat deprecated?
No. paragonie/random_compat is not marked as deprecated in the registry.
Which PHP version does paragonie/random_compat require?
paragonie/random_compat 9.99.100 declares this requirement: PHP >= 7.
Does paragonie/random_compat 9.99.100 have known vulnerabilities?
No known advisories affect paragonie/random_compat 9.99.100 according to the data Vigia checks.
Is paragonie/random_compat still maintained?
paragonie/random_compat published 0 stable releases in the last 12 months; the most recent was 1695 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- filp/whoops
- sebastian/code-unit
- phpstan/phpstan
- phpseclib/phpseclib
- aws/aws-crt-php
- symfony/var-exporter
- jean85/pretty-package-versions
- mockery/mockery
- hamcrest/hamcrest-php
- masterminds/html5
- nunomaduro/collision
- symfony/options-resolver
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/paragonie/random_compat) [](https://vigia.coredls.cloud/packagist/paragonie/random_compat) [](https://vigia.coredls.cloud/packagist/paragonie/random_compat)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/paragonie/random_compat
GET https://vigia.coredls.cloud/v1/packages/packagist/paragonie/random_compat/versions/{version}