PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-19 (7 months ago) RSS 2.0 feedNot enough user ratingsTotal: 88 All time: 9,978 This week: 39Up
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: 382746 in Bangladesh Bangladesh
Week rank: 163 Up2 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 (8)  
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 (8)  /  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 (8)  /  tests  
File Role Description
Files folder imageGenerator (1 file)
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:88
This week:0
All time:9,978
This week:39Up