Skip to content

Feature request: generate a .env.local.php and use a SymfonyBootEnv adapter  #27

@dogawaf

Description

@dogawaf

Hi Helmut

First of all, thx for sharing again awesome code with TYPO3 community. It is very valuable.

Using symfony framework (and symfon/flex), I see performance benefits on production system with the help of symfony:dump-env command.

Quoting the symfony doc:

In production, the .env files are also parsed and loaded on each request. So the easiest way to define env vars is by deploying a .env.local file to your production server(s) with your production values.

To improve performance, you can optionally run the dump-env command (available in Symfony Flex 1.2 or later):

Would it be possible that helhum/dotenv-connector also ships this functionality in order to make TYPO3+dotenv even faster?
The source code of the command in symfony/flex: https://github.com/symfony/flex/blob/master/src/Command/DumpEnvCommand.php

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions