How to register a class into service provider in Lumen? -


i've installed lumen , need install reliese laravel in order create models database exists.

as can see in reliese docs, i'm going need add service provider config/app.php file within providers key:

// ... 'providers' => [     /*      * package service providers...      */      reliese\coders\codersserviceprovider::class, ], // ... 

the point there no config\app.php in lumen;

    'providers' => [        illuminate\auth\authserviceprovider::class,       illuminate\broadcasting\broadcastserviceprovider::class,       illuminate\bus\busserviceprovider::class,       ...      'aliases' => [        'app' => illuminate\support\facades\app::class,       'artisan' => illuminate\support\facades\artisan::class,       ... 

so, question how add class service provider


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -