jackiedo / laravel-dotenv-editor Goto Github PK
View Code? Open in Web Editor NEWThe .env file editor tool for Laravel 5.8+
License: MIT License
The .env file editor tool for Laravel 5.8+
License: MIT License
php artisan dotenv:get-backups
[ReflectionException]
Method Jackiedo\DotenvEditor\Console\Commands\DotenvGetBackupsCommand::handle() does not exist
Are there plans to make this package compatible with Laravel 9?
After #37 is merged, someone who has a good knowledge of regex should review this package. Laravel 5.8 started using phpdotenv v3 which introducted some changes how the values are parsed. More info: https://github.com/vlucas/phpdotenv/blob/master/UPGRADING.md
When I use his package in my laravel 8x application, my env() function showing null value and stop working. How to use bought env() function and your package at a same time? What should I do for this?
vendor/jackiedo/dotenv-editor/src/DotenvEditor.php:805
803▕ $dotenvPackage = array_values(array_filter($arrayContent['packages'], function ($packageInfo, $index) {
804▕ return 'vlucas/phpdotenv' === $packageInfo['name'];
➜ 805▕ }, ARRAY_FILTER_USE_BOTH))[0];
I need to build a Laravel Zero (https://github.com/laravel-zero/laravel-zero) application and every Composer dependencies must be in require-dev
(except PHP version), as per documentation (https://laravel-zero.com/docs/build-a-standalone-application#distribute-via-packagist).
This way, $arrayContent['packages']
is empty.
@JackieDo Can you please fix this? Thank you very much
I try write same as docs but, it couldn't work , i want to change .env for MAIL_USERNAME & MAIL_PASSWORD. i need help :)
Hi,
I think backup folder should only be checked and created when doing a backup. I have autoBackup => false
in app\config\dotenv-editor.php
but backup folder is being created every time I call DotenvEditor
The line above will return the following warning on PHP 8.1 :
PHP Deprecated: auto_detect_line_endings is deprecated in {...}/jackiedo/dotenv-editor/src/Jackiedo/DotenvEditor/DotenvReader.php on line 138
https://wiki.php.net/rfc/deprecations_php_8_1#auto_detect_line_endings_ini_setting
Hi, nice project - it would be very interesting to read about the main differences between this project and https://github.com/Brotzka/laravel-dotenv-editor - what features does this project provide that does not come with the one mentioned? Thanks!
When you try to edit the value of a .env key with the $this->editor instantiated in the constructor or with the DotenvEditor facede the value isn't updating in the file.
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.