panlatent / yii2-dotenv Goto Github PK
View Code? Open in Web Editor NEWPHP dotenv for Yii2 framework
License: MIT License
PHP dotenv for Yii2 framework
License: MIT License
Hello,
the package working fine with me on local machine, while when i deploy it using docker on kebuernetes server not working
I'm using Yii2, Nginx server, php 8.2
How can i know what is the error exactly? Is there any step i can do?
Thank you
As Laravel dotEnv method loads from .env file or from apache SetEnv config, may this package to get the env from the apache SetEnv?
It would be nice to make use of the existing validation system of phpdotenv, for example:
$dotenv->required('DATABASE_DSN');
Maybe make this available via the yii event system?
Hi,
Any plans to support PHP 8.1 ?
The locked version of vlucas/phpdotenv
has some deprecated functions.
One of the nice features of the Laravel framework is to use a separate .env file for testing (.env.test). Could this also be achieved used yii2-dotenv?
I've tried setting this up using the line define('DOTENV_FILE', '.env.test');
in common/config/codeception-local.php and yii-test. Somehow loading of fixtures on the second test seem to keep failing now (empty). It's not 100% clear yet if these are related, I have to add.
Thanks,
Andre
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.