library dot-env-editor
        An editor for changing dotEnv file content
    
            
                
                    
                    
                    
                    
                        
                            
    
        
        
            makbari/dot-env-editor
            An editor for changing dotEnv file content
         
     
    
        
            -  Wednesday, September 27, 2017
 
                                -  by majidakbari
 
                            -  Repository
 
            -  2 Watchers
 
            -  4 Stars
 
            -  287 Installations
 
        
     
    
        
                            - PHP
 
            
            -  1 Dependents
 
            -  0 Suggesters
 
            -  0 Forks
 
            -  0 Open issues
 
            -  6 Versions
 
            -  7075 % Grown
 
        
     
 
    
        
            
    
    
    
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., (*1)
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, (*2)
         
     
 
    
        
            
                                    
                        
                        
                        
                            dev-master
                            9999999-dev
                                                        
                                An editor for changing dotEnv file content
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                        
by 
                                                                                             
                                                                                                                                    Majid Akbari
                                                                                    
                                    
                                
                            
                            
                                
                            
                         
                     
                                    
                        
                        
                        
                            0.1.4
                            0.1.4.0
                                                        
                                An editor for changing dotEnv file content
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                        
by 
                                                                                             
                                                                                                                                    Majid Akbari
                                                                                    
                                    
                                
                            
                            
                                
                            
                         
                     
                                    
                        
                        
                        
                            0.1.2
                            0.1.2.0
                                                        
                                An editor for changing dotEnv file content
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                        
by 
                                                                                             
                                                                                                                                    Majid Akbari
                                                                                    
                                    
                                
                            
                            
                                
                            
                         
                     
                                    
                        
                        
                        
                            0.1.3
                            0.1.3.0
                                                        
                                An editor for changing dotEnv file content
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                        
by 
                                                                                             
                                                                                                                                    Majid Akbari
                                                                                    
                                    
                                
                            
                            
                                
                            
                         
                     
                                    
                        
                        
                        
                            0.1.1
                            0.1.1.0
                                                        
                                An editor for changing dotEnv file content
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                        
by 
                                                                                             
                                                                                                                                    Majid Akbari
                                                                                    
                                    
                                
                            
                            
                                
                            
                         
                     
                                    
                        
                        
                        
                            0.1.0
                            0.1.0.0
                                                        
                                An editor for changing dotEnv file content
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                        
by 
                                                                                             
                                                                                                                                    Majid Akbari