drradao / laravel-bard
The one that tells the stories of the great artisan
Installs: 1 534
Dependents: 1
Suggesters: 0
Security: 0
Stars: 38
Watchers: 3
Forks: 2
Open Issues: 0
Type:project
Requires
- php: ^8.1
- nunomaduro/termwind: ^1.15.1
Requires (Dev)
- laravel-zero/framework: ^10.0
- laravel/pint: ^1.11
- mockery/mockery: ^1.5.1
- pestphp/pest: ^2.16
- phpstan/phpstan: ^1.10
- spatie/laravel-ray: ^1.32
README
The package generator for Laravel Artisans
Introduction
If you create Laravel packages, you know that sometimes you need to generate boilerplate code quickly. bard is here to help!
bard implements the same generator commands as Artisan, but publishes them to your package's source folder and namespace.
Installation
Global installation is recommended so that you can use bard anywhere.
Global
composer global require drradao/laravel-bard
Usage
bard ...
If you don't have composer's global bin folder in your PATH, you MUST add it.
Hint: composer global config bin-dir --absolute
Local
If you'd like to use it in a specific project, you can install it as a dev dependency.
composer require --dev drradao/laravel-bard
Usage
./vendor/bin/bard ...
Available Commands
Generators
make:model
make:migration
make:factory
make:controller
make:seeder
make:policy
make:request
make:job
make:command
make:test
make:event
make:listener
For detailed information on each generator command, refer to the Laravel documentation.