Packagist · packagist:paragonie/sodium_compat
paragonie/sodium_compat active
Pure PHP implementation of libsodium; uses the PHP extension if it exists
The latest stable version of paragonie/sodium_compat is 2.6.0, published on 2026-11-20. Verified by Vigia on 2026-11-26.
| Latest stable version | 2.6.0 |
|---|---|
| Published | 2026-11-20 07:37:02+00:00 |
| Install | composer require paragonie/sodium_compat |
| Required PHP version (composer.json) | PHP ^8.1 |
| License | ISC |
| Advisories on latest version | none known |
| Last verified | 2026-11-26 15:02:32 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-20 08:01:16 UTC · 6 days ago |
| Stable releases in the last 12 months | 8 |
| Published versions | 87 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.25.0 | 2026-11-20 08:01:16 UTC |
2.6.0 | 2026-11-20 07:37:02 UTC |
2.5.2 | 2026-08-18 23:46:48 UTC |
1.24.2 | 2026-08-18 23:44:07 UTC |
1.24.1 | 2026-08-18 15:39:56 UTC |
2.5.1 | 2026-08-18 15:39:41 UTC |
1.24.0 | 2025-12-30 16:16:35 UTC |
2.5.0 | 2025-12-30 16:12:18 UTC |
1.23.0 | 2025-10-06 08:53:07 UTC |
2.4.0 | 2025-10-06 08:47:40 UTC |
2.3.1 | 2025-09-30 15:08:52 UTC |
1.22.0 | 2025-09-30 07:32:14 UTC |
2.3.0 | 2025-09-30 07:27:45 UTC |
2.2.0 | 2025-09-21 18:27:14 UTC |
1.21.2 | 2025-09-19 16:14:19 UTC |
2.1.0 | 2024-09-04 12:51:01 UTC |
2.0.1 | 2024-04-24 12:06:31 UTC |
1.21.1 | 2024-04-22 22:05:04 UTC |
1.21.0 | 2024-04-19 09:18:28 UTC |
1.20.1 | 2024-04-05 21:00:10 UTC |
Showing the 20 most recent of 87 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 | 1.25.0 |
php 8.0 | 1.25.0 |
php 8.1 | 2.6.0 |
php 8.2 | 2.6.0 |
php 8.3 | 2.6.0 |
php 8.4 | 2.6.0 |
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/sodium_compat?
The latest stable version of paragonie/sodium_compat is 2.6.0, published on 2026-11-20. Verified by Vigia on 2026-11-26.
How do I install the latest version of paragonie/sodium_compat?
Run composer require paragonie/sodium_compat. The latest stable version is 2.6.0 (verified 2026-11-26).
Is paragonie/sodium_compat deprecated?
No. paragonie/sodium_compat is not marked as deprecated in the registry.
Which PHP version does paragonie/sodium_compat require?
paragonie/sodium_compat 2.6.0 declares this requirement: PHP ^8.1.
Does paragonie/sodium_compat 2.6.0 have known vulnerabilities?
No known advisories affect paragonie/sodium_compat 2.6.0 according to the data Vigia checks.
Is paragonie/sodium_compat still maintained?
paragonie/sodium_compat published 8 stable releases in the last 12 months; the most recent was 6 days ago. Activity: active.
Observed changes
- Fri Nov 20 2026 15:02:16 GM +0000 (Coordinated Universal Time) — released 2.5.2 → 2.6.0
Related packages
- twilio/sdk
- setasign/fpdf
- google/cloud-storage
- composer/spdx-licenses
- phpstan/phpstan-strict-rules
- laminas/laminas-code
- symfony/polyfill-php72
- symfony/form
- barryvdh/reflection-docblock
- fig/http-message-util
- php-debugbar/php-debugbar
- web-token/jwt-library
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/sodium_compat) [](https://vigia.coredls.cloud/packagist/paragonie/sodium_compat) [](https://vigia.coredls.cloud/packagist/paragonie/sodium_compat)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/paragonie/sodium_compat
GET https://vigia.coredls.cloud/v1/packages/packagist/paragonie/sodium_compat/versions/{version}