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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata