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 Users User Management Package
icon-eye-dark Created with Sketch. 2.104
Multiplex Attach Time-sliced Metadata to Eloquent Models
icon-eye-dark Created with Sketch. 715
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Ada Laravel Text Embedding & Querying for your Models
icon-eye-dark Created with Sketch. 914
Porter Access Control Management Package
icon-eye-dark Created with Sketch. 510