PHP code example of thienhungho / yii2-warehouse-management

1. Go to this page and download the library: Download thienhungho/yii2-warehouse-management library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

thienhungho / yii2-warehouse-management example snippets


...
'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',
        ],
    ...
],
...

// Add namespace to console config:
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationNamespaces' => [
            'thienhungho\WarehouseManagement\migrations\namespaced',
        ],
    ],
],

php composer.phar