misaf / vendra-cart-api
JSON:API services for the Vendra Cart module
v1.6.0
2026-07-22 21:54 UTC
Requires
- php: ^8.3
- illuminate/support: ^13.0
- misaf/vendra-api: v1.6.0
- misaf/vendra-cart: v1.6.0
- spatie/laravel-package-tools: ^1.93.1
Requires (Dev)
- fakerphp/faker: ^1.24.1
- larastan/larastan: ^3.10.0
- laravel-json-api/testing: ^3.2
- laravel/boost: ^2.4.12
- laravel/pint: ^1.29.3
- misaf/vendra-testing: v1.6.0
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.9.4
- orchestra/testbench: ^11.1
- pestphp/pest: ^4.7.5
- pestphp/pest-plugin-arch: ^4.0.2
- pestphp/pest-plugin-laravel: ^4.1
- pestphp/pest-plugin-profanity: ^4.2.1
- pestphp/pest-plugin-type-coverage: ^4.0.4
- phpstan/extension-installer: ^1.4.3
README
Read-only JSON:API resources for tenant-scoped Vendra carts.
Installation
composer require misaf/vendra-cart-api
The package registers /v1/carts and exposes cart items only through the
/v1/carts/{cart}/items relationship. Standalone cart-item endpoints are not
registered, ensuring item queries inherit the cart's tenant scope.
Testing
composer test
composer analyse
License
MIT. See LICENSE.