Download the PHP package rahasistiyak/laravel-super-artisan without Composer

On this page you can find all versions of the php package rahasistiyak/laravel-super-artisan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-super-artisan

Super Artisan for Laravel — v2.0

The ultimate Laravel scaffolding & workflow package.
Generate complete resource stacks, run Artisan workflows, and supercharge your development speed.

Latest Version PHP Version License


What's New in v2.0

Feature v1 v2
run:workflow command ❌ Missing ✅ Fully implemented
Repository pattern (full triad) ⚠️ Partial ✅ Class + Interface + Provider
Bulk generation ❌ ✅ make:super Post,Comment,Tag
API scaffolding ❌ ✅ --api
Filament resource ❌ ✅ --filament
Domain-driven layout ❌ ✅ --domain=Blog
Blueprint system ⚠️ Config only ✅ Fully executable
--force / --dry-run ❌ ✅ Both supported
make:super-request ❌ ✅ New command
make:super-policy ❌ ✅ New command
make:super-action ❌ ✅ New command
super:list ❌ ✅ New DX helper
PHP & Laravel support PHP 8.0+, L11-12 PHP 8.2+, L11-12-13

Requirements


Installation

Publish the config and stubs:

This creates:


Available Commands

Command Description
make:super {name} Generate a complete resource stack
make:repository {name} Generate a repository (class + interface + provider)
make:service {name} Generate a service class
make:super-request {name} Generate a FormRequest
make:super-policy {name} Generate a Gate policy
make:super-action {name} Generate a single-responsibility Action
run:workflow {name} Execute a predefined Artisan command workflow
super:list List all available workflows and blueprints

make:super — Resource Generator

Signature

Options

Option Description
{name} Resource name(s). Comma-separate for bulk: Post,Comment,Tag
--livewire Generate a Livewire component
--vue Generate a Vue 3 component
--react Generate a React component
--api Generate an API resource controller (JSON responses)
--filament Generate a Filament v3 resource
--pattern=repository Apply the Repository pattern (class + interface + binding)
--pattern=service Apply the Service pattern
--blueprint={key} Run a named blueprint from config
--domain={Name} Place files under a domain namespace
--path={path} Base path for controllers and views
--controller_path={path} Controller subfolder
--model_path={path} Model subfolder
--view_path={path} View/component subfolder
--migration_path={path} Migration subfolder
--force Overwrite existing files
--dry-run Preview what would be generated without writing
--interactive Prompt for options interactively

Examples

Basic CRUD (Blade Views)

Generates: Model, Migration, Factory, Controller, 4 Blade views

Bulk Generation

Generates the full stack for all three resources at once.

API Resource

Generates: Model, Migration, Factory, API Controller (JSON responses, no views)

Repository Pattern

Generates: Model + Migration + Repository class + Interface + RepositoryServiceProvider binding + Controller with DI

Filament Resource

Generates: Model + Migration + Filament v3 Resource (requires filament/filament)

Domain-Driven Layout

Generates: app/Http/Controllers/Blog/PostController.php, views in resources/views/Blog/post/

Livewire

Vue / React

Blueprint

Runs the full-stack blueprint: Model + Repository + Policy + FormRequests + Controller.

Dry Run

Preview exactly what would be created — nothing is written to disk.

Force Overwrite


run:workflow — Workflow Runner

Execute predefined sequences of Artisan commands.

Signature

Options

Option Description
--name={value} Substitute {name} token in workflow commands
--dry-run Show the commands without running them
--stop-on-failure Stop the workflow if any step fails
--list List all available workflows

Built-in Workflows

Workflow Description
deploy Clear caches, run migrations, rebuild caches, take app back up
fresh Wipe and re-seed the database (dev only)
optimize Rebuild all application caches
clear Clear all caches
test Run the test suite
test-and-deploy Run tests then deploy (use --stop-on-failure)
queue-restart Gracefully restart queue workers
ide-helper Regenerate IDE helper files

Examples


make:repository — Repository Generator

Generates the full repository triad:

  1. Repository class (app/Repositories/{Name}Repository.php)
  2. Interface (app/Repositories/Contracts/{Name}RepositoryInterface.php)
  3. Service Provider binding (app/Providers/RepositoryServiceProvider.php)

Options

Option Description
--model= Model to use (auto-inferred from name if omitted)
--no-interface Skip generating the interface
--no-binding Skip updating RepositoryServiceProvider
--force Overwrite existing files
--dry-run Preview output

After generation: Add RepositoryServiceProvider::class to bootstrap/providers.php (Laravel 11+).


make:service — Service Generator

Generates: app/Services/PostService.php with typed methods and constructor injection.


Additional Generators

make:super-request

Generates: app/Http/Requests/StorePostRequest.php with pre-filled validation rules.

make:super-policy

Generates: app/Policies/PostPolicy.php with all standard Gate methods (viewAny, view, create, update, delete, restore, forceDelete).

make:super-action

Generates: app/Actions/CreatePost.php — a single-responsibility action class.


super:list — Discovery Helper


Blueprints

Blueprints define reusable file-generation templates. Define your own in config/super-artisan.php.

Built-in Blueprints

Blueprint Description
crud Model + Migration + Factory + Resource Controller
api-resource Model + Migration + Factory + API Controller
repository-crud Full CRUD with Repository pattern
livewire Model + Migration + Livewire component
filament-resource Model + Migration + Filament resource
full-stack Model + Repository + Policy + FormRequests + Controller

Custom Blueprint Example


Custom Workflows


Customizing Stubs

After publishing, edit stubs in stubs/vendor/super-artisan/:

Stub Purpose
view_index.stub Blade index view
view_create.stub Blade create view
view_edit.stub Blade edit view
view_show.stub Blade show/detail view
vue_component.stub Vue 3 SFC component
react_component.stub React functional component
repository.stub Repository class
repository_interface.stub Repository interface
repository_controller.stub Controller with repository DI
api_controller.stub API resource controller
service.stub Service class
action.stub Action class
policy.stub Gate policy
request.stub FormRequest
filament_resource.stub Filament v3 Resource

Available Tokens

Token Example Output
{{ name }} Post
{{ lower_name }} post
{{ plural }} Posts
{{ lower_plural }} posts
{{ snake_name }} post
{{ snake_plural }} posts
{{ kebab_name }} post
{{ ns_prefix }} \Admin (or empty)

Repository Pattern — How It Works

When using --pattern=repository or make:repository, the package generates:

  1. Repository class — Implements RepositoryInterface from the package with all(), find(), findOrFail(), create(), update(), delete(), paginate(), firstWhere(), count().

  2. Repository interface — Extends the base RahasIstiyak\SuperArtisan\Contracts\RepositoryInterface. Add model-specific methods here.

  3. Service provider binding — Binds the interface to the concrete class via IoC. Register it in bootstrap/providers.php:

  4. Controller with DI — The generated controller receives the repository interface via constructor injection, promoting testability and loose coupling.

Testing

Run tests with coverage:


Contributing

Contributions are welcome! Please submit pull requests or issues to the GitHub repository.

Please follow the existing code style and write tests for any new features.


License

This package is licensed under the MIT License.


Contact

Email: [email protected]
GitHub: rahasistiyakofficial


All versions of laravel-super-artisan with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
laravel/framework Version ^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rahasistiyak/laravel-super-artisan contains the following files

Loading the files please wait ...