made with Laravel

Bag

Immutable Value Objects

Visit Site

Description

Immutable Value Objects

"Bag helps you create immutable value objects. It's a great way to encapsulate data within your application. It prioritizes immutability and type safety with built-in validation and data casting.

Bag is framework-agnostic, but it works great with Laravel. Bag uses standard Laravel Collections and Validation. In addition, it will automatically inject Bag\Bag value objects into your controllers with validation."


Creator

Davey Shafik


Social Media Links

Laravel Security Protection against Cross-site Scripting (XSS)
icon-eye-dark Created with Sketch. 1.387
LaraLens Inspect your Laravel Configuration
icon-eye-dark Created with Sketch. 1.307
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Altitude Claude Code Agents for the TALL Stack
icon-eye-dark Created with Sketch. 277
WeasyPrint for Laravel Wrapper for the HTML-to-PDF software WeasyPrint
icon-eye-dark Created with Sketch. 3.545