Text-based UIs (TUIs) are acquiring prevalence in the Laravel environment, because of the strong abilities of Laravel Prompts. Engineers are utilizing this innovation to make creative TUIs for various errands. One such instrument is Solo for Laravel, a flexible TUI created by Aaron Francis.
Solo is a bundle that permits you to run various orders immediately, to support nearby turn of events. With Solo you can have every one of the orders expected to run and screen parts of your application behind a solitary order:
php craftsman solo
When begun each order will run in its own tab in your terminal permitting simple acces to begin and view things like your application logs, HTTP demands, Vite, Lines, Reverb, Half quart CS fixes, and considerably more.
To introduce Solo, you can run:
author require aaronfrancis/solo – – dev
Then, at that point, introduce the Performance Specialist co-op:
php craftsman solo:install
lastly run:
php craftsman solo
Solo permits you to execute any order characterized inside your SoloServiceProvider. This gives you the adaptability to alter the device to your precise necessities. Add or eliminate orders, and even pick either Light and Dull subjects (or make your own) to make a customized order line insight.
Solo::useTheme(‘dark’)
// Orders that auto start.
->addCommands([
EnhancedTailCommand::make(‘Logs’, ‘tail – f – n 100 ‘ . storage_path(‘logs/laravel.log’)),
‘Vite’ => ‘npm run dev’,
// ‘HTTP’ => ‘php craftsman serve’,
‘About’ => ‘php craftsman solo:about’
])
Note: As of the composition of this article the bundle is still in dynamic turn of events, in any case, it tends to be utilized at the present time and you can track with as Aaron has been doing a few live streams all through his improvement cycle.