Terminal shortcut for Laravel Sail commands
ignacio-dev/laravel-sail-shortcut is a Laravel package for terminal shortcut for laravel sail commands.
It currently has 1 GitHub stars and 19 downloads on Packagist (latest version 0.0.1).
Install it with composer require ignacio-dev/laravel-sail-shortcut.
Discover more Laravel packages by ignacio-dev
or browse all Laravel packages to compare alternatives.
Last updated
Terminal shortcut for Laravel Sail commands, so that you can just type ./sail {your-command} instead of vendor/bin/sail {your-command}
First, add the library using composer:
composer require --dev ignacio-dev/laravel-sail-shortcut
Then, you can install the shorcut by running:
artisan sail-shortcut:install
This will add a sail file on the root of your project. You might want to gitignore it to avoid pushing it to production.
To remove it, you can simply run:
artisan sail-shortcut:uninstall
Note: Running the uninstall command will not remove the composer library. You must do that manually.
Once installed, you can start using ./sail instead of vendor/bin/sail.
For example:
./sail up -d
Or
./sail artisan tinker