PHPackages                             leon0399/laravel-factory-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. leon0399/laravel-factory-cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

leon0399/laravel-factory-cli
============================

Command line interface for Factories. No more Tinker!

1.1.1(7y ago)01.1k[2 PRs](https://github.com/leon0399/laravel-factory-cli/pulls)MITPHPPHP &gt;=7

Since Oct 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/leon0399/laravel-factory-cli)[ Packagist](https://packagist.org/packages/leon0399/laravel-factory-cli)[ RSS](/packages/leon0399-laravel-factory-cli/feed)WikiDiscussions master Synced today

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

Laravel Factory CLI
===================

[](#laravel-factory-cli)

[![Total Downloads](https://camo.githubusercontent.com/045d0010af8e9ebabf38b1adc4d06f95825c18af55bba350c69fbcb13609c317/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e303339392f6c61726176656c2d666163746f72792d636c692f646f776e6c6f616473)](https://packagist.org/packages/leon0399/laravel-factory-cli)[![Latest Stable Version](https://camo.githubusercontent.com/33e23ba2ed75f5155ca32ed0daaca276a6f3440ee1ecc0e8e91fed54cd11924d/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e303339392f6c61726176656c2d666163746f72792d636c692f762f737461626c65)](https://packagist.org/packages/leon0399/laravel-factory-cli)[![Latest Unstable Version](https://camo.githubusercontent.com/aa49c0337f680672ed8488403d018fd5d30d59bfa765cc1f18412ab521d42854/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e303339392f6c61726176656c2d666163746f72792d636c692f762f756e737461626c65)](https://packagist.org/packages/leon0399/laravel-factory-cli)[![License](https://camo.githubusercontent.com/8e011110b0a0ba3cad0e0271bf7b5a2b06b0841bd8d936d163e7713669feb2f0/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e303339392f6c61726176656c2d666163746f72792d636c692f6c6963656e7365)](https://packagist.org/packages/leon0399/laravel-factory-cli)

Command line interface for Factories. No more Tinker!

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

[](#installation)

Install the latest version with

```
$ composer require --dev leon0399/laravel-factory-cli
```

Usage
-----

[](#usage)

To create a single instance of class:

```
$ php artisan factory:create App/User
```

Or you can omit the namespace. To change default namespace see [Configuration](#configuration):

```
$ php artisan factory:create User
```

To create multiple instances of class, use `-a`:

```
$ php artisan factory:create User -a 10
```

Configuration
-------------

[](#configuration)

Feel free to publish configuration:

```
$ php artisan vendor:publish --provider="Leon0399\Laravel\FactoryCLI\FactoryCLIServiceProvider" --tag=config
```

To-Do
-----

[](#to-do)

- Configuration
    - Changing default namespace
    - Your ideas

License
-------

[](#license)

```
MIT License

Copyright (c) 2018 Leonid Meleshin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% 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 ~16 days

Total

4

Last Release

2721d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74adb9033593f1dc42341f42f5afd925363369f8469b2452e47e99c1c3dbda2e?d=identicon)[leon0399](/maintainers/leon0399)

---

Top Contributors

[![leon0399](https://avatars.githubusercontent.com/u/1759654?v=4)](https://github.com/leon0399 "leon0399 (14 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")

---

Tags

laravellaravel-artisan-commandlaravel-factory

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leon0399-laravel-factory-cli/health.svg)

```
[![Health](https://phpackages.com/badges/leon0399-laravel-factory-cli/health.svg)](https://phpackages.com/packages/leon0399-laravel-factory-cli)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[bestmomo/nice-artisan

Web interface for Laravel Artisan

215149.3k](/packages/bestmomo-nice-artisan)[statamic/cli

Statamic CLI Tool

7587.7k](/packages/statamic-cli)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

251.1k](/packages/mwguerra-web-terminal)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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