PHPackages                             laravelresource/resourcemaker - 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. laravelresource/resourcemaker

ActiveLibrary

laravelresource/resourcemaker
=============================

Generate a model, repository, controller and services

024PHP

Since Apr 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/twinklesharma/resourcemaker)[ Packagist](https://packagist.org/packages/laravelresource/resourcemaker)[ RSS](/packages/laravelresource-resourcemaker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-resource-generator
==========================

[](#laravel-resource-generator)

Generates a model, repository, controller and services

Installation
============

[](#installation)

Add laravelresource/resourcemaker as a requirement to composer.json :

```
{
    "require": {
        "laravelresource/resourcemaker": "dev-master"
    }
}
```

Update your packages with composer update or install with composer install.

You can also add the package using `composer require laravelresource/resourcemaker "dev-master"` and later specifying the version you want (for now, dev-master is your best bet).

#### Service Provider

[](#service-provider)

`LaravelResource\ResourceMaker\ResourceGeneratorServiceProvider::class,`

And that's it! Start working with a awesome resource Generator!

Using the generator
-------------------

[](#using-the-generator)

From the command line, run:

```
php artisan make:resource ModelName "attributes"

```

For the simplest example, let's create a new `users` resource:

```
php artisan make:resource Users

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/a6775dc4a24760725086d0f92584506e8eca64ec2eac62dfd8746877de53b4ba?d=identicon)[twinklesharma](/maintainers/twinklesharma)

### Embed Badge

![Health badge](/badges/laravelresource-resourcemaker/health.svg)

```
[![Health](https://phpackages.com/badges/laravelresource-resourcemaker/health.svg)](https://phpackages.com/packages/laravelresource-resourcemaker)
```

PHPackages © 2026

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