yumaitau/laravel-random-token

A simple package to generate random tokens (but safe) tokens to be used in user facing applications.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 2

pkg:composer/yumaitau/laravel-random-token

v1.0.0 2025-09-03 04:39 UTC

This package is auto-updated.

Last update: 2025-10-13 04:52:32 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A simple package to generate random tokens (but safe) tokens to be used in user facing applications.

Installation

You can install the package via composer:

composer require yumaitau/laravel-random-token

Optionally, you can publish the "bad words" file with:

php artisan vendor:publish --tag="random-token-translations"

Usage

$token = \YumaIt\RandomToken\RandomToken::generate(); // ABCD12 

Optionally, you can pass the length of the token:

$token = \YumaIt\RandomToken\RandomToken::generate(8); // ABCD1234

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.