2017 © Pedro Peláez
 

library laravel-dotenv-editor

A package for editing the .env file in your Laravel root.

image

brotzka/laravel-dotenv-editor

A package for editing the .env file in your Laravel root.

  • Monday, July 2, 2018
  • by Brotzka
  • Repository
  • 8 Watchers
  • 201 Stars
  • 22,607 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 36 Forks
  • 10 Open issues
  • 18 Versions
  • 11 % Grown

The README.md

Codacy Badge Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Edit your Laravel .env file

This package offers you the possibility to edit your .env dynamically through a controller or model., (*2)

The current version (2.x) ships with a graphical user interface based on VueJS to offer you a very simple implementation of all features., (*3)

List of available functions: - check, if a given key exists - get the value of a key - get the complete content of your .env - get the content as JSON - change existing values - add new key-value-pairs - delete existing key-value-pairs - create/restore/delete backups - list all backups - get the content of a backup - enable auto-backups - check, if auto-backups are enabled or not - get and set a backup-path, (*4)

Here are some images showing the gui which ships with the current version:, (*5)

Overview Overview with loaded content Edit an entry Adding a new key-value-pair Backups Showing the content of a backup More options for backups Uploading Backups, (*6)

Installation

Visit the Wiki-page to get more Information., (*7)

Examples

The following example shows an controller with a method, in which we change some values from the .env. Make sure, the entries you want to change, really exist in your .env., (*8)

namespace App\Http\Controllers;

use Brotzka\DotenvEditor\DotenvEditor;

class EnvController extends Controller
{
    public function test(){
        $env = new DotenvEditor();

        $env->changeEnv([
            'TEST_ENTRY1'   => 'one_new_value',
            'TEST_ENTRY2'   => $anotherValue,
        ]);
    }
}

For more exmaples visit the Wiki., (*9)

The Versions

02/07 2018

dev-master

9999999-dev

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

02/07 2018

v2.0.14

2.0.14.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

24/06 2018

v2.0.13

2.0.13.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

01/06 2018

v2.0.12

2.0.12.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

30/05 2018

v2.0.11

2.0.11.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

04/01 2018

v2.0.9

2.0.9.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

07/05 2017

v2.0.8

2.0.8.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

11/03 2017

v2.0.7

2.0.7.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

27/01 2017

v2.0.6

2.0.6.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

24/11 2016

v2.0.5

2.0.5.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

13/11 2016

v2.0.4

2.0.4.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

10/10 2016

v2.0.3

2.0.3.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

14/09 2016

v2.0.2

2.0.2.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

01/08 2016

v2.0.1

2.0.1.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

31/07 2016

v2.0.0

2.0.0.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

18/05 2016

v1.2

1.2.0.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

15/05 2016

v1.1

1.1.0.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor

12/05 2016

v1.0

1.0.0.0

A package for editing the .env file in your Laravel root.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Fabian Hagen

laravel dotenv dotenv-editor