2021-09-26 15:25:58 +02:00
|
|
|
<!-- DO NOT EDIT THIS FILE! -->
|
|
|
|
<!-- Instead edit recipe/deploy/vendors.php -->
|
|
|
|
<!-- Then run bin/docgen -->
|
|
|
|
|
2022-07-26 09:18:44 +02:00
|
|
|
# Vendors Recipe
|
2021-09-26 15:25:58 +02:00
|
|
|
|
2022-09-12 12:29:44 +02:00
|
|
|
```php
|
|
|
|
require 'recipe/deploy/vendors.php';
|
|
|
|
```
|
|
|
|
|
2021-09-26 15:25:58 +02:00
|
|
|
[Source](/recipe/deploy/vendors.php)
|
|
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
### composer_action
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/vendors.php#L4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
|
|
'install'
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### composer_options
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/vendors.php#L6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
|
|
'--verbose --prefer-dist --no-progress --no-interaction --no-dev --optimize-autoloader'
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2021-10-18 18:29:14 +02:00
|
|
|
### bin/composer
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/vendors.php#L11)
|
|
|
|
|
|
|
|
Returns Composer binary path in found. Otherwise try to install latest
|
|
|
|
composer version to `.dep/composer.phar`. To use specific composer version
|
|
|
|
download desired phar and place it at `.dep/composer.phar`.
|
2022-09-12 12:53:42 +02:00
|
|
|
:::info Autogenerated
|
|
|
|
The value of this configuration is autogenerated on access.
|
|
|
|
:::
|
|
|
|
|
2021-10-18 18:29:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
## Tasks
|
|
|
|
|
|
|
|
### deploy:vendors
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/vendors.php#L27)
|
|
|
|
|
2021-11-08 22:59:39 +01:00
|
|
|
Installs vendors.
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|