2021-09-26 15:25:58 +02:00
|
|
|
<!-- DO NOT EDIT THIS FILE! -->
|
|
|
|
<!-- Instead edit recipe/symfony.php -->
|
|
|
|
<!-- Then run bin/docgen -->
|
|
|
|
|
|
|
|
# symfony
|
|
|
|
|
|
|
|
[Source](/recipe/symfony.php)
|
|
|
|
|
|
|
|
* Requires
|
|
|
|
* [common](/docs/recipe/common.md)
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
### symfony_version
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### shared_dirs
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L14)
|
|
|
|
|
2021-10-18 18:29:14 +02:00
|
|
|
Overrides [shared_dirs](/docs/recipe/deploy/shared.md#shared_dirs) from `recipe/deploy/shared.php`.
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
|
|
[
|
|
|
|
'var/log',
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### shared_files
|
2021-11-03 16:29:09 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L18)
|
2021-09-26 15:25:58 +02:00
|
|
|
|
2021-10-18 18:29:14 +02:00
|
|
|
Overrides [shared_files](/docs/recipe/deploy/shared.md#shared_files) from `recipe/deploy/shared.php`.
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
|
|
[
|
|
|
|
'.env.local'
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### writable_dirs
|
2021-11-03 16:29:09 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L22)
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `recipe/deploy/writable.php`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
|
|
[
|
|
|
|
'var'
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### migrations_config
|
2021-11-03 16:29:09 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L26)
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-15 21:20:50 +01:00
|
|
|
### doctrine_schema_validate_config
|
2021-11-03 16:29:09 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L28)
|
2021-10-18 18:29:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-15 21:20:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
### bin/console
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L30)
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-10-18 18:29:14 +02:00
|
|
|
```php title="Default value"
|
|
|
|
'{{bin/php}} {{release_or_current_path}}/bin/console'
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2021-09-26 15:25:58 +02:00
|
|
|
### console_options
|
2022-01-15 21:20:50 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L32)
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Tasks
|
|
|
|
|
|
|
|
### database:migrate
|
2022-01-15 21:20:50 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L37)
|
2021-09-26 15:25:58 +02:00
|
|
|
|
2021-11-08 22:59:39 +01:00
|
|
|
Migrates database.
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-15 21:20:50 +01:00
|
|
|
### doctrine:schema:validate
|
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L47)
|
|
|
|
|
|
|
|
Validate the Doctrine mapping files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-09-26 15:25:58 +02:00
|
|
|
### deploy:cache:clear
|
2022-01-15 21:20:50 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L52)
|
2021-09-26 15:25:58 +02:00
|
|
|
|
2021-11-08 22:59:39 +01:00
|
|
|
Clears cache.
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### deploy
|
2022-01-15 21:20:50 +01:00
|
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L61)
|
2021-09-26 15:25:58 +02:00
|
|
|
|
2021-11-08 22:59:39 +01:00
|
|
|
Deploys project.
|
2021-09-26 15:25:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This task is group task which contains next tasks:
|
|
|
|
* [deploy:prepare](/docs/recipe/common.md#deployprepare)
|
|
|
|
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deployvendors)
|
|
|
|
* [deploy:cache:clear](/docs/recipe/symfony.md#deploycacheclear)
|
|
|
|
* [deploy:publish](/docs/recipe/common.md#deploypublish)
|
|
|
|
|
|
|
|
|