Skip to content

This library allow you to create a unic id hashed for multiples purposes

License

Notifications You must be signed in to change notification settings

locojuhi/unic-public-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unic Public id

This library provides you a method to generate a hash from a unique id based on the current time stamp in microseconds

Getting Started

Installing

Install the library

composer require locojuhi/unic-public-id

Usage

Mostly you have to declare the use statement, ussually you will need to use:

use UnicPublicId\PublicId;

then you can use the generate method as follow:

PublicId::generate([object $object = null]);
Note that the $object argument is optional!

Running the tests

Coming soon

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • *Contibutors list who participated in this project.

License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details

About

This library allow you to create a unic id hashed for multiples purposes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages