zykutil / unisn
To generate customize and unique Serial Number.
1.0.2
2023-01-02 13:46 UTC
Requires
- php: ^8.0.2
- illuminate/support: ^9.0
Requires (Dev)
- illuminate/console: ^9.0
- illuminate/log: ^9.0
- mockery/mockery: ^1.4.4
- phpunit/phpunit: ^9.5.10
This package is auto-updated.
Last update: 2024-03-30 00:38:03 UTC
README
In order to create a unique serial number.There are currently six types.Included in ZYKUtil\UniSn\DPFactory\FactoryTypeEnum::class.
Install
composer require zykutil/unisn
config/app.php
providers add
ZYKUtil\UniSn\UniSnServiceProvider::class
alias add
'UniSn' => ZYKUtil\UniSn\UniSnFacade::class
Copy the package config to your local config with the publish command:
php artisan vendor:publish --tag=zykutil-unisn --ansi --force
Simply used
\UniSn::execute();