Comments (21)
ping @GrahamCampbell @stanlemon
from phpdotenv.
I would like to change the variable nesting to match the bash-style syntax instead of the current PHP-style syntax.
That's my preference too.
I would also like to remove support for spaced values that are not quoted.
there shouldn't be any features of phpdotenv that will break bash evaluation of the
.env
file.
That's a sensible goal and a reasonable time to make that change.
You'd also need to prevent spaces around the =
sign.
Perhaps we should also require double quotes? Is that going too far?
Not if the goal is bash compatibility.
I'm π on all this.
from phpdotenv.
Sounds great, thanks for your continued work on this project!
from phpdotenv.
Any schedule when the new version will be released?
from phpdotenv.
There is no current timeline - I just want to make sure everything is right before the release.
from phpdotenv.
π
from phpdotenv.
Just updated this today, and am awaiting test results for an initial v2 release.
from phpdotenv.
I am already using v2 with success.
from phpdotenv.
Make sure everything still works with the new stricter rule set on .env
files ;)
from phpdotenv.
Everything is working fine. I am using simple .env loader with ${NESTED}
variables.
from phpdotenv.
Perfect. It also passed all the tests, so I guess we're ready for an initial release!
from phpdotenv.
Yay!
I've been running on the latest v2 and all good for me.
from phpdotenv.
FYI there's not mention in the readme of the dotenv()
helper method.
from phpdotenv.
Nor the alternative loaders. π
from phpdotenv.
Very true. Those should at least be in there with a mention.
from phpdotenv.
It'd be great to get a v2 out the door and then try and get it into Laravel 5, which I think it being released in beta this week.
Purely selfish⦠I have a project that I'm upgrading to L5 and I want to use v2 with it, or rather, not have to rework it back into v1. :)
from phpdotenv.
It'd be great to get a v2 out the door and then try and get it into Laravel 5
It's too late for 5.0, it'll be going into 5.1. The final 5.0.0 is released tomorrow or the day after if we hit any issues.
from phpdotenv.
@GrahamCampbell Gotcha, cheers.
from phpdotenv.
What's holding the 2.0 release btw? Anything I can help with?
from phpdotenv.
Does that mean release is coming?
from phpdotenv.
It means the release is going to be a bit different - see #77 for info. I figured we didn't need 2 tickets for this.
from phpdotenv.
Related Issues (20)
- Unable to read the "/tmp/build_2f06b5cf/.env" environment file HOT 1
- auto_detect_line_endings is deprecated (PHP 8.1 + dotenv v2.6.9) HOT 1
- PHP version 7.1 is not supported now HOT 2
- Equals Symbol in last line of multiline variable causes issues. HOT 3
- Save to .env HOT 1
- How to loads many env file, but the extension is .txt HOT 1
- Fatal error: Uncaught Error: Class "Dotenv\Dotenv" not found in HOT 1
- Performance degradation HOT 3
- Question - are there any 'builtin' variables? HOT 3
- Add reader with support for secret files
- loading a .env file from outside the webspace seem to not work
- php 8.2 function getenv() not set HOT 1
- Please dont use $_SERVER HOT 1
- Load AWS system environments HOT 4
- symfony/dotenv Correlation HOT 1
- PHP version 7.4 HOT 1
- How does this help with php_value in .htaccess?
- Is there anyway to use sections created in the .env file? HOT 4
- Fatal error: Uncaught Error: Class "Dotenv\Dotenv" not found in HOT 2
- Can one use Heredoc syntax for multi-line strings? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpdotenv.