Vigia

Packagist · packagist:spatie/macroable

spatie/macroable active

A trait to dynamically add methods to a class

Latest stable version2.1.0
Published2026-01-30 17:13:34+00:00
Installcomposer require spatie/macroable
Required PHP version (composer.json)PHP ^8.3
LicenseMIT
Advisories on latest versionnone known
Last verified2026-10-08 15:00:41 UTC
Sourcesapi.osv.dev, repo.packagist.org

Maintenance

Activityslowing down
Last stable release2026-01-30 17:13:34 UTC · 251 days ago
Stable releases in the last 12 months1
Published versions5

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

Version history

VersionPublished
2.1.02026-01-30 17:13:34 UTC
2.0.02021-03-26 22:39:02 UTC
1.0.12020-11-03 10:15:05 UTC
1.0.02017-09-18 09:51:20 UTC
0.0.12017-09-17 19:00:47 UTC

Showing the 5 most recent of 5 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.0.1
php 8.02.0.0
php 8.12.0.0
php 8.22.0.0
php 8.32.1.0
php 8.42.1.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 spatie/macroable?

The latest stable version of spatie/macroable is 2.1.0, published on 2026-01-30. Verified by Vigia on 2026-10-08.

How do I install the latest version of spatie/macroable?

Run composer require spatie/macroable. The latest stable version is 2.1.0 (verified 2026-10-08).

Is spatie/macroable deprecated?

No. spatie/macroable is not marked as deprecated in the registry.

Which PHP version does spatie/macroable require?

spatie/macroable 2.1.0 declares this requirement: PHP ^8.3.

Does spatie/macroable 2.1.0 have known vulnerabilities?

No known advisories affect spatie/macroable 2.1.0 according to the data Vigia checks.

Is spatie/macroable still maintained?

spatie/macroable published 1 stable releases in the last 12 months; the most recent was 251 days ago. Activity: slowing down.

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

For agents

GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/macroable
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/macroable/versions/{version}