Packagist · packagist:paragonie/sodium_compat
paragonie/sodium_compat active
Pure PHP implementation of libsodium; uses the PHP extension if it exists
| Latest stable version | 2.5.2 |
|---|---|
| Published | 2026-08-18 23:46:48+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-10-08 15:00:08 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-08-18 23:46:48 UTC · 51 days ago |
| Stable releases in the last 12 months | 6 |
| Published versions | 85 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
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 |
1.20.0 | 2023-04-30 00:54:53 UTC |
1.19.0 | 2022-09-26 03:40:35 UTC |
Showing the 20 most recent of 85 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.24.2 |
php 8.0 | 1.24.2 |
php 8.1 | 2.5.2 |
php 8.2 | 2.5.2 |
php 8.3 | 2.5.2 |
php 8.4 | 2.5.2 |
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.5.2, published on 2026-08-18. Verified by Vigia on 2026-10-08.
How do I install the latest version of paragonie/sodium_compat?
Run composer require paragonie/sodium_compat. The latest stable version is 2.5.2 (verified 2026-10-08).
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.5.2 declares this requirement: PHP ^8.1.
Does paragonie/sodium_compat 2.5.2 have known vulnerabilities?
No known advisories affect paragonie/sodium_compat 2.5.2 according to the data Vigia checks.
Is paragonie/sodium_compat still maintained?
paragonie/sodium_compat published 6 stable releases in the last 12 months; the most recent was 51 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- league/oauth2-client
- doctrine/common
- symfony/web-profiler-bundle
- mobiledetect/mobiledetectlib
- laravel/passport
- anourvalar/eloquent-serialize
- giggsey/locale
- symfony/polyfill-php72
- barryvdh/reflection-docblock
- clue/redis-react
- barryvdh/laravel-ide-helper
- clue/redis-protocol
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}