Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Deprecations Laravel Package

doctrine/deprecations

Side-effect-free deprecation layer for PHP libs. Send E_USER_DEPRECATED notices to trigger_error or a PSR-3 logger, optionally just track them. Supports deduplication, suppression by identifier or package, and reporting counts of triggered deprecations.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables standardized deprecation handling across libraries and applications, reducing technical debt and improving upgrade paths for users
  • Strong "buy" candidate for deprecation management: avoids reinventing the wheel with custom error-handling logic while providing zero side effects by default
  • Critical for roadmap planning when introducing breaking changes: provides traceable deprecation notices with issue links for documentation and user migration guidance
  • Use case: Library maintainers can safely trigger deprecations without interfering with application-level error handlers, while consumers can configure logging, suppression, or PHPUnit validation as needed

When to Consider This Package

  • Adopt when building PHP libraries/frameworks needing consistent, safe deprecation strategies that work across diverse environments
  • Ideal for projects with multiple dependencies where deprecation tracking/suppression is required (e.g., during major version upgrades)
  • Use when integrating with PSR-3 loggers or PHPUnit for automated validation of deprecation behavior
  • Avoid if: project is a simple application with no deprecation needs, already uses a framework with built-in deprecation handling (e.g., Symfony's native system), or has minimal long-term maintenance requirements
  • Not recommended for single-file scripts or projects with no versioned breaking changes planned

How to Pitch It (Stakeholders)

  • Executives: "This package ensures seamless customer transitions during feature updates by professionally managing deprecations. It reduces support tickets from breaking changes, demonstrates technical maturity to enterprise clients, and minimizes long-term maintenance costs—leveraging a trusted MIT-licensed solution with
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation