PHP Classes

Beautiful PHP Unique ID Generator: Generate unique identifiers of different types

Recommend this page to a friend!
  Info   View files Documentation   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-19 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 87 All time: 9,987 This week: 673Up
Version License PHP version Categories
beautiful-id-generat 1.0The PHP License5Text processing, Data types, PHP 7
Description 

Authors

Dasun Tharanga
Hashemi Rafsan


Contributor

This package can generate unique identifiers of different types.

It provides several classes that can generate strings that can be used as identifiers for different purposes.

Currently, it can generate identifiers for invoices, orders, or users.

Picture of Hashemi Rafsan
  Performance   Level  
Name: Hashemi Rafsan <contact>
Classes: 7 packages by
Country: Bangladesh Bangladesh
Age: 28
All time rank: 382646 in Bangladesh Bangladesh
Week rank: 280 Up6 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 1x

Documentation

PHP Beautiful ID Generator

This is a unique PHP ID generator package for customizing your invoice, order, and user ID.

Installation

Use the composer to install Beautiful ID Generator.

composer require dasundev/beautiful-id-generator

Usage

//import
use Dasundev\BeautifulIdGenerator\{
    InvoiceIdGenerator,
    OrderIdGenerator,
    UserIdGenerator
};

//get invoice id
InvoiceIdGenerator::generate();

//get order id
OrderIdGenerator::generate();

//get user id
UserIdGenerator::generate("DasunDev");

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.

Buy Me A Coffee! :coffee:

If you can contribute with a donation or you want to, feel free to do it at Buy me a coffee!?, I will be really thankfull for anything even if it is a coffee or just a kind comment towards my work, because that helps me a lot. Whenever you contribute with a donation, I will read your message and it will be shown in my main site.


  Files folder image Files  
File Role Description
Files folder imagesrc (3 files)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file InvoiceIdGenerator.php Class Class source
  Plain text file OrderIdGenerator.php Class Class source
  Plain text file UserIdGenerator.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageGenerator (1 file)
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script

  Files folder image Files  /  tests  /  Generator  
File Role Description
  Plain text file GeneratorTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:87
This week:0
All time:9,987
This week:673Up