Download the PHP package bozboz/ecommerce without Composer
On this page you can find all versions of the php package bozboz/ecommerce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bozboz/ecommerce
More information about bozboz/ecommerce
Files in bozboz/ecommerce
Package ecommerce
Short Description Shop/payment functionality for Bozboz sites
License
Informations about the package ecommerce
Ecommerce package
Installation
- Require the package in Composer, by running
composer require bozboz/ecommerce
-
Add to the providers array in config/app.php
Bozboz\Ecommerce\Providers\EcommerceServiceProvider::class,
- Run
php artisan vendor:publish && php artisan migrate
- Edit
config/ecommerce.php
Usage
CartController
The cart route is set in config under 'ecommerce.cart.route'. This will set up the following routes, prefixed with the configured cart route:
For more information regarding cart usage see bozboz/orders
#TODO: The CartController should probably be in bozboz/orders since that's where all the models are.
Other Packages
The idea behind having these all split up in to separate packages is that they could be used in isolation though that idea has not yet been properly explored and there's a good chance that they wouldn't function in any useful/meaningful way on their own.
Each package has its own readme so follow the links above to read up on how to use them.
All versions of ecommerce with dependencies
bozboz/products Version 1.0.0
bozboz/orders Version 1.0.2
bozboz/checkout Version ~2
bozboz/payment Version 1.0.0
bozboz/shipping Version 1.0.2