stephenkhoo/laravel-vapor-deploy-helper

There is no license information available for the latest version (1.0.0) of this package.

Helpers for laravel deployment with vapor

1.0.0 2022-10-06 04:19 UTC

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