Dinesh Uprety
@dineshuprety ·
Public
Extend the new Artisan dev runner
PHPLaravel 13 API example based on official Laravel documentation. Source: https://laravel.com/framework/docs/changelog#add-artisan-dev-command
PHP
CodeSnap // free canvas
Extend the new Artisan dev runner
<?php
use Illuminate\Foundation\Console\DevCommands;
DevCommands::artisan('reverb:start', 'reverb')->orange();
DevCommands::register(
'stripe listen --forward-to '.config('app.url'),
'stripe',
)->green();
// Start everything with: php artisan dev
// Further reading: https://laravel.com/framework/docs/changelog#add-artisan-dev-command