PHPackages                             renas/laravel-resource-scaffold - 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. [Templating &amp; Views](/categories/templating)
4. /
5. renas/laravel-resource-scaffold

ActiveLibrary[Templating &amp; Views](/categories/templating)

renas/laravel-resource-scaffold
===============================

Scaffold Laravel resources for Inertia (Vue/React) or Blade (migration, model, controller, pages/views).

v1.0.2(4mo ago)00MITPHPPHP ^8.1

Since Feb 28Pushed 4mo agoCompare

[ Source](https://github.com/renas-ghazi/laravel-resource-scaffold)[ Packagist](https://packagist.org/packages/renas/laravel-resource-scaffold)[ Docs](https://github.com/renas-ghazi/laravel-resource-scaffold)[ RSS](/packages/renas-laravel-resource-scaffold/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Laravel Resource Scaffold
=========================

[](#laravel-resource-scaffold)

`renas/laravel-resource-scaffold` is an Artisan generator for Laravel resources using:

- Inertia + Vue
- Inertia + React
- Blade

It scaffolds migration, model (if missing), controller, and UI pages/views.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12

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

[](#installation)

```
composer require renas/laravel-resource-scaffold
```

Usage
-----

[](#usage)

```
php artisan resource:scaffold
```

### Options

[](#options)

- `--stack=inertia-vue|inertia-react|blade` UI stack (default: `inertia-vue`)
- `--pages=Index,Create,Edit,Show` pages/views to generate (default: `Index,Create`)
- `--resource` generate full resource controller methods
- `--ts` generate TypeScript pages (`.vue ` / `.tsx`)
- `--dry-run` preview files without writing
- `--force` overwrite existing files without prompts

### Examples

[](#examples)

```
# Inertia Vue (default)
php artisan resource:scaffold

# Inertia React + TypeScript
php artisan resource:scaffold --stack=inertia-react --ts --resource --pages=Index,Create,Edit,Show

# Blade
php artisan resource:scaffold --stack=blade --resource --pages=Index,Create,Edit,Show
```

Stub Customization
------------------

[](#stub-customization)

Publish stubs:

```
php artisan vendor:publish --tag=laravel-resource-scaffold-stubs
```

Customize generated templates in:

- `stubs/laravel-resource-scaffold/*`

Generated Files
---------------

[](#generated-files)

Always generated:

- `database/migrations/*_create_{table}_table.php`
- `app/Models/{Model}.php` (only if missing)
- `app/Http/Controllers/{Folder}/{Controller}.php`

Stack output:

- `resources/js/Pages/{Folder}/*.vue` for `--stack=inertia-vue`
- `resources/js/Pages/{Folder}/*.jsx|*.tsx` for `--stack=inertia-react`
- `resources/views/{folder}/*.blade.php` for `--stack=blade`

Route Example
-------------

[](#route-example)

Routes are intentionally not auto-injected.

```
Route::resource('users', \App\Http\Controllers\Admin\Users\UserController::class);
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance77

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

127d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/108809687?v=4)[Renas Ghazi](/maintainers/renas-ghazi)[@renas-ghazi](https://github.com/renas-ghazi)

---

Top Contributors

[![renas-ghazi](https://avatars.githubusercontent.com/u/108809687?v=4)](https://github.com/renas-ghazi "renas-ghazi (4 commits)")

---

Tags

laravelgeneratorscaffoldbladeinertiareactvue

### Embed Badge

![Health badge](/badges/renas-laravel-resource-scaffold/health.svg)

```
[![Health](https://phpackages.com/badges/renas-laravel-resource-scaffold/health.svg)](https://phpackages.com/packages/renas-laravel-resource-scaffold)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M203](/packages/laravel-ai)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k453.6k30](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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