PHPackages                             daaner/unique-digits - 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. daaner/unique-digits

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

daaner/unique-digits
====================

Creating a digital value for different needs (ticket numbers and others) for PHP.

1.1(7y ago)022MITPHPPHP &gt;=5.4

Since Jun 10Pushed 7y agoCompare

[ Source](https://github.com/daaner/unique-digits)[ Packagist](https://packagist.org/packages/daaner/unique-digits)[ RSS](/packages/daaner-unique-digits/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (3)Used By (0)

UniqueDigits (for Laravel and another php based code)
=====================================================

[](#uniquedigits-for-laravel-and-another-php-based-code)

[![Packagist License](https://camo.githubusercontent.com/524697a388227632af3574123d70db825eed8b757b30c6240e1dee5b9f5e4e5b/68747470733a2f2f706f7365722e707567782e6f72672f6461616e65722f756e697175652d6469676974732f6c6963656e73652e706e67)](http://choosealicense.com/licenses/mit/)[![Latest Stable Version](https://camo.githubusercontent.com/e0fcf3109c5fa9d0f0022de40f80eff07a84b47e66c3112b66ac973c8032cceb/68747470733a2f2f706f7365722e707567782e6f72672f6461616e65722f756e697175652d6469676974732f762f737461626c65)](https://packagist.org/packages/daaner/unique-digits)[![Build Status](https://camo.githubusercontent.com/f142377911cec4939dea375ee208194a45363695293826a70d45a4bff7ed602d/68747470733a2f2f7472617669732d63692e636f6d2f6461616e65722f756e697175652d6469676974732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/daaner/unique-digits)[![Total Downloads](https://camo.githubusercontent.com/25eab36cdd4022932d715884900c3f8e87a2123f71e2ec21a9c0a9f958bf12b2/68747470733a2f2f706f7365722e707567782e6f72672f6461616e65722f756e697175652d6469676974732f646f776e6c6f616473)](https://packagist.org/packages/daaner/unique-digits)

About
-----

[](#about)

Создание цифрового значения для разных нужд (номера билетов и прочего) Особой защиты нет, но для создания QR кода будет достаточно.

Установка
---------

[](#установка)

`composer require daaner/unique-digits`

В нужном месте подключаем класс `use UniqueDigits\UniqueDigits;`

Использование
-------------

[](#использование)

Создание номера

```
$uniid = new UniqueDigits;
$uniid->Unique(ID, TEXT, DATE->timestamp, LEN);
//len длина значения от 10 до 80 знаков
//более 19 знаков - значение принимает строковой вид
```

Проверка номера

```
$uniid = new UniqueDigits;
$uniid->UniqueCheck(123456789012345);
//возвращает ID

$uniid->UniqueCheck(123456789012345, ID);
//возвращает true или false
```

Контакты
--------

[](#контакты)

 по всем вопросам

License
-------

[](#license)

UniqueDigits is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

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 ~0 days

Total

2

Last Release

2895d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab7685d68b0a7a826663193b526e128552ed0993708eda185d25118745641e84?d=identicon)[Daaner](/maintainers/Daaner)

---

Top Contributors

[![daaner](https://avatars.githubusercontent.com/u/9641698?v=4)](https://github.com/daaner "daaner (8 commits)")

---

Tags

laravelunique digitsunique number

### Embed Badge

![Health badge](/badges/daaner-unique-digits/health.svg)

```
[![Health](https://phpackages.com/badges/daaner-unique-digits/health.svg)](https://phpackages.com/packages/daaner-unique-digits)
```

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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