opus-online / yii2-app-ecom
Sample application using the yii2-ecom package
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master
2016-09-16 06:06 UTC
Requires
- php: >=5.4.0
- opus-online/yii2-ecom: ~1.0.1
- yiisoft/yii2: 2.0.0
Requires (Dev)
- opus-online/yii2-giimodel: *
- yiisoft/yii2-debug: 2.0.0
- yiisoft/yii2-gii: 2.0.0
This package is not auto-updated.
Last update: 2024-01-20 10:58:12 UTC
README
Warning: This package is not maintained any more
Sample application using yii2-ecom
The only purpose of this package is to demonstrate usage and features of the package opus-online/yii2-ecom. Examples include:
- Example database setup with products, discounts, orders, invoices, users and payment log
- ActiveRecord models implementing Order and Product functionality
- Full order lifecycle (list → basket → order → payments → invoices)
- UI components to list all AR objects (plus shopping basket contents)
Installation
You need an environment running PHP 5.4+ and an empty database.
php composer.phar create-project opus-online/yii2-app-ecom ecom --stability=dev --prefer-dist
cd ecom
- Run
./yii init
and follow the instructions on the screen to set up the database - Open
<directory>/web
in your web browser
See the documentation for opus-online/yii2-ecom
for more.
Database schema
This is the database schema used by the application. Active Record models have been generated using opus-online/yii2-advmodel.