misaf/vendra-cart

Temporary shopping selections for Vendra applications

Maintainers

Package info

github.com/misaf/vendra-cart

Type:vendra-module

pkg:composer/misaf/vendra-cart

Transparency log

Statistics

Installs: 1

Dependents: 2

Suggesters: 0

Stars: 1

Open Issues: 0

v1.10.0 2026-08-01 01:25 UTC

This package is auto-updated.

Last update: 2026-08-01 01:28:47 UTC


README

Tenant-aware carts for Vendra applications, with guest UUID tokens, optional polymorphic owners, polymorphic sellables, quantities, metadata, expiration, Filament administration, permissions, and demo-content seeding.

Features

  • Guest carts identified by UUID tokens
  • Optional polymorphic owners and polymorphic sellable items
  • Quantity, metadata, and expiration tracking
  • Tenant-aware Filament administration and permission seeding
  • Scheduled pruning of expired carts

Requirements

  • PHP 8.3+
  • Laravel 13
  • Filament 5
  • misaf/vendra-support

Installation

composer require misaf/vendra-cart
php artisan vendor:publish --tag=vendra-cart-migrations
php artisan migrate

Optionally publish the configuration and translations:

php artisan vendor:publish --tag=vendra-cart-config
php artisan vendor:publish --tag=vendra-cart-translations

The Filament resource is registered in the shared Sales cluster on the configured panels. Cart creation and mutation remain application concerns; the administration UI is limited to viewing and deletion.

Expired carts are pruned daily by default. Change the schedule in the published configuration or run php artisan vendra-cart:prune-expired manually.

Testing

Run the package checks from the package directory:

composer test
composer analyse

License

MIT. See LICENSE.