cosmira/envelope
Cosmira Envelope is a lightweight Laravel/PHP package for working with structured data envelopes. It provides a clean, expressive API to define, validate, and transform payloads, keeping application data consistent and easy to manage across services and responses.
illuminate/collections ^11.0 || ^12.0). That means the package now declares compatibility with both Laravel 11 and 12, so adopting it does not pin the platform team to an older framework during a Laravel 12 migration — and conversely, if we are still on Laravel 10, this package is not for us.Consider it when:
Look elsewhere when:
For executives: This is an early-stage open-source Laravel component (version 0.0.1). The new release does one useful thing — it confirms the package runs on both Laravel 11 and Laravel 12 — and shows the maintainers are keeping their dependencies current. It does not yet justify a production commitment. Recommendation: fund a short, time-boxed engineering spike (days, not weeks) against a non-critical use case, and revisit once the project reaches a 1.0 release or we have concrete evidence of production use elsewhere. Cost of trying is low; cost of being wrong on a critical path is not.
For engineering: Treat 0.0.1 as "compatible with Laravel 11 and 12, otherwise unchanged." The two shipped changes are a widened illuminate/collections constraint and a bump of stefanzweifel/git-auto-commit-action from v5 to v6 — no new features, no deprecations, no breaking changes relative to any prior tag. Before we adopt: read the source, confirm the actual capability and its failure modes, check test coverage and issue responsiveness, and confirm the licence is acceptable. Pin the exact version and isolate it behind an interface we control, so replacing it with first-party code later is a contained change rather than a refactor.
How can I help you explore Laravel packages today?