PHPackages                             krafthaus/name-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. krafthaus/name-generator

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

krafthaus/name-generator
========================

Name generator for your next Laravel project.

1.0(9y ago)2727MITPHPPHP &gt;=7.0.0

Since Mar 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/krafthaus/name-generator)[ Packagist](https://packagist.org/packages/krafthaus/name-generator)[ RSS](/packages/krafthaus-name-generator/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

Name Generator for Laravel
==========================

[](#name-generator-for-laravel)

[![Total Downloads](https://camo.githubusercontent.com/a7c968c3e27c3ec4bf148f2d48033d5069f0741c24541874aff171821f033295/68747470733a2f2f706f7365722e707567782e6f72672f6b72616674686175732f6e616d652d67656e657261746f722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/krafthaus/name-generator)[![Build Status](https://camo.githubusercontent.com/42a18766b361da536e365c50e5d32f51362f2c0bc3e5288a7fc720ceb5200567/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b72616674686175732f6e616d652d67656e657261746f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/krafthaus/name-generator)[![License](https://camo.githubusercontent.com/1dc3db4185abddc6272ff33ef1c3ffa4076884311f4bc01a310c39ea919186c6/68747470733a2f2f706f7365722e707567782e6f72672f6b72616674686175732f6e616d652d67656e657261746f722f6c6963656e73652e706e67)](https://packagist.org/packages/krafthaus/name-generator)[![StyleCI](https://camo.githubusercontent.com/e5eaad0eaf3e47407447918302b26bc5d27e7871a79b2f7b592b463ebb9acce3/68747470733a2f2f7374796c6563692e696f2f7265706f732f38343433303532372f736869656c64)](https://styleci.io/repos/84430527)

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

[](#installation)

Add name-generator to your composer.json file:

```
"require": {
    "krafthaus/name-generator": "^1.0"
}

```

Use composer to install the package:

```
$ composer update

```

Register the package:

```
'providers' => [
    // ...
    KraftHaus\NameGenerator\NameGeneratorServiceProvider::class,
]

```

Publish the configuration files:

```
$ php artisan vendor:publish --provider="KraftHaus\NameGenerator\NameGeneratorServiceProvider" --tag=config

```

Usage
-----

[](#usage)

#### Generate a string of random words:

[](#generate-a-string-of-random-words)

```
$words = KraftHaus\NameGenerator\Facades\Generator::generate();
// output: word1 word2

// Or define the amount of words you'd like to output:
$words = KraftHaus\NameGenerator\Facades\Generator::generate(5);
// output: word1 word2 word3 word4 word5

// With the glue parameter:
$words = KraftHaus\NameGenerator\Facades\Generator::generate(3, '-');
// output: word1-word2-word3
```

#### Generate an array of random words:

[](#generate-an-array-of-random-words)

```
$words = KraftHaus\NameGenerator\Facades\Generator::raw();
// output: ['word1', 'word2'];

// Or define the amount of words you'd like to output:
$words = KraftHaus\NameGenerator\Facades\Generator::raw(4);
// output: ['word1', 'word2', 'word3', 'word4'];
```

License
-------

[](#license)

This package is available under the [MIT license](https://github.com/krafthaus/name-generator/blob/master/LICENSE).

Copyright (c) 2017 KraftHaus

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3399d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40019?v=4)[Jelle Spekken](/maintainers/jspekken)[@jspekken](https://github.com/jspekken)

---

Top Contributors

[![jspekken](https://avatars.githubusercontent.com/u/40019?v=4)](https://github.com/jspekken "jspekken (3 commits)")

---

Tags

generatorlaravelnameprojectlaravelgeneratorname

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/krafthaus-name-generator/health.svg)

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

###  Alternatives

[tomatophp/filament-helpers

Helper Class Generator to manage your forms and table inside your filament app

128.0k](/packages/tomatophp-filament-helpers)[3x1io/filament-sitemap

Site Settings Like title, description, profile and Sitemap Generator

152.2k](/packages/3x1io-filament-sitemap)

PHPackages © 2026

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