walterwoshid/laravel-sail-for-windows

Windows (PowerShell) support for Laravel Sail on Windows.

1.0.0 2024-02-12 22:42 UTC

This package is auto-updated.

Last update: 2024-04-12 23:02:51 UTC


README

License: MIT Twitter: @WalterWoshid PHP: ^8.0 Packagist

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.