Skip to content

Elliot9/EInvoiceQRcodeHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Install

  composer require elliot9/e-invoice-qrcode-hash

Configuration

add all of the following classes to your config/app.php service providers list.

  Elliot9\EInvoiceQRcodeHash\EInvoiceQRcodeHashServiceProvider::class

and add this below the aliases

  'QRcodeHash' => Elliot9\EInvoiceQRcodeHash\QRHashFacade::class

Publish the storage configuration file

  php artisan vendor:publish --provider="Elliot9\EInvoiceQRcodeHash\EInvoiceQRcodeHashServiceProvider" --tag="config"

Set Your Hash Key in config. (電子發票QRcode HashSeed 32碼)

    //EIN.php
    'HASH_KEY' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

Usage

    //傳入發票號碼(10碼) & 發票隨機碼(4碼)
    $AES = QRcodeHash::AES('AB00000001','1234');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages