Download the PHP package sectheater/marketplace without Composer
On this page you can find all versions of the php package sectheater/marketplace. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sectheater/marketplace
More information about sectheater/marketplace
Files in sectheater/marketplace
Package marketplace
Short Description The Fluent Laravel E-commerce system
License MIT
Informations about the package marketplace
the marketplace CheatSheet will be availble soon
marketplace provides you the following :
1. Product & Product Variation System
Create simple products, and complex ones using variation system by attaching the product to a specific type.
2. Coupon System
Generate , Validate , and purchase them while checkout easily.
3. Wishlist / Cart System
- CRUD the wishlist/cart easily
- get the total/subtotal of the whole cart/wishlist and optionally after sale/coupons applied.
- stock handling behind the scenes .
4. Category System
- Attach product, type of products to a category.
5. Sale System
- Setup sale for category, specific product, type of products.
6. Authorizing Users & Managing Roles.
Installation Steps
1. Require the Package
After creating your new Laravel application you can include the marketplace package with the following command:
2. Add the DB Credentials & APP_URL
Next make sure to create a new database and add your database credentials to your .env file:
You will also want to update your website URL inside of the APP_URL
variable inside the .env file:
3. Getting Your Environment Ready.
Just Run The following command.
Command Interpretation
- The command just publishes the marketplace's config, migrations,helpers and seeder.
Notice : You may need to run the autoload composer command to reload the changes.
Another Notice : Don't forget to delete the default users table migration, as marketplace ships with a default one as well.
4. Sample Usage
4.1 Creating a Product with Variation.
4.2 Filter products by criteria.
- Add custom Criterion and use it while searching.
4.3 get Cart total/subtotal.
Out of the blue, you may use a couple of methods to retrieve the total/subtotal
Suprisingly every single method you can use for a cart, you can use for a wishlist ( since we can consider it as a virtual cart )
4.4 get Cart item .
4.4 Generate Coupons.
4.5 Validate Coupons.
4.6 Deactivate Coupons.
4.7 Purchas Coupons.
4.7 Purchased Coupons.
- It releases the invalid purchased coupons automatically.
4.8 Apply Specific Coupons.
- Assuming the user has a couple of coupons, he can designate which of them that can be applied on a specific product.
For more, you can view the docs.