symfony/deprecation-contracts
Provides the global trigger_deprecation() helper to emit standardized, silenced deprecation notices with package name and version. Works with custom error handlers (e.g., Symfony ErrorHandler) to catch and log deprecations in dev and production.
Executives: "This package ensures smooth transitions for our customers by clearly signaling deprecated features in advance, reducing unexpected breakages and support costs. It’s a proven, zero-overhead solution that maintains trust in our product’s stability during upgrades."
Engineering: "A single, dependency-free function to standardize deprecation notices across our codebase. Integrates seamlessly with existing error handlers to log usage in prod, enabling proactive cleanup of legacy code. Minimal implementation effort with immediate visibility into deprecated feature usage."
How can I help you explore Laravel packages today?