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 Validate Collection of Validation Rules
icon-eye-dark Created with Sketch. 1.654
Localizator Generate Language Files for Translations
icon-eye-dark Created with Sketch. 1.217
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Eloquent Filter Filter Data of Models by Query String
icon-eye-dark Created with Sketch. 2.330
Laravel Fluent A Fluent Way to Define Model Attributes
icon-eye-dark Created with Sketch. 810