<p align="center"><img width="200" src="https://thesugagroup.com//storage/logo_hor.svg"></p>


# Payroll Wallet Module

Payroll Wallet Module

## Requirement

- Composer 2.x
- Laravel 6.x
- PHP >= 7.2.5


## Installation

- Step 1: Copy package folder or clone this package to your Laravel app packages/w3suga folder.  
  Example: my-project/packages/w3suga/mod-payroll-wallet.
  
  
- Step 2: Add the following "repositories" key below the "scripts" section in `composer.json` file of your Laravel app:
    ```json
    {
    "repositories": [
        {
            "type": "path",
            "url": "packages/w3suga/mod-payroll-wallet"
        }
      ]
    }
    ```
  
- Step 3: You can now require your local package in the Laravel app by run the command below:
    ```
    composer require w3suga/mod-payroll-wallet
    ```

- Step 4: Publish payroll_wallet config with command:
    ```
    php artisan vendor:publish --provider=W3suga\ModPayrollWallet\ModPayrollWalletProvider
    ```
  After run this command, the `payroll_wallet.php` file will be added to your Laravel project config folder, 
  and all wallet seeder will be added to your database/seeds folder

- Step 5: Run migrate to create package tables
    ```
     php artisan migrate
    ```
  
- Step 6: Run seed to store default data to all tables
    ```
     php artisan db:seed
    ```

## Usage

  
## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

