Vigia

Packagist · packagist:paragonie/sodium_compat

paragonie/sodium_compat active

Pure PHP implementation of libsodium; uses the PHP extension if it exists

Latest stable version2.5.2
Published2026-08-18 23:46:48+00:00
Installcomposer require paragonie/sodium_compat
Required PHP version (composer.json)PHP ^8.1
LicenseISC
Advisories on latest versionnone known
Last verified2026-10-08 15:00:08 UTC
Sourcesapi.osv.dev, repo.packagist.org

Maintenance

Activityactive
Last stable release2026-08-18 23:46:48 UTC · 51 days ago
Stable releases in the last 12 months6
Published versions85

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
2.5.22026-08-18 23:46:48 UTC
1.24.22026-08-18 23:44:07 UTC
1.24.12026-08-18 15:39:56 UTC
2.5.12026-08-18 15:39:41 UTC
1.24.02025-12-30 16:16:35 UTC
2.5.02025-12-30 16:12:18 UTC
1.23.02025-10-06 08:53:07 UTC
2.4.02025-10-06 08:47:40 UTC
2.3.12025-09-30 15:08:52 UTC
1.22.02025-09-30 07:32:14 UTC
2.3.02025-09-30 07:27:45 UTC
2.2.02025-09-21 18:27:14 UTC
1.21.22025-09-19 16:14:19 UTC
2.1.02024-09-04 12:51:01 UTC
2.0.12024-04-24 12:06:31 UTC
1.21.12024-04-22 22:05:04 UTC
1.21.02024-04-19 09:18:28 UTC
1.20.12024-04-05 21:00:10 UTC
1.20.02023-04-30 00:54:53 UTC
1.19.02022-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).

RuntimeNewest compatible version
php 7.41.24.2
php 8.01.24.2
php 8.12.5.2
php 8.22.5.2
php 8.32.5.2
php 8.42.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

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/packagist/paragonie/sodium_compat/version.svg)](https://vigia.coredls.cloud/packagist/paragonie/sodium_compat)
[![maintained](https://vigia.coredls.cloud/badge/packagist/paragonie/sodium_compat/maintained.svg)](https://vigia.coredls.cloud/packagist/paragonie/sodium_compat)
[![status](https://vigia.coredls.cloud/badge/packagist/paragonie/sodium_compat/status.svg)](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}