mrnewport / laravel-stow
This unofficial laravel package allows for the addition of any model to an instancable "Cart", "Quote" or other "Basket".
Requires
- php: ^8.2
- illuminate/database: ^12.0 || ^13.0
- illuminate/events: ^12.0 || ^13.0
- illuminate/support: ^12.0 || ^13.0
Requires (Dev)
- mockery/mockery: ^1.6
- orchestra/testbench: ^10.0 || ^11.0
- pestphp/pest: ^3.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-07 03:28:05 UTC
README
Eloquent and browser baskets for saved membership, integer quantities and options. Native database and browser storage backends are independent; the host owns ownership, concurrency, pricing and checkout.
Interactive workshop — Try guided examples in your browser.
composer require mrnewport/laravel-stow:^2.1
If your Composer registry has not indexed the GitHub tag, add its VCS source and repeat the requirement:
composer config repositories.laravel-stow vcs https://github.com/MrNewport/laravel-stow composer require mrnewport/laravel-stow:^2.1
Set stow.morph_key_type before the first migration when subjects use UUID/ULID keys, then run php artisan migrate. The browser module needs no database. See the handbook for both complete quickstarts.
Start with the handbook for fresh Laravel 12/13 installation and the complete feature/operational guide. The feature index links every public API, return contract, failure mode and executable reference. The recipes show serious standalone and optional cross-package application use.
Laravel's own PHP runtime requirements apply. Package dependency constraints and current test coverage are described in the handbook. Run composer test in a development checkout; optional browser/renderer checks are documented with their requirements. Installing this package does not automatically integrate another package or authorize application records.