PHPackages                             vishnu/fillable-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. [Database &amp; ORM](/categories/database)
4. /
5. vishnu/fillable-generator

ActiveLibrary[Database &amp; ORM](/categories/database)

vishnu/fillable-generator
=========================

Laravel package to generate fillable arrays for Eloquent models

v0.0.2(2y ago)128MITPHPPHP ^7.0 || ^8.0 || ^8.1 || ^8.2 || ^8.3

Since Apr 11Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Fillable Generator
==================

[](#fillable-generator)

Fillable Generator is a Laravel package that simplifies the process of generating fillable arrays for Eloquent models based on migration files.

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

[](#installation)

You can install the Fillable Generator package via Composer. Run the following command in your Laravel project directory:

```
composer require vishnu/fillable-generator
```

Usage
-----

[](#usage)

### Generating Fillable Arrays

[](#generating-fillable-arrays)

To generate fillable arrays for your models, use the `fillable:g` Artisan command provided by the Fillable Generator package.

```
php artisan fillable:g
```

Follow the on-screen prompts to enter the path to your migration file and the name of the corresponding model. The command will parse the migration file, extract the column names, and generate a fillable array for the specified model.

### Example

[](#example)

Let's walk through an example of using the Fillable Generator package:

1. Suppose you have a migration file named `create_users_table.php` located in the `database/migrations` directory.
2. Run the `fillable:g` command and enter the path to the migration file when prompted:

    ```
    php artisan fillable:g
    ```

    Example prompt:

    ```
    Enter the migration file path (e.g., database/migrations/2024_04_07_183244_create_users_table.php):

    ```
3. Next, enter the name of the corresponding model (e.g., `User`):

    ```
    Enter the model name (e.g., User):

    ```
4. The command will generate a fillable array for the `User` model based on the columns defined in the migration file and update the model file accordingly.

Support
-------

[](#support)

If you encounter any issues or have questions about using the Fillable Generator package, please [open an issue](https://github.com/vendor/fillable-generator/issues) on GitHub.

License
-------

[](#license)

The Fillable Generator package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Every ~0 days

Total

2

Last Release

757d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a07c2f6e7ab9d1eb608a15863ce6aae66cafa495784cce542e9bae80d43767e?d=identicon)[vishnuowe](/maintainers/vishnuowe)

---

Top Contributors

[![a4vichu](https://avatars.githubusercontent.com/u/30842576?v=4)](https://github.com/a4vichu "a4vichu (31 commits)")

### Embed Badge

![Health badge](/badges/vishnu-fillable-generator/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M542](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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