walterwoshid / laravel-sail-for-windows
Windows (PowerShell) support for Laravel Sail on Windows.
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Language:PowerShell
Requires
- php: ^8.0
- illuminate/support: ^9.52.16|^10.0|^11.0
- laravel/sail: ^1.0
This package is auto-updated.
Last update: 2024-11-13 00:11:01 UTC
README
Laravel Sail for Windows
Windows (PowerShell) support for Laravel Sail on Windows.
Installation
composer require --dev walterwoshid/laravel-sail-for-windows
Usage
-
Run the
.\vendor\bin\sail.ps1
script in your PowerShell terminal. -
You can run
.\vendor\bin\sail.ps1 artisan vendor:publish --tag=sail-bin
to copy the script to your project root and use.\sail.ps1
instead. -
You can also add a
sail
alias to your PowerShell profile to run the script.- Run in PowerShell:
notepad $profile
- Add the following line to your PowerShell profile:
New-Alias sail .\vendor\bin\sail.ps1
- Save and close the file.
- Run
sail
instead of.\vendor\bin\sail.ps1
in your terminal.
Show your support
Give a ⭐ if this project helped you!
📝 License
Copyright © 2023 Valentin Wotschel.
This project is MIT licensed.