keiwen/cacofony
Cacofony is a Laravel/PHP package by keiwen that offers a small, focused set of utilities for common development tasks. It is easy to install and configure, making it suitable for lightweight integrations. Visit the repository for full documentation and usage examples.
RestrictToRole and TemplateParameter are the surviving, still-useful surface. If our product does not actually use them, this dependency is not earning its keep and should be reconsidered at the next architecture review.Adopt (or upgrade to 6.0.0) when:
RestrictToRole (declarative access control at the controller layer) and/or TemplateParameter (passing controller data into templates without boilerplate). These are the two features that survived and represent the package's remaining reason to exist.Look elsewhere — or defer — when:
To executives: this is a maintenance release — it keeps a dependency supported and aligned with Symfony 6, and it retires three features that Symfony now provides natively. There is no new customer-facing capability and no new revenue lever. The relevant number is the upgrade cost: an engineering effort to migrate controller configuration from annotations to attributes and to remove reliance on three deleted features. Approving it protects us from running an unsupported dependency; deferring it is a legitimate option only if we accept a defined end-of-support risk and put a date on the migration. The decision we want from you is a scheduling one, not a strategic one.
To engineering: treat this as a code-touching migration, not a version bump. Three things to plan: (1) convert RestrictToRole and TemplateParameter usage from annotations to attributes — that is the bulk of the work and it scales with the number of annotated controllers; (2) audit for and remove any use of param fetcher, single-method routes, and the package's Conflict/Locked exception classes, replacing the exceptions with Symfony's native equivalents; (3) confirm the Symfony 6 baseline holds across all environments and CI before merging. The upside is a smaller dependency surface, better static analysis and IDE support on attribute-based configuration, and one fewer place where our HTTP error semantics are defined. Recommend we scope the annotation audit first — that gives us a real effort estimate before we commit a date.
How can I help you explore Laravel packages today?