winner-jack/laravel-cool-username-generator

A cool username generator for Laravel

This package's canonical repository appears to be gone and the package has been frozen as a result.

v1.1 2024-04-22 17:41 UTC

This package is auto-updated.

Last update: 2024-07-08 20:47:52 UTC


README

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

This package provides a simple way to generate cool usernames for your Laravel application. It uses a list of adjectives and nouns to generate a random username like ritzy-giraffe or fancy-zebra.

Installation

You can install the package via composer:

composer require winner-jack/laravel-cool-username-generator

(Optional) You can publish adjectives and nouns config file with:

php artisan vendor:publish --tag="laravel-cool-username-generator-config"

Usage

use WinnerJack\UsernameGenerator\Facades\UsernameGenerator;

$username = UsernameGenerator::generate(); // returns a random username e.g. "ritzy-giraffe"

Testing

composer test

Changelog

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

Credits

License

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