LaravelPackages.net
Acme Inc.
Toggle sidebar
kastsecho/laravel-commands

Artisan commands for Laravel.

5
0
0.0.1
About kastsecho/laravel-commands

kastsecho/laravel-commands is a Laravel package for artisan commands for laravel.. It currently has 0 GitHub stars and 5 downloads on Packagist (latest version 0.0.1). Install it with composer require kastsecho/laravel-commands. Discover more Laravel packages by kastsecho or browse all Laravel packages to compare alternatives.

Last updated

Laravel Commands

This repository contains three custom Laravel Artisan commands created by Kasts Echo.

Installation

To use these commands, you'll need to use Composer to install the package:

composer require kastsecho/laravel-commands

Usage

make:action

This command generates a new action class. To use it, simply run:

php artisan make:action MyNewAction

This will generate a new enum class named MyNewAction in your app/Actions directory.

make:enum

This command generates a new enum class. To use it, simply run:

php artisan make:enum MyNewEnum [--int|--string]

This will generate a new enum class named MyNewEnum in your app/Enums directory. The --int option generates an integer backed enum, while the --string option generates a string backed enum. If you don't provide any option, the default is a basic enum.

make:trait

This command generates a new trait class. To use it, simply run:

php artisan make:trait MyNewTrait

This will generate a new trait class named MyNewTrait in your app/Traits directory.

Contributing

If you find any issues with these commands or have suggestions for improvements, feel free to open an issue or submit a pull request on the GitHub repository.

License

This package is open-sourced software licensed under the MIT license.

Star History Chart