-
Notifications
You must be signed in to change notification settings - Fork 81
Usage
Fabian Hagen edited this page Aug 1, 2016
·
1 revision
To use the DotenvEditor, you have to include the Class in your controller or model.
Here is an example controller:
namespace App\Http\Controllers;
use Brotzka\DotenvEditor\DotenvEditor;
use Brotzka\DotenvEditor\Exceptions\DotEnvException;
class EnvController extends Controller
{
public function test()
{
$env = new DotenvEditor();
echo $env->getBackupPath();
}
}