cleentfaar/decorator
Laravel/PHP decorator helper to wrap classes and add behavior without modifying the original. Provides a lightweight Decorator pattern implementation for cleaner, composable enhancements and feature extensions in your application.
1,000 vs 1000 for numbers).date('m/d/Y', $value)) across multiple templates.For Executives: "This lightweight PHP library helps us standardize how data is presented to users—like auto-formatting dates, currencies, or localized text—without mixing UI logic into our core business code. It’s a small investment to reduce bugs, speed up template development, and future-proof our multi-region support. Think of it as a ‘prettier printer’ for our app’s output."
For Engineering:
*"The decorator pattern here lets us wrap values (e.g., Carbon instances, numbers) in reusable formatters before they hit Blade/Twig. For example:
{{ $user->created_at->format('M d, Y') }} with {{ $user->created_at->decorate('date') }}.How can I help you explore Laravel packages today?