stephenkhoo / laravel-vapor-deploy-helper
Helpers for laravel deployment with vapor
Installs: 2 093
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
This package is not auto-updated.
Last update: 2024-05-17 10:50:12 UTC
README
Attempt to solve the problem faced by Window user that cannot override the COMPOSER_MIRROR_PATH_REPOS value from command line.
Add this step to the build step in vapor and remove the override code php artisan build:composer-mirror
.
This will allow different environments still able to have COMPOSER_MIRROR_PATH_REPOS override to true only at deploy build step.
The update will look like this Before
build: - 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
After
build: - 'php artisan build:composer-mirror' - 'composer install --no-dev'
To do
- Installation command