PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/config/app.php

https://bitbucket.org/rhnkyr/hookapp
PHP | 243 lines | 84 code | 33 blank | 126 comment | 0 complexity | 3f1a1c29764ef2683d92f3010860c78d MD5 | raw file
Possible License(s): LGPL-2.1, MPL-2.0-no-copyleft-exception, GPL-2.0, Apache-2.0, MIT
  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. 'name' => 'Hook App',
  13. /*
  14. |--------------------------------------------------------------------------
  15. | Application Environment
  16. |--------------------------------------------------------------------------
  17. |
  18. | This value determines the "environment" your application is currently
  19. | running in. This may determine how you prefer to configure various
  20. | services your application utilizes. Set this in your ".env" file.
  21. |
  22. */
  23. 'env' => env('APP_ENV', 'production'),
  24. /*
  25. |--------------------------------------------------------------------------
  26. | Application Debug Mode
  27. |--------------------------------------------------------------------------
  28. |
  29. | When your application is in debug mode, detailed error messages with
  30. | stack traces will be shown on every error that occurs within your
  31. | application. If disabled, a simple generic error page is shown.
  32. |
  33. */
  34. 'debug' => env('APP_DEBUG', false),
  35. /*
  36. |--------------------------------------------------------------------------
  37. | Application URL
  38. |--------------------------------------------------------------------------
  39. |
  40. | This URL is used by the console to properly generate URLs when using
  41. | the Artisan command line tool. You should set this to the root of
  42. | your application so that it is used when running Artisan tasks.
  43. |
  44. */
  45. 'url' => env('APP_URL', 'http://localhost'),
  46. /*
  47. |--------------------------------------------------------------------------
  48. | Application Timezone
  49. |--------------------------------------------------------------------------
  50. |
  51. | Here you may specify the default timezone for your application, which
  52. | will be used by the PHP date and date-time functions. We have gone
  53. | ahead and set this to a sensible default for you out of the box.
  54. |
  55. */
  56. 'timezone' => 'UTC',
  57. /*
  58. |--------------------------------------------------------------------------
  59. | Application Locale Configuration
  60. |--------------------------------------------------------------------------
  61. |
  62. | The application locale determines the default locale that will be used
  63. | by the translation service provider. You are free to set this value
  64. | to any of the locales which will be supported by the application.
  65. |
  66. */
  67. 'locale' => 'en',
  68. /*
  69. |--------------------------------------------------------------------------
  70. | Application Fallback Locale
  71. |--------------------------------------------------------------------------
  72. |
  73. | The fallback locale determines the locale to use when the current one
  74. | is not available. You may change the value to correspond to any of
  75. | the language folders that are provided through your application.
  76. |
  77. */
  78. 'fallback_locale' => 'en',
  79. /*
  80. |--------------------------------------------------------------------------
  81. | Encryption Key
  82. |--------------------------------------------------------------------------
  83. |
  84. | This key is used by the Illuminate encrypter service and should be set
  85. | to a random, 32 character string, otherwise these encrypted strings
  86. | will not be safe. Please do this before deploying an application!
  87. |
  88. */
  89. 'key' => env('APP_KEY'),
  90. 'cipher' => 'AES-256-CBC',
  91. /*
  92. |--------------------------------------------------------------------------
  93. | Logging Configuration
  94. |--------------------------------------------------------------------------
  95. |
  96. | Here you may configure the log settings for your application. Out of
  97. | the box, Laravel uses the Monolog PHP logging library. This gives
  98. | you a variety of powerful log handlers / formatters to utilize.
  99. |
  100. | Available Settings: "single", "daily", "syslog", "errorlog"
  101. |
  102. */
  103. 'log' => env('APP_LOG', 'daily'),
  104. 'log_level' => env('APP_LOG_LEVEL', 'debug'),
  105. /*
  106. |--------------------------------------------------------------------------
  107. | Autoloaded Service Providers
  108. |--------------------------------------------------------------------------
  109. |
  110. | The service providers listed here will be automatically loaded on the
  111. | request to your application. Feel free to add your own services to
  112. | this array to grant expanded functionality to your applications.
  113. |
  114. */
  115. 'providers' => [
  116. /*
  117. * Laravel Framework Service Providers...
  118. */
  119. Illuminate\Auth\AuthServiceProvider::class,
  120. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  121. Illuminate\Bus\BusServiceProvider::class,
  122. Illuminate\Cache\CacheServiceProvider::class,
  123. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  124. Illuminate\Cookie\CookieServiceProvider::class,
  125. Illuminate\Database\DatabaseServiceProvider::class,
  126. Illuminate\Encryption\EncryptionServiceProvider::class,
  127. Illuminate\Filesystem\FilesystemServiceProvider::class,
  128. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  129. Illuminate\Hashing\HashServiceProvider::class,
  130. Illuminate\Mail\MailServiceProvider::class,
  131. Illuminate\Notifications\NotificationServiceProvider::class,
  132. Illuminate\Pagination\PaginationServiceProvider::class,
  133. Illuminate\Pipeline\PipelineServiceProvider::class,
  134. Illuminate\Queue\QueueServiceProvider::class,
  135. Illuminate\Redis\RedisServiceProvider::class,
  136. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  137. Illuminate\Session\SessionServiceProvider::class,
  138. Illuminate\Translation\TranslationServiceProvider::class,
  139. Illuminate\Validation\ValidationServiceProvider::class,
  140. Illuminate\View\ViewServiceProvider::class,
  141. /*
  142. * Package Service Providers...
  143. */
  144. Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
  145. Dingo\Api\Provider\LaravelServiceProvider::class,
  146. Barryvdh\Cors\ServiceProvider::class,
  147. /*
  148. * Application Service Providers...
  149. */
  150. App\Providers\AppServiceProvider::class,
  151. App\Providers\AuthServiceProvider::class,
  152. // App\Providers\BroadcastServiceProvider::class,
  153. App\Providers\EventServiceProvider::class,
  154. App\Providers\RouteServiceProvider::class,
  155. //Push notification
  156. Berkayk\OneSignal\OneSignalServiceProvider::class,
  157. //Bug tracking
  158. Bugsnag\BugsnagLaravel\BugsnagServiceProvider::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. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  173. 'Auth' => Illuminate\Support\Facades\Auth::class,
  174. 'Blade' => Illuminate\Support\Facades\Blade::class,
  175. 'Bus' => Illuminate\Support\Facades\Bus::class,
  176. 'Cache' => Illuminate\Support\Facades\Cache::class,
  177. 'Config' => Illuminate\Support\Facades\Config::class,
  178. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  179. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  180. 'DB' => Illuminate\Support\Facades\DB::class,
  181. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  182. 'Event' => Illuminate\Support\Facades\Event::class,
  183. 'File' => Illuminate\Support\Facades\File::class,
  184. 'Gate' => Illuminate\Support\Facades\Gate::class,
  185. 'Hash' => Illuminate\Support\Facades\Hash::class,
  186. 'Lang' => Illuminate\Support\Facades\Lang::class,
  187. 'Log' => Illuminate\Support\Facades\Log::class,
  188. 'Mail' => Illuminate\Support\Facades\Mail::class,
  189. 'Notification' => Illuminate\Support\Facades\Notification::class,
  190. 'Password' => Illuminate\Support\Facades\Password::class,
  191. 'Queue' => Illuminate\Support\Facades\Queue::class,
  192. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  193. 'Redis' => Illuminate\Support\Facades\Redis::class,
  194. 'Request' => Illuminate\Support\Facades\Request::class,
  195. 'Response' => Illuminate\Support\Facades\Response::class,
  196. 'Route' => Illuminate\Support\Facades\Route::class,
  197. 'Schema' => Illuminate\Support\Facades\Schema::class,
  198. 'Session' => Illuminate\Support\Facades\Session::class,
  199. 'Storage' => Illuminate\Support\Facades\Storage::class,
  200. 'URL' => Illuminate\Support\Facades\URL::class,
  201. 'Validator' => Illuminate\Support\Facades\Validator::class,
  202. 'View' => Illuminate\Support\Facades\View::class,
  203. /*
  204. * Package Facades...
  205. */
  206. 'JWTAuth' => Tymon\JWTAuth\Facades\JWTAuth::class,
  207. 'JWTFactory' => Tymon\JWTAuth\Facades\JWTFactory::class,
  208. 'OneSignal' => Berkayk\OneSignal\OneSignalFacade::class
  209. ],
  210. ];