make:controller:front ​
Create a front-end (public-facing) controller for a module
Signature: modularous:make:controller:front
Category: Make
Description ​
Generates a front-end controller in the module's Http/Controllers/Front/ path. Suitable for public-facing pages, Inertia.js views, or SSR routes. The stub receives the module name, studly/lower variants, and route name.
Usage ​
modularous:make:controller:front <module> <name>Arguments ​
| Argument | Required | Description |
|---|---|---|
module | yes | Target module |
name | yes | Controller class name |
Examples ​
bash
php artisan modularous:make:controller:front Blog Post
# → Blog/Http/Controllers/Front/PostController.phpOutput ​
{Module}/Http/Controllers/Front/{Name}Controller.php
Stub: route-controller-front.stub
See also ​
- make:controller — admin-panel variant
- make:controller:api — API variant
- System Reference