Skip to content

Commit

Permalink
(chore): services configs moved into app configs
Browse files Browse the repository at this point in the history
  • Loading branch information
izniburak committed Feb 4, 2023
1 parent 39759e9 commit c5beb43
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 61 deletions.
54 changes: 54 additions & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,58 @@

'https' => env('HTTPS', false),

/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
|
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
|
*/

'providers' => [

/*
* Nur Framework Service Providers...
*/
Nur\Providers\Auth::class,
Nur\Providers\Blade::class,
// Nur\Providers\Cache::class,
Nur\Providers\Database::class,
Nur\Providers\Hash::class,
Nur\Providers\Mail::class,
// Nur\Providers\Translation::class,

/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,

],

/*
|--------------------------------------------------------------------------
| Class Aliases
|--------------------------------------------------------------------------
|
| This array of class aliases will be registered when this application
| is started. However, feel free to register as many as you wish as
| the aliases are "lazy" loaded so they don't hinder performance.
|
*/

'aliases' => [

'Auth' => Nur\Facades\Auth::class,
// 'Cache' => Nur\Facades\Cache::class,
'Config' => Nur\Facades\Config::class,
'DB' => Nur\Facades\DB::class,
'Hash' => Nur\Facades\Hash::class,
'Jwt' => Nur\Facades\Jwt::class,
'Mail' => Nur\Facades\Mail::class,

],

];
61 changes: 0 additions & 61 deletions config/services.php

This file was deleted.

0 comments on commit c5beb43

Please sign in to comment.