PHPackages                             aiiro/laravel-factory-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. aiiro/laravel-factory-generator

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

aiiro/laravel-factory-generator
===============================

v0.0.4(5y ago)918.6k↓50%2[2 issues](https://github.com/aiiro/laravel-factory-generator/issues)[1 PRs](https://github.com/aiiro/laravel-factory-generator/pulls)MITPHP

Since Mar 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/aiiro/laravel-factory-generator)[ Packagist](https://packagist.org/packages/aiiro/laravel-factory-generator)[ RSS](/packages/aiiro-laravel-factory-generator/feed)WikiDiscussions master Synced 1mo ago

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

Generate Laravel Factory Templates
==================================

[](#generate-laravel-factory-templates)

Make Laravel factory file with the column names of a table in a database.

[![screenshot](https://raw.githubusercontent.com/aiiro/laravel-factory-generator/master/screenshot.png)](https://raw.githubusercontent.com/aiiro/laravel-factory-generator/master/screenshot.png)

### Installing

[](#installing)

```
composer require --dev aiiro/laravel-factory-generator
```

If you are using Laravel 5.5 or higher, the package will be automatically registered.

### Configuration

[](#configuration)

Optionally, you can publish the config file by running this command.

```
php artisan vendor:publish --provider="Aiiro\Factory\FactoryGeneratorServiceProvider"
```

And then, you can find `config\factory-generator.php`.

```
