PHPackages                             jsocha/token-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. jsocha/token-generator

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

jsocha/token-generator
======================

Creating random token

1.0(9y ago)029.9kMITPHP

Since Dec 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/quatrosoftware/token-generator)[ Packagist](https://packagist.org/packages/jsocha/token-generator)[ Docs](http://quatrodesign.pl)[ RSS](/packages/jsocha-token-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

[![Packagist License](https://camo.githubusercontent.com/5cd5d77112e0b732d12588a582034d24c82e25b72a0b663e94baf4dadd7a7f04/68747470733a2f2f706f7365722e707567782e6f72672f6a736f6368612f746f6b656e2d67656e657261746f722f6c6963656e73652e706e67)](http://choosealicense.com/licenses/mit/)[![Latest Stable Version](https://camo.githubusercontent.com/281d64bdaebc42367ca09beb66533fa5a048a1f90febb337e026d696f4fbe0fc/68747470733a2f2f706f7365722e707567782e6f72672f6a736f6368612f746f6b656e2d67656e657261746f722f76657273696f6e2e706e67)](https://packagist.org/packages/jsocha/token-generator)[![Total Downloads](https://camo.githubusercontent.com/162596b8869709c590333391fe06c8a4af2f118ff38bd36484190169edd44f59/68747470733a2f2f706f7365722e707567782e6f72672f6a736f6368612f746f6b656e2d67656e657261746f722f642f746f74616c2e706e67)](https://packagist.org/packages/jsocha/token-generator)

Simple token generator
----------------------

[](#simple-token-generator)

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

[](#installation)

Require this package with composer:

```
composer require jsocha/token-generator dev-master
```

Usage
-----

[](#usage)

```
$token = TokenGenerator::make(32); // It will generate 32 characters length token
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3490d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13902258?v=4)[Jakub Socha](/maintainers/QuatroSoftware)[@quatrosoftware](https://github.com/quatrosoftware)

---

Top Contributors

[![sochajakub](https://avatars.githubusercontent.com/u/37208627?v=4)](https://github.com/sochajakub "sochajakub (2 commits)")

### Embed Badge

![Health badge](/badges/jsocha-token-generator/health.svg)

```
[![Health](https://phpackages.com/badges/jsocha-token-generator/health.svg)](https://phpackages.com/packages/jsocha-token-generator)
```

###  Alternatives

[hyn/multi-tenant

Run multiple websites using the same laravel installation while keeping tenant specific data separated for fully independant multi-domain setups.

2.6k1.2M9](/packages/hyn-multi-tenant)[nicmart/tree

A basic but flexible php tree data structure and a fluent tree builder implementation.

57620.6M21](/packages/nicmart-tree)[aldemeery/enum-polyfill

A Polyfill for the SplEnum type in PHP

1058.1k](/packages/aldemeery-enum-polyfill)

PHPackages © 2026

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