Brotzka / laravel-dotenv-editor

A Laravel package for editing the .env file dynamically.
366 stars 80 forks source link

Target class [admin] does not exist. #85

Open dexter288 opened 1 year ago

dexter288 commented 1 year ago

Illuminate\ Contracts\ Container\ BindingResolutionException Target class [admin] does not exist. PHP 8.1.0 laravel version 9.34.0

skhairipulse commented 6 months ago

/ Default view / 'template' => 'dotenv-editor::master', 'overview' => 'dotenv-editor::overview',

/* This is my custom view, do not using */
// 'template'        => 'adminlte::page',
// 'overview'        => 'dotenv-editor::overview-adminlte',

// Config route group
'route'           => [
    'namespace'  => 'Brotzka\DotenvEditor\Http\Controllers',
    'prefix'     => 'admin/env',
    'as'         => 'admin.env.',
    //'middleware' => ['web', 'admin'],
],

made this changes for the route to work

AhmedHelalAhmed commented 1 month ago

@skhairipulse these changes works for me Thanks