app.php 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Name
  6. |--------------------------------------------------------------------------
  7. |
  8. | This value is the name of your application. This value is used when the
  9. | framework needs to place the application's name in a notification or
  10. | any other location as required by the application or its packages.
  11. |
  12. */
  13. 'name' => env('APP_NAME', 'Leadership Health'),
  14. 'enableSockets' => env('ENABLE_SOCKETS', true),
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Application Environment
  18. |--------------------------------------------------------------------------
  19. |
  20. | This value determines the "environment" your application is currently
  21. | running in. This may determine how you prefer to configure various
  22. | services the application utilizes. Set this in your ".env" file.
  23. |
  24. */
  25. 'env' => env('APP_ENV', 'production'),
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Application Debug Mode
  29. |--------------------------------------------------------------------------
  30. |
  31. | When your application is in debug mode, detailed error messages with
  32. | stack traces will be shown on every error that occurs within your
  33. | application. If disabled, a simple generic error page is shown.
  34. |
  35. */
  36. 'debug' => (bool) env('APP_DEBUG', false),
  37. /*
  38. |--------------------------------------------------------------------------
  39. | Application URL
  40. |--------------------------------------------------------------------------
  41. |
  42. | This URL is used by the console to properly generate URLs when using
  43. | the Artisan command line tool. You should set this to the root of
  44. | your application so that it is used when running Artisan tasks.
  45. |
  46. */
  47. 'url' => env('APP_URL', 'http://localhost'),
  48. 'asset_url' => env('ASSET_URL', null),
  49. 'agora_appid' => env('AGORA_APPID'),
  50. 'agora_mode' => env('AGORA_MODE'),
  51. 'backend_ws_url' => env('BACKEND_WS_URL'),
  52. 'hrm2_url' => env('HRM2_URL'),
  53. 'asset_version' => 3,
  54. /*
  55. |--------------------------------------------------------------------------
  56. | Application Timezone
  57. |--------------------------------------------------------------------------
  58. |
  59. | Here you may specify the default timezone for your application, which
  60. | will be used by the PHP date and date-time functions. We have gone
  61. | ahead and set this to a sensible default for you out of the box.
  62. |
  63. */
  64. 'timezone' => 'UTC',
  65. /*
  66. |--------------------------------------------------------------------------
  67. | Application Locale Configuration
  68. |--------------------------------------------------------------------------
  69. |
  70. | The application locale determines the default locale that will be used
  71. | by the translation service provider. You are free to set this value
  72. | to any of the locales which will be supported by the application.
  73. |
  74. */
  75. 'locale' => 'en',
  76. /*
  77. |--------------------------------------------------------------------------
  78. | Application Fallback Locale
  79. |--------------------------------------------------------------------------
  80. |
  81. | The fallback locale determines the locale to use when the current one
  82. | is not available. You may change the value to correspond to any of
  83. | the language folders that are provided through your application.
  84. |
  85. */
  86. 'fallback_locale' => 'en',
  87. /*
  88. |--------------------------------------------------------------------------
  89. | Faker Locale
  90. |--------------------------------------------------------------------------
  91. |
  92. | This locale will be used by the Faker PHP library when generating fake
  93. | data for your database seeds. For example, this will be used to get
  94. | localized telephone numbers, street address information and more.
  95. |
  96. */
  97. 'faker_locale' => 'en_US',
  98. /*
  99. |--------------------------------------------------------------------------
  100. | Encryption Key
  101. |--------------------------------------------------------------------------
  102. |
  103. | This key is used by the Illuminate encrypter service and should be set
  104. | to a random, 32 character string, otherwise these encrypted strings
  105. | will not be safe. Please do this before deploying an application!
  106. |
  107. */
  108. 'key' => env('APP_KEY'),
  109. 'cipher' => 'AES-256-CBC',
  110. /*
  111. |--------------------------------------------------------------------------
  112. | Autoloaded Service Providers
  113. |--------------------------------------------------------------------------
  114. |
  115. | The service providers listed here will be automatically loaded on the
  116. | request to your application. Feel free to add your own services to
  117. | this array to grant expanded functionality to your applications.
  118. |
  119. */
  120. 'providers' => [
  121. /*
  122. * Laravel Framework Service Providers...
  123. */
  124. Illuminate\Auth\AuthServiceProvider::class,
  125. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  126. Illuminate\Bus\BusServiceProvider::class,
  127. Illuminate\Cache\CacheServiceProvider::class,
  128. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  129. Illuminate\Cookie\CookieServiceProvider::class,
  130. Illuminate\Database\DatabaseServiceProvider::class,
  131. Illuminate\Encryption\EncryptionServiceProvider::class,
  132. Illuminate\Filesystem\FilesystemServiceProvider::class,
  133. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  134. Illuminate\Hashing\HashServiceProvider::class,
  135. Illuminate\Mail\MailServiceProvider::class,
  136. Illuminate\Notifications\NotificationServiceProvider::class,
  137. Illuminate\Pagination\PaginationServiceProvider::class,
  138. Illuminate\Pipeline\PipelineServiceProvider::class,
  139. Illuminate\Queue\QueueServiceProvider::class,
  140. Illuminate\Redis\RedisServiceProvider::class,
  141. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  142. Illuminate\Session\SessionServiceProvider::class,
  143. Illuminate\Translation\TranslationServiceProvider::class,
  144. Illuminate\Validation\ValidationServiceProvider::class,
  145. Illuminate\View\ViewServiceProvider::class,
  146. /*
  147. * Package Service Providers...
  148. */
  149. /*
  150. * Application Service Providers...
  151. */
  152. App\Providers\AppServiceProvider::class,
  153. App\Providers\AuthServiceProvider::class,
  154. // App\Providers\BroadcastServiceProvider::class,
  155. App\Providers\EventServiceProvider::class,
  156. App\Providers\RouteServiceProvider::class,
  157. Barryvdh\DomPDF\ServiceProvider::class,
  158. Barryvdh\Debugbar\ServiceProvider::class,
  159. ],
  160. /*
  161. |--------------------------------------------------------------------------
  162. | Class Aliases
  163. |--------------------------------------------------------------------------
  164. |
  165. | This array of class aliases will be registered when this application
  166. | is started. However, feel free to register as many as you wish as
  167. | the aliases are "lazy" loaded so they don't hinder performance.
  168. |
  169. */
  170. 'aliases' => [
  171. 'App' => Illuminate\Support\Facades\App::class,
  172. 'Arr' => Illuminate\Support\Arr::class,
  173. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  174. 'Auth' => Illuminate\Support\Facades\Auth::class,
  175. 'Blade' => Illuminate\Support\Facades\Blade::class,
  176. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  177. 'Bus' => Illuminate\Support\Facades\Bus::class,
  178. 'Cache' => Illuminate\Support\Facades\Cache::class,
  179. 'Config' => Illuminate\Support\Facades\Config::class,
  180. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  181. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  182. 'DB' => Illuminate\Support\Facades\DB::class,
  183. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  184. 'Event' => Illuminate\Support\Facades\Event::class,
  185. 'File' => Illuminate\Support\Facades\File::class,
  186. 'Gate' => Illuminate\Support\Facades\Gate::class,
  187. 'Hash' => Illuminate\Support\Facades\Hash::class,
  188. 'Http' => Illuminate\Support\Facades\Http::class,
  189. 'Lang' => Illuminate\Support\Facades\Lang::class,
  190. 'Log' => Illuminate\Support\Facades\Log::class,
  191. 'Mail' => Illuminate\Support\Facades\Mail::class,
  192. 'Notification' => Illuminate\Support\Facades\Notification::class,
  193. 'Password' => Illuminate\Support\Facades\Password::class,
  194. 'Queue' => Illuminate\Support\Facades\Queue::class,
  195. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  196. 'Redis' => Illuminate\Support\Facades\Redis::class,
  197. 'Request' => Illuminate\Support\Facades\Request::class,
  198. 'Response' => Illuminate\Support\Facades\Response::class,
  199. 'Route' => Illuminate\Support\Facades\Route::class,
  200. 'Schema' => Illuminate\Support\Facades\Schema::class,
  201. 'Session' => Illuminate\Support\Facades\Session::class,
  202. 'Storage' => Illuminate\Support\Facades\Storage::class,
  203. 'Str' => Illuminate\Support\Str::class,
  204. 'URL' => Illuminate\Support\Facades\URL::class,
  205. 'Validator' => Illuminate\Support\Facades\Validator::class,
  206. 'View' => Illuminate\Support\Facades\View::class,
  207. 'PDF' => Barryvdh\DomPDF\Facade::class,
  208. 'Debugbar' => Barryvdh\Debugbar\Facade::class,
  209. ],
  210. ];