Skip to content

Get Started with Bag Value Objects

Bag is a library for creating immutable value objects in PHP. It's a great way to encapsulate data within your application.

Requirements

Bag requires PHP 8.2+, and supports Laravel 10+.

Installation

To install Bag, use Composer:

bash
composer require dshafik/bag

Made with 🦁💖🏳️‍🌈 by Davey Shafik.