laravel / sail

Docker files for running a basic Laravel application.
https://laravel.com/docs/sail
MIT License
1.68k stars 475 forks source link

Add Windows (Powershell) support #665

Closed WalterWoshid closed 8 months ago

WalterWoshid commented 8 months ago

image image

WalterWoshid commented 8 months ago

Some issues with the binary file and Composer when installing it on an example project, checking it out currently

WalterWoshid commented 8 months ago

I have fixed the issue. Adding the sail.ps1 script to the composer.json bin section won't work, because it converts it into a bash script. I have added a new publish item which copies the sail.ps1 file to the bin folder of Composer with the laravel-assets tag. This should mimick Composers binary copying.