Solo for Laravel simplifies local development by allowing you to execute multiple commands in their own tabs with a single command: php artisan solo
. This package provides an easy way to manage your application’s commands, enhancing your workflow and productivity. Perfect for developers looking to streamline their command executions.
Solo for Laravel is a powerful package designed to streamline your local development workflow by allowing you to run multiple commands simultaneously under a single command. This innovative tool enhances productivity by launching each command in its own terminal tab, making it easier to manage various aspects of your application in real time.
Features:
-
Single Command Execution: Instead of running each command manually, simply execute
php artisan solo
and kick-start all the defined commands in yourSoloServiceProvider
effortlessly. -
Easy Customization: Modify your commands by adjusting the
SoloServiceProvider
, where you can add, remove, and customize which commands to run. Whether you want to auto-start or run them lazily, the flexibility is at your fingertips.Solo::useTheme('dark') ->addCommands([ EnhancedTailCommand::make('Logs', 'tail -f -n 100 ' . storage_path('logs/laravel.log')), 'Vite' => 'npm run dev', 'About' => 'php artisan solo:about' ]) ->addLazyCommands([ 'Queue' => 'php artisan queue:listen --tries=1' ]);
-
User-Friendly Dashboard: Navigate through terminals easily with left/right arrow keys and scroll with up/down arrows. Hotkeys within the dashboard provide quick access to commands, enhancing user experience.
-
Custom Theming: Choose from light and dark themes or create your own to suit your preferences. Simply use the
useTheme
method or configure it inconfig/solo.php
for more customization.Solo::useTheme('dark'); // Switch to dark theme
-
Community Support: Developed by Aaron Francis, Solo thrives on user feedback and contributions. You can connect with Aaron through platforms like Twitter and YouTube.
Installation & Usage:
To install Solo, use Composer to require the package and set up your service provider accordingly. Once everything is set, just run php artisan solo
to initiate your commands.
Additional Notes:
Solo is currently in beta, so please use it with caution. It has been developed with inspiration from Joe Tannenbaum's resources which include essential tools and courses for improving your command line experience.
Join us in enhancing the Laravel development ecosystem and streamline your work with Solo!