deployer/docs/recipe/deploy/vendors.md
Anton Medvedev 6113e5e4f5 Improve docs
2022-09-12 12:53:42 +02:00

59 lines
1.1 KiB
Markdown

<!-- DO NOT EDIT THIS FILE! -->
<!-- Instead edit recipe/deploy/vendors.php -->
<!-- Then run bin/docgen -->
# Vendors Recipe
```php
require 'recipe/deploy/vendors.php';
```
[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'
```
### 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`.
:::info Autogenerated
The value of this configuration is autogenerated on access.
:::
## Tasks
### deploy:vendors
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/vendors.php#L27)
Installs vendors.