PHPackages                             mirhamzah/laravel-interactive-make - 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. mirhamzah/laravel-interactive-make

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

mirhamzah/laravel-interactive-make
==================================

Interactive make commands for making Model and Migration with fields

09PHP

Since Aug 8Pushed 9mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-interactive-make
========================

[](#laravel-interactive-make)

Interactive make commands for making Model and Migration with fields

```
composer require mirhamzah/laravel-interactive-make:dev-master
```

Then

```
php artisan make:imodel ModelName
```

Or

```
php artisan make:imodel ModelName -m
```

for making a new migration as well, just like with normal make:model command.

[![Screenshot](images/screenshot.png)](images/screenshot.png)

You can add relationships to existing model files using the command

```
#php artisan make:relationship [SourceModel] [RelationshipType] [TargetModel]

php artisan make:relationship User HasMany Acrticle
```

The above command will add following code to User model file:

```
use Illuminate\Database\Eloquent\Relations\HasMany;

public function articles(): ?HasMany
{
    return $this->hasMany(Article::class);
}
```

```
php artisan make:iview ModelName
```

The `make:iview` command generates view components for the specified model. It creates two files, `create.jsx` and `edit.jsx`, which are React components designed for creating and editing instances of the model. These components are automatically populated with form fields based on the `$fillable` and `$casts` properties defined in the model class, ensuring consistency between the model and its associated views.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance41

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/56979d1e3afb1659f3f883aef3d5fc373e05fb6705e77675f6e0aa786f905c5c?d=identicon)[mirhamzah](/maintainers/mirhamzah)

---

Top Contributors

[![mirhamzah](https://avatars.githubusercontent.com/u/37256104?v=4)](https://github.com/mirhamzah "mirhamzah (15 commits)")

### Embed Badge

![Health badge](/badges/mirhamzah-laravel-interactive-make/health.svg)

```
[![Health](https://phpackages.com/badges/mirhamzah-laravel-interactive-make/health.svg)](https://phpackages.com/packages/mirhamzah-laravel-interactive-make)
```

###  Alternatives

[webflo/drupal-finder

Helper class to locate a Drupal installation.

12653.2M218](/packages/webflo-drupal-finder)[rankmath/seo-by-rank-math

Rank Math is the most powerful way to get BEST WordPress SEO tools added to your website.

1252.0k](/packages/rankmath-seo-by-rank-math)[thiktak/filament-nested-builder-form

Plugin for FilamentPHP - Nested Builder Form Component

208.6k1](/packages/thiktak-filament-nested-builder-form)[thiktak/filament-simple-list-entry

Simple List Entry for Infolist

223.9k](/packages/thiktak-filament-simple-list-entry)[radialapps/banner-warn

Show avatars in roundcube message list with warnings

131.0k](/packages/radialapps-banner-warn)

PHPackages © 2026

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