After you download your laravel application, run the following command to have sail available within your project as seen in the official Laravel’s documentation:
docker run --rm
-u "$(id -u):$(id -g)"
-v "$(pwd):/var/www/html"
-w /var/www/html
laravelsail/php84-composer:latest
composer install --ignore-platform-reqs