elliot9 / e-invoice-qrcode-hash
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/elliot9/e-invoice-qrcode-hash
Requires
- php: ^7.2.5
- laravel/framework: ^7.0
This package is auto-updated.
Last update: 2025-10-29 02:37:07 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');