Vigia

Packagist · packagist:webmozart/assert

webmozart/assert active

Assertions to validate method input/output with nice error messages.

The latest stable version of webmozart/assert is 2.5.1, published on 2026-11-15. Verified by Vigia on 2026-11-27.

Latest stable version2.5.1
Published2026-11-15 13:41:13+00:00
Installcomposer require webmozart/assert
Required PHP version (composer.json)PHP ^8.2
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-27 00:40:10 UTC
Sourcesapi.osv.dev, repo.packagist.org

Ask your AI assistant to check this

AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:

Before answering about the packagist package "webmozart/assert", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/packagist/webmozart/assert . For my whole project use https://vigia.coredls.cloud/context

Check my whole package.json

Using an AI coding agent every day? Connect Vigia once and it checks this by itself.

Maintenance

Activityactive
Last stable release2026-11-15 13:41:13 UTC · 11 days ago
Stable releases in the last 12 months14
Published versions33

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

Version history

VersionPublished
2.5.12026-11-15 13:41:13 UTC
2.5.02026-10-05 23:14:19 UTC
2.4.12026-06-15 15:31:57 UTC
2.4.02026-05-20 13:07:01 UTC
2.3.02026-04-11 10:33:05 UTC
2.2.02026-04-09 16:54:47 UTC
2.1.62026-02-27 10:28:38 UTC
2.1.52026-02-18 14:09:36 UTC
2.1.42026-02-17 12:17:51 UTC
2.1.32026-02-13 21:01:40 UTC
2.1.22026-01-13 14:02:24 UTC
2.1.12026-01-08 11:28:40 UTC
2.1.02026-01-07 17:29:08 UTC
2.0.02025-12-16 21:36:00 UTC
1.12.12025-10-29 15:56:20 UTC
1.12.02025-10-20 12:43:39 UTC
1.11.02022-06-03 18:03:27 UTC
1.10.02021-03-09 10:59:23 UTC
1.9.12020-07-08 17:02:28 UTC
1.9.02020-06-16 10:16:42 UTC

Showing the 20 most recent of 31 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.12.1
php 8.01.12.1
php 8.11.12.1
php 8.22.5.1
php 8.32.5.1
php 8.42.5.1

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 webmozart/assert?

The latest stable version of webmozart/assert is 2.5.1, published on 2026-11-15. Verified by Vigia on 2026-11-27.

How do I install the latest version of webmozart/assert?

Run composer require webmozart/assert. The latest stable version is 2.5.1 (verified 2026-11-27).

Is webmozart/assert deprecated?

No. webmozart/assert is not marked as deprecated in the registry.

Which PHP version does webmozart/assert require?

webmozart/assert 2.5.1 declares this requirement: PHP ^8.2.

Does webmozart/assert 2.5.1 have known vulnerabilities?

No known advisories affect webmozart/assert 2.5.1 according to the data Vigia checks.

Is webmozart/assert still maintained?

webmozart/assert published 14 stable releases in the last 12 months; the most recent was 11 days ago. Activity: active.

Observed changes

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

For agents

GET https://vigia.coredls.cloud/v1/packages/packagist/webmozart/assert
GET https://vigia.coredls.cloud/v1/packages/packagist/webmozart/assert/versions/{version}