kernel243/artisan

This package provides a set of artisan commands for Laravel
1,220 2
Install
composer require kernel243/artisan
Latest Version:v0.0.3
PHP:>=7.4.0
License:MIT
Last Updated:Nov 21, 2025
Links: GitHub  ·  Packagist
Maintainer: merdielongo

Kernel243/Artisan

Packagist Downloads Visits

This package provides a set of new artisan commands for Laravel.

This package is based on another laravel package dannyvilla/artisan-commands, my package adds other options which are not yet available in this one for example the use of a modular architecture with laravel nwidart/laravel-modules and many other options.

Visit the developer website: developper.elongocrea.com

Installation

Use the package manager composer to install kernel243/artisan

composer require kernel243/artisan

Usage

View command

Generate an empty view
php artisan make:view folder.subfolder.view
Generate a view with a layout
php artisan make:view folder.subfolder.view --layout=app

Repository command

Generate an empty repository file
php artisan make:repository UserRepository
Generate a repository with a model
php artisan make:repository UserRepository --model=User
Generate a repository with a module
php artisan make:repository UserRepository --model=Country --module=Setting

Service command

Generate a serfvice class
php artisan make:service PayPalPaymentService
Generate a serfvice class with a module
php artisan make:service PayPalPaymentService --module=Payment

Lang command

Generate a new locale file
php artisan make:lang myFilanem --locale=es
Generate a new json locale file
php artisan make:lang --locale=es --json

Class command

Generate a class
php artisan make:class App\Handlers\UserHandlers

or you can use a dot(.) as separator

php artisan make:class App.Handlers.UserHandlers --separator=.
Generate a trait
php artisan make:class App\Traits\MyTrait --kind=trait
Generate an interface
php artisan make:class App\Contracts\IClassable --kind=interface

File command

Generate a generic file
php artisan make:file folder.subfolder1.subfolder2.filename --ext=php

CRUD command

Generate a CRUD with model, repository, service, controller and Tailwind views

php artisan make:crud Product --fields="title:string,description:text,price:decimal,is_active:boolean"

Resource CRUD command

Generate CRUD using a Resource class (Filament-inspired)

php artisan make:resource-crud Product --fields="title:string,description:text"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Related Packages

rohmadst/kodegenerator

CRUD Generator (Migration, Controller, Repository, Model, Form Request) in singl...

24 4
mosweed/laravel-auto-crud

Complete CRUD scaffolding generator for Laravel 12 with API, Blade views, Livewi...

27 0
scrumble-nl/laravel-csr

This package makes it possible to generate a controller, service, repository, mo...

22,263 42

Version History

Version Released PHP Laravel License
v0.0.3 >=7.4.0 >=5.8.0 MIT
v0.0.2 >=7.4.0 >=5.8.0 MIT
v0.0.1 >=7.4.0 >=5.8.0 MIT