WalterWoshid / laravel-sail-for-windows

Windows (PowerShell) support for Laravel Sail on Windows.

Home Page:https://github.com/WalterWoshid/laravel-sail-for-windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Sail for Windows

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.

About

Windows (PowerShell) support for Laravel Sail on Windows.

https://github.com/WalterWoshid/laravel-sail-for-windows

License:MIT License


Languages

Language:PowerShell 93.3%Language:PHP 6.7%