rahasistiyak/laravel-super-artisan
This is a major release with significant new features, API improvements, and breaking changes from v1.x.
run:workflow — Fully implemented workflow runner. Executes predefined Artisan command sequences from config with step-by-step progress, elapsed timing, and pass/fail summary.super:list — DX helper to list all available workflows and blueprints.make:super-request — Generate a FormRequest class with optional inline rule definitions via --rules=field:rule,....make:super-policy — Generate a Gate policy class with all standard authorization methods.make:super-action — Generate a single-responsibility Action class, with auto-detection of the model name from the action name.make:super Flags--api — Generate an API resource controller with JSON responses and proper HTTP status codes. No Blade views are generated in API mode.--filament — Generate a Filament v3 Resource (requires filament/filament).--blueprint={key} — Run a named blueprint from config/super-artisan.php.--domain={Name} — Wrap generated files under a domain namespace (e.g. --domain=Blog places controller in app/Http/Controllers/Blog/).--force — Overwrite existing files.--dry-run — Preview all files that would be generated without writing anything to disk.--interactive — Enter interactive mode (prompts for each option).{name} argument now accepts a comma-separated list: make:super Post,Comment,Tag.make:repository now generates the full repository triad automatically:
app/Repositories/Contracts/)RepositoryServiceProvider.php with the interface → class binding--no-interface, --no-binding, --force, --dry-run.--pattern=repository) now uses constructor injection of the repository interface.repository_interface.stub — Now fully implemented (was empty in v1).repository_controller.stub — Now fully implemented (was empty in v1).api_controller.stub — New. REST API controller returning JSON.action.stub — New. Single-responsibility Action class.policy.stub — New. Gate Policy with all standard methods.request.stub — New. FormRequest with authorize + rules.filament_resource.stub — New. Filament v3 Resource.api-resource — Model + Migration + Factory + API Controller.repository-crud — Full CRUD with the Repository pattern.filament-resource — Model + Migration + Filament resource.full-stack — Model + Repository + Policy + FormRequests (Store & Update) + Controller.fresh — migrate:fresh --seed (local dev).optimize — Rebuild all caches.clear — Clear all caches.test — Run the test suite.test-and-deploy — Tests then deployment steps (use with --stop-on-failure).queue-restart — Restart queue workers.ide-helper — Regenerate IDE helper files.run:workflow Features--dry-run — Show commands without running them.--stop-on-failure — Halt workflow on the first failed step.--name={value} — Substitute {name} token in workflow commands.--list — List all available workflows from within the command.src/Concerns/GeneratesFiles.php trait — shared stub resolution, token replacement, and force/dry-run-aware file writing across all generator commands. Eliminates duplicated logic.src/Contracts/RepositoryInterface.php — Now fully implemented with all(), find(), findOrFail(), findBy(), create(), update(), delete(), paginate(), firstWhere(), count() signatures.tests/TestCase.php — Orchestra Testbench base class with in-memory SQLite and auto-cleanup of generated files.MakeSuperCommandTest — Expanded with 10 test cases covering all new flags.MakeRepositoryCommandTest — New. Tests full triad generation and all flags.RunWorkflowCommandTest — New. Tests workflow execution, dry-run, unknown workflow error, and list commands.make:super — Massively refactored internally. Generation steps are now clean protected methods. Uses the GeneratesFiles trait.make:repository — Now generates the full triad instead of just the class file.make:service — Now uses the GeneratesFiles trait, supports --model, --force, --dry-run, and generates a richer service class with typed methods.index, create, edit, show) now generate complete, functional HTML with proper layout, form handling, validation display, flash message support, and delete confirmation.repository.stub — Now implements the full RepositoryInterface contract with all CRUD methods and uses PHP 8.2 constructor property promotion.service.stub — Now includes typed methods, PHPDoc, constructor injection, and PHP 8.2 constructor property promotion.vue_component.stub / react_component.stub — Unchanged (still simple starters, as Vue/React setups vary widely).config/super-artisan.php — Expanded from 2 blueprints + 1 workflow to 6 blueprints + 8 workflows with descriptions.composer.json — Version bumped to 2.0.0. PHP requirement raised to >=8.2. Laravel support extended to include ^13.0. PHPUnit updated to ^11.0. Keywords and description enhanced.SuperArtisanServiceProvider — Registers all 8 commands using a typed array $commands property.repository_interface.stub was an empty file — now fully implemented.repository_controller.stub was an empty file — now fully implemented.src/Contracts/RepositoryInterface.php was an empty file — now fully implemented.run:workflow command was referenced in README and config but did not exist — now fully implemented.make:super --pattern=repository only generated the class, not the interface or binding — now generates all three.make:model -m in make:super — fixed by passing migration options directly to make:model and skipping the separate make:migration call.make:migration as a separate step in make:super — model creation with -m handles migration, avoiding duplicates.8.2 (from 8.0). Union types and constructor property promotion are used throughout.make:service signature changed: --model= option added; name argument now strips Service suffix to infer model automatically.make:repository output changed: The command now generates three files instead of one. The --no-interface and --no-binding flags can restore v1 behavior.repository.stub files if you published them.make:super command with Blade, Livewire, Vue, React support.make:repository and make:service basic commands.--path, --controller_path, --model_path, --view_path, --migration_path).--pattern=repository|service support.How can I help you explore Laravel packages today?