PHPackages                             inani/nova-resource-maker - 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. [Admin Panels](/categories/admin)
4. /
5. inani/nova-resource-maker

ActiveLibrary[Admin Panels](/categories/admin)

inani/nova-resource-maker
=========================

A Laravel Nova package to help you generate resources fields

1.0(7y ago)2513.7k4MITPHP

Since Aug 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/akiyamaSM/nova-resource-maker)[ Packagist](https://packagist.org/packages/inani/nova-resource-maker)[ RSS](/packages/inani-nova-resource-maker/feed)WikiDiscussions master Synced 1mo ago

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

nova-resource-maker
===================

[](#nova-resource-maker)

[![License](https://camo.githubusercontent.com/e8833761d2b4e910dbafa60692e8cca4ed8d5e3302967915a82c1bf8bfe5fdae/68747470733a2f2f706f7365722e707567782e6f72672f696e616e692f6e6f76612d7265736f757263652d6d616b65722f6c6963656e7365)](https://packagist.org/packages/inani/nova-resource-maker)[![Total Downloads](https://camo.githubusercontent.com/d9d0b8e7a3f59c49a948a08c5cad00ed81474a9b765312c4c76895eb30f7b43d/68747470733a2f2f706f7365722e707567782e6f72672f696e616e692f6e6f76612d7265736f757263652d6d616b65722f646f776e6c6f616473)](https://packagist.org/packages/inani/nova-resource-maker)[![CI status](https://camo.githubusercontent.com/c27a457659b89ee4f1f80f7995c559dd37f2051bde7167ad25791e5c5c92cc8e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e2e737667)](https://camo.githubusercontent.com/c27a457659b89ee4f1f80f7995c559dd37f2051bde7167ad25791e5c5c92cc8e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e2e737667)[![Latest Stable Version](https://camo.githubusercontent.com/3110d8791ec97e0bd2a0ea5fbc5929362180839b0fef18971a2077c4fd122117/68747470733a2f2f706f7365722e707567782e6f72672f696e616e692f6e6f76612d7265736f757263652d6d616b65722f762f737461626c65)](https://packagist.org/packages/inani/nova-resource-maker)

A Nova tool that will help you to generate fields array for the resource.
You can check this [medium post](https://medium.com/@InaniT0/generate-your-resource-fields-with-no-pain-108d7369489e) on how to use it

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

[](#installation)

### Requirements

[](#requirements)

- Laravel Nova

First, install the package through [Composer](https://getcomposer.org/).

```
composer require inani/nova-resource-maker
```

Usage
-----

[](#usage)

Run the commande line

```
php artisan nova-resource-fields:generate
```

> if your model within `app` folder, you can just set Model Name only without full namespace

And then just answer to the questions and copy the result.

Relationships
-------------

[](#relationships)

Now its possible to generate the relationships, all you have to do is to add the name of the relationship class in the Doc comment of the method

```
/**
 * Get the posts
 *
 * @relation('HasMany')
 * @return \Illuminate\Database\Eloquent\Relations\HasMany
 */
public function posts()
{
    return $this->hasMany(Post::class);
}
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 82.1% 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 ~89 days

Total

3

Last Release

2645d ago

Major Versions

0.7 → 1.02019-02-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fbeb774293770efe72dfe486b323e999e6d65d0df0db9052a1e5b76d9711efe?d=identicon)[akiyamaSM](/maintainers/akiyamaSM)

![](https://www.gravatar.com/avatar/05334befe64e0ea9c76cd2155aa171e6a69796181334bfea94928c475ebf4b8c?d=identicon)[khofaai](/maintainers/khofaai)

---

Top Contributors

[![akiyamaSM](https://avatars.githubusercontent.com/u/12276076?v=4)](https://github.com/akiyamaSM "akiyamaSM (32 commits)")[![khofaai](https://avatars.githubusercontent.com/u/12723639?v=4)](https://github.com/khofaai "khofaai (6 commits)")[![mikebronner](https://avatars.githubusercontent.com/u/1791050?v=4)](https://github.com/mikebronner "mikebronner (1 commits)")

---

Tags

phplaravelcrudresourcesnova

### Embed Badge

![Health badge](/badges/inani-nova-resource-maker/health.svg)

```
[![Health](https://phpackages.com/badges/inani-nova-resource-maker/health.svg)](https://phpackages.com/packages/inani-nova-resource-maker)
```

PHPackages © 2026

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