adscomltd/larapack_cart_items

Add support for cart items

v0.0.3 2021-10-19 16:22 UTC

This package is auto-updated.

Last update: 2024-10-22 18:38:11 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require adscomltd/larapack_cart_items

Setup

  1. Publish routes
$ php artisan vendor:publish --provider="Adscom\LarapackCartItems\LarapackCartItemsServiceProvider" --tag="config"
  1. Register routes from service providers
  2. Extend CartService class and add singleton binding for instance
    Example:
$this->app->singleton(CartService::class, UserCartService::class);

Usage

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email aamatevosyan@edu.hse.ru instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.