Download the PHP package stackrats/laravel-scaffold-feature without Composer
On this page you can find all versions of the php package stackrats/laravel-scaffold-feature. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stackrats/laravel-scaffold-feature
More information about stackrats/laravel-scaffold-feature
Files in stackrats/laravel-scaffold-feature
Package laravel-scaffold-feature
Short Description Scaffold new feature directories & files from prompts
License MIT
Informations about the package laravel-scaffold-feature
Laravel Scaffold Feature
A convenient Laravel package to scaffold structured feature directories and files interactively from Artisan command prompts.
Installation
Install via Composer:
Laravel automatically registers the service provider.
Usage
To scaffold a new feature, simply run:
You'll be prompted interactively for:
- Root directory (
App/Features
,App/Shared/Features
, orApp/
) - 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
Optionally, you can publish the stub templates to customize them within your Laravel application:
The templates will be copied to:
Feel free to modify them according to your project's requirements.
License
This package is open-sourced software licensed under the MIT license.
Dev
Format files
./vendor/bin/pint
Run tests
./vendor/bin/pest
All versions of laravel-scaffold-feature with dependencies
spatie/laravel-data Version ^4.0
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/pagination Version ^10.0|^11.0|^12.0
laravel/prompts Version ^0.1.9|^0.3.5