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 Custom Casts Custom Cast Types for Model Attributes
icon-eye-dark Created with Sketch. 1.269
Laravel Actions Single-task Laravel Components
icon-eye-dark Created with Sketch. 806
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Lift for Laravel Take your Eloquent Models to the next Level
icon-eye-dark Created with Sketch. 1.766
Laravel In-App Purchase iOS / Android App Subscription Handling
icon-eye-dark Created with Sketch. 4.303