PHPackages                             stackrats/laravel-scaffold-feature - 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. stackrats/laravel-scaffold-feature

ActiveLibrary

stackrats/laravel-scaffold-feature
==================================

Scaffold new feature directories &amp; files from prompts

0.1.9(12mo ago)02.1k↑76%MITPHPPHP ^8.1

Since May 11Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/stackrats/laravel-scaffold-feature)[ Packagist](https://packagist.org/packages/stackrats/laravel-scaffold-feature)[ RSS](/packages/stackrats-laravel-scaffold-feature/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Laravel Scaffold Feature
========================

[](#laravel-scaffold-feature)

A convenient Laravel package to scaffold structured feature directories and files interactively from Artisan command prompts.

---

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

[](#installation)

Install via Composer:

```
composer require stackrats/laravel-scaffold-feature
```

Laravel automatically registers the service provider.

---

Usage
-----

[](#usage)

To scaffold a new feature, simply run:

```
php artisan scaffold:feature
```

You'll be prompted interactively for:

- Root directory (`App/Features`, `App/Shared/Features`, or `App/`)
- Optional subdirectory (e.g., `KnowledgeBase`)
- Feature name (PascalCase)
- API route method (`post`, `get`, `put`, `delete`)
- Additional options depending on the method
- Which directories/files to scaffold

After completing the prompts, your feature structure will be automatically created.

---

Publishing Templates
--------------------

[](#publishing-templates)

Optionally, you can publish the stub templates to customize them within your Laravel application:

```
php artisan vendor:publish --tag=laravel-scaffold-feature
```

The templates will be copied to:

```
resources/templates/vendor/laravel-scaffold-feature

```

Feel free to modify them according to your project's requirements.

---

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

Dev
---

[](#dev)

Format files

```
./vendor/bin/pint

```

Run tests

```
./vendor/bin/pest

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance52

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

363d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a4836037a3644e74e3666e09d469d658e2dfab036ed9ee9f2a15d98a4a7b848?d=identicon)[stackrats](/maintainers/stackrats)

---

Top Contributors

[![stackrats](https://avatars.githubusercontent.com/u/67356460?v=4)](https://github.com/stackrats "stackrats (14 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/stackrats-laravel-scaffold-feature/health.svg)

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

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M106](/packages/laravel-cashier)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.4k10.6M272](/packages/laravel-boost)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[livewire/flux

The official UI component library for Livewire.

9385.0M85](/packages/livewire-flux)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M86](/packages/laravel-doctrine-orm)

PHPackages © 2026

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