thienhungho/yii2-warehouse-management
Composer 安装命令:
composer require thienhungho/yii2-warehouse-management
包简介
Yii2 Warehouse Management
README 文档
README
Warehouse Management System for Yii2
Installation
This is just an example, memorible moment. The source code may not work for known reasons. This source code include against loss license feature.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist thienhungho/yii2-warehouse-management "*"
or add
"thienhungho/yii2-warehouse-management": "*"
to the require section of your composer.json file.
Config
Add module WarehouseManage to your AppConfig file.
... 'modules' => [ ... /** * Supplier Manage */ 'supplier-manage' => [ 'class' => 'thienhungho\SupplierManagement\modules\SupplierManage\SupplierManageModules', ], /** * Supplier Manage */ 'employee-manage' => [ 'class' => 'thienhungho\EmployeeManagement\modules\EmployeeManage\EmployeeManageModules', ], /** * Supplier Manage */ 'warehouse-manage' => [ 'class' => 'thienhungho\WarehouseManagement\modules\WarehouseManage\WarehouseManageModule', ], /** * Supplier Manage */ 'warehouse-voucher-manage' => [ 'class' => 'thienhungho\WarehouseManagement\modules\WarehouseVoucherManage\WarehouseVoucherManageModules', ], ... ], ...
Migration
Run the following command in Terminal for database migration:
yii migrate/up --migrationPath=@vendor/thienhungho/yii2-warehouse-management/migrations
Or use the namespaced migration (requires at least Yii 2.0.10):
// Add namespace to console config: 'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationNamespaces' => [ 'thienhungho\WarehouseManagement\migrations\namespaced', ], ], ],
Then run:
yii migrate/up
Modules
WarehouseBase, WarehouseManage, WarehouseVoucherManage,
Functions
Constant
Models
Warehouse, WarehouseProduct, WarehouseVoucher, WarehouseVoucherItems
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-11-13