elliot9 / e-invoice-qrcode-hash
There is no license information available for the latest version (dev-master) of this package.
dev-master
2020-07-03 07:42 UTC
Requires
- php: ^7.2.5
- laravel/framework: ^7.0
This package is auto-updated.
Last update: 2025-03-29 00:48:57 UTC
README
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');