Skip to content

Releases: ariaieboy/laravel-sail

1.5.0

28 Jul 15:10
55111e4
Compare
Choose a tag to compare

add spint as sp ./vendor/bin/pint alias

1.4.0

27 Jul 20:31
Compare
Choose a tag to compare

added some new aliases:

sbn = sail build --no-cache
sy = sail yarn

saqw = sail artisan queue:work
saql = sail artisan queue:listen
sasw = sail artisan schedule:work
sasr = sail artisan schedule:run

1.3.0

27 Jul 20:19
Compare
Choose a tag to compare

added sroot alias for sail root-shell

v1.2.0

03 Jul 10:03
568bc90
Compare
Choose a tag to compare

laravel will use laravel-vite instead of laravel-mix in laravel 9. and unlike laravel-mix, it will use:
npm run dev for development building with watching.
npm run build for production building.

we have sdev in our aliases but we didn't have any alias for npm run build after this commit you can use sbuild to run npm run build

1.1.0

04 Apr 11:56
df999a8
Compare
Choose a tag to compare

added 2 new alias for laravel sail:
s cinit for installing composer dependencies in existing applications using composer docker image.
s ninit for installing npm packages in existing applications using npm docker image.

when you pull an existing application from remote services like github the composer and npm dependencies are not installed.
for running sail commands you need to install composer dependencies first you need to have php and composer installed on your local machine or you can use this new s cinit command to install composer deps using docker.

use case of s ninit with laravel is when you use laravel octane with --watch flag if you don't install the npm packages ,octane gonna crash because the --watch flag is depends on chokedir that is a npm package so you need install npm packages before you want run sail up.

in both commands you can pass the version of the php or node using the second argument:
for example :
s cinit 80 will run composer using php 8.0
and
s ninit 16 will run npm using node 16

by default s cinit use php 8.1 and s ninit use node 17

1.0.0

27 Oct 18:05
6591ea4
Compare
Choose a tag to compare
Update README.md