Level 73
According to the documentation Envoy only works on Mac and Linux operating systems so you can't run it on your windows machine.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to deploy a project to the server. I am using shared web hosting.
Is it possible to use laravel envoy?
ref: https://laravel.com/docs/6.x/envoy
envoy.blade.php
@servers(['localhost' => '127.0.0.1', 'www' => ['[email protected]']])
{{-- envoy run deploy --}}
@task('deploy', ['on' => 'www'])
cd xampp/htdocs/aws_admin
php artisan down --message="Deploying New Code"
git pull origin master
composer install --optimize-autoloader --no-dev
php artisan config:clear
php artisan config:cache
php artisan route:clear
php artisan route:cache
npm install --production
php artisan migrate --force
php artisan up
@endtask
Will this be possible?
composer global require laravel/envoy
F:\xampp\htdocs\aws_admin>envoy run deploy 'envoy' is not recognized as an internal or external command, operable program or batch file.
Any clue why?
Please or to participate in this conversation.