Description

Immutable Value Objects

Bag facilitates the creation of immutable value objects, offering an effective means to encapsulate data within your application. It emphasizes immutability and type safety through built‑in validation and automatic data casting.

Although framework-agnostic, Bag integrates seamlessly with Laravel by leveraging standard Laravel Collections and Validation mechanisms. Moreover, it can automatically inject Bag\Bag value objects into your controllers while applying the appropriate validation rules.


Creator

Davey Shafik

Related Projects

Laravel Artifact

Laravel Artifact

Media Management Package

Mirror

Mirror

Impersonation Package

LaravelPlus Updater

LaravelPlus Updater

Sync Laravel Projects

Laravel Credits

Laravel Credits

Credit Management System

Laravel Glider

Laravel Glider

Glide Image Manipulation in Blade Templates

Laravel Ownable

Laravel Ownable

Eloquent Ownership Relationships