tipoff / checkout
Laravel Package for Ecommerce Checkouts
Fund package maintenance!
tipoff
Requires
- php: ^7.4|^8.0
- tipoff/authorization: ^2.8.6
- tipoff/locations: ^2.12.0
- tipoff/statuses: ^2.2.0
- tipoff/support: ^2.1.5
Requires (Dev)
- tipoff/test-support: ^2.0.1
- dev-main
- 2.8.0
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.1
- 2.0.0
- 1.1.1
- 1.1.0
- 1.0.0
- dev-mwi/feature/2-test-coverage-update-in-cart-service
- dev-omnia/feature/bump_dependencies
- dev-mwi/feature/2-test-coverage-is-item-trait
- dev-dima-mwi/tests/#2-improved-test-coverage
- dev-dima-mwi/tests/+2-improved-test-coverage
- dev-omnia/feature/100-Update-User-Permissions
- dev-dima-mwi/tests/2-test-coverage-order-model
This package is auto-updated.
Last update: 2024-11-20 21:34:13 UTC
README
Installation
You can install the package via composer:
composer require tipoff/checkout
The migrations will run from the package. You can extend the Models from the package if you need additional classes or functions added to them.
You can publish the config file with:
php artisan vendor:publish --provider="Tipoff\Checkout\CheckoutServiceProvider" --tag="checkout-config"
Registering the Nova resources
If you would like to use the Nova resources included with this package, you need to register it manually in your NovaServiceProvider
in the boot
method.
Nova::resources([ \Tipoff\Checkout\Nova\Order::class, ]);
Models
We include the following models:
List of Models
- Cart
- Cart Item
- Order
- Order Item
For each of these models, this package implements an authorization policy that extends the roles and permissions approach of the tipoff/authorization package. The policies for each model in this package are registered through the package and do not need to be registered manually.
The models also have Laravel Nova resources in this package and they are also registered through the package and do not need to be registered manually.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.