zykutil/unisn

To generate customize and unique Serial Number.

Maintainers

Details

github.com/zyk0615/unisn

Source

Issues

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/zykutil/unisn

1.0.2 2023-01-02 13:46 UTC

This package is auto-updated.

Last update: 2025-09-29 03:06:31 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();