adscomltd / larapack_cart_items
Add support for cart items
v0.0.3
2021-10-19 16:22 UTC
Requires
- illuminate/support: ~7|~8
Requires (Dev)
- orchestra/testbench: ~5|~6
- phpunit/phpunit: ~9.0
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2024-10-22 18:38:11 UTC
README
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
- Publish routes
$ php artisan vendor:publish --provider="Adscom\LarapackCartItems\LarapackCartItemsServiceProvider" --tag="config"
- Register routes from service providers
- 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.