DotEnvEditor
An editor for changing dotEnv file content
Install / Use
/learn @majidakbari/DotEnvEditorREADME
DotEnv Editor
Simple editor for edit .env file content using php
Installation with Composer
curl -s http://getcomposer.org/installer | php
php composer.phar require makbari/dot-env-editor
Usage
All you need to do is to create an object of Handler class and pass it your config path.
Example
$handler = new \makbari\DotEnvEditor\handler\Handler("Path_To_Your_Config");
$handler->add(['key' => 'value']);
Available methods
overview() - To list all .env content
add() - Add new key => value to .env file
update() - Update existing value in .env file
getDetails() - List all .env file content in json format
createBackup() - Create a backup from .env file
deleteBackup() - Delete an existing backup
restore() - Restore backup
delete() - Delete an existing key => value from .env file
Related Skills
docs-writer
98.8k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
332.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
arscontexta
2.8kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
