PHPackages                             get-things-done/id-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. get-things-done/id-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

get-things-done/id-generator
============================

v1.0.1(5y ago)015MITPHPPHP ^7.4|^8.0

Since Jan 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/get-things-done/id-generator)[ Packagist](https://packagist.org/packages/get-things-done/id-generator)[ Docs](https://github.com/get-things-done/id-generator)[ GitHub Sponsors](https://github.com/get-things-done)[ RSS](/packages/get-things-done-id-generator/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/002100895eb9b8b965cfbaee2d98f6a9bf8c88e03ed43d963b1ebbfa431ccd5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6765742d7468696e67732d646f6e652f69642d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/get-things-done/id-generator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/1c4956941c39448b37c08eee1c1c35220929687fd011ee9cb027bbf943f9e53f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6765742d7468696e67732d646f6e652f69642d67656e657261746f722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/get-things-done/id-generator/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/db506697307fdd52363c9efd785a104d4c72107e94e3b9f1310cc8aa80e442e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6765742d7468696e67732d646f6e652f69642d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/get-things-done/id-generator)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require get-things-done/id-generator
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="GetThingsDone\IdGenerator\IdGeneratorServiceProvider" --tag="migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="GetThingsDone\IdGenerator\IdGeneratorServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
IdGenerator::make($model->getTable(),11,'CTM'.date('ym'),'code')->generate()
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Cao Minh Duc](https://github.com/CaoMinhDuc)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

2

Last Release

1950d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be1d3d1ffe18b3b967fbbbb892345da3f3d882e55471bba53780fcfc2ad890bd?d=identicon)[cao-minh-duc](/maintainers/cao-minh-duc)

---

Top Contributors

[![cao-minh-duc](https://avatars.githubusercontent.com/u/17726941?v=4)](https://github.com/cao-minh-duc "cao-minh-duc (5 commits)")

---

Tags

id-generatorget-things-done

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/get-things-done-id-generator/health.svg)

```
[![Health](https://phpackages.com/badges/get-things-done-id-generator/health.svg)](https://phpackages.com/packages/get-things-done-id-generator)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[tonysm/rich-text-laravel

Integrates Trix content with Laravel

46577.8k1](/packages/tonysm-rich-text-laravel)[illuminate/reflection

The Illuminate Reflection package.

361.6M3](/packages/illuminate-reflection)[omaressaouaf/laravel-id-generator

Generate custom incremental unique ids for Laravel

566.3k](/packages/omaressaouaf-laravel-id-generator)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[spatie/laravel-screenshot

Take screenshots of web pages in Laravel apps

7615.9k2](/packages/spatie-laravel-screenshot)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
