babeuloula / inspiring-kaamelott
Get an inspiring quote from Kaamelott
1.1.0
2024-02-16 15:00 UTC
Requires
- php: >=8.1
Requires (Dev)
- babeuloula/phpcs: ^1.5
- phpstan/phpstan: ^1.10
- phpstan/phpstan-strict-rules: ^1.5
- phpunit/phpunit: ^10.5
README
Get an inspiring quote from Kaamelott.
How to use
composer require babeuloula/inspiring-kaamelott
Laravel
Update your routes/console.php
Laravel file
Artisan::command('inspire', function (): void { $this->comment(\BaBeuloula\InspiringKaamelott\Inspiring::quoteForConsole()); })->describe('Display an inspiring quote from Kaamelott.');
Without framework
\BaBeuloula\InspiringKaamelott\Inspiring::quote()
: get a quote\BaBeuloula\InspiringKaamelott\Inspiring::quotes()
: get all quotes
Contribute
Install the vendors with make vendors
.
You can execute code quality with make tests
and if you need to connect to the PHP container docker/exec
.