laravel-dotenv-editor
laravel-dotenv-editor copied to clipboard
A Laravel package for editing the .env file dynamically.
Hi i have the follwing code in my artisan command. ```php $environment = new DotenvEditor(); $environment->changeEnv(['MOLLIE_ACTIVE' => 'true']); $this->info('Mollie is in onderhoud geplaatst.'); ``` but it gives to follwing output...
adding quote while update value cause an error (ENV couldn't be readed) due to many quotes. Tested on `Laravel 5.4` on `Mac OS X`
Hi, I'm using Laravel 5.3 and I found that `getContent()` gets saved properties directly from `.env` file, while `getValue()` gets current (loaded) property value. And these values can be different...
1. Support for disabled keys and comments: .env supports disabling certain keys by commenting it out with a '#' sign, once can also add comments after a '#' sign. Please...
Here is my routes Route::middleware(['auth:sanctum', 'verified', 'admin'])->group(function () { Route::get('/admin/dashboard', [AdminController::class, 'dashboard'])->name('admin.dashboard'); Controller. public function dashboard() { $todayRecords = AttendanceRecord::with('staff') ->whereDate('scan_time', today()) ->latest() ->get(); $totalStaff = Staff::count(); return view('admin.dashboard', compact('todayRecords',...