Browse Source

initial

pull/26/head
Ondřej Hruška 4 years ago
commit
d2d098006c
Signed by: MightyPork GPG Key ID: 2C5FD5035250423D
  1. 16
      .editorconfig
  2. 39
      .env.example
  3. 5
      .gitattributes
  4. 13
      .gitignore
  5. 987
      .phpstorm.meta.php
  6. 14836
      _ide_helper.php
  7. 42
      app/Console/Kernel.php
  8. 51
      app/Exceptions/Handler.php
  9. 32
      app/Http/Controllers/Auth/ForgotPasswordController.php
  10. 39
      app/Http/Controllers/Auth/LoginController.php
  11. 72
      app/Http/Controllers/Auth/RegisterController.php
  12. 39
      app/Http/Controllers/Auth/ResetPasswordController.php
  13. 13
      app/Http/Controllers/Controller.php
  14. 63
      app/Http/Kernel.php
  15. 17
      app/Http/Middleware/EncryptCookies.php
  16. 26
      app/Http/Middleware/RedirectIfAuthenticated.php
  17. 18
      app/Http/Middleware/TrimStrings.php
  18. 23
      app/Http/Middleware/TrustProxies.php
  19. 17
      app/Http/Middleware/VerifyCsrfToken.php
  20. 22
      app/Logger.php
  21. 29
      app/Models/User.php
  22. 28
      app/Providers/AppServiceProvider.php
  23. 30
      app/Providers/AuthServiceProvider.php
  24. 21
      app/Providers/BroadcastServiceProvider.php
  25. 32
      app/Providers/EventServiceProvider.php
  26. 73
      app/Providers/RouteServiceProvider.php
  27. 3
      app/helpers.php
  28. 53
      artisan
  29. 63
      bootstrap/app.php
  30. 2
      bootstrap/cache/.gitignore
  31. 82
      composer.json
  32. 4620
      composer.lock
  33. 218
      config/app.php
  34. 102
      config/auth.php
  35. 59
      config/broadcasting.php
  36. 94
      config/cache.php
  37. 120
      config/database.php
  38. 69
      config/filesystems.php
  39. 52
      config/hashing.php
  40. 42
      config/logging.php
  41. 123
      config/mail.php
  42. 86
      config/queue.php
  43. 38
      config/services.php
  44. 197
      config/session.php
  45. 33
      config/view.php
  46. 1
      database/.gitignore
  47. 23
      database/factories/UserFactory.php
  48. 35
      database/migrations/2014_10_12_000000_create_users_table.php
  49. 32
      database/migrations/2014_10_12_100000_create_password_resets_table.php
  50. 16
      database/seeds/DatabaseSeeder.php
  51. 14125
      package-lock.json
  52. 22
      package.json
  53. 14
      patch_vendor.sh
  54. 33
      phpunit.xml
  55. 11
      porklib/Exceptions/AccessException.php
  56. 11
      porklib/Exceptions/ArgumentException.php
  57. 33
      porklib/Exceptions/ExceptionConstructorTrait.php
  58. 11
      porklib/Exceptions/FormatException.php
  59. 11
      porklib/Exceptions/NotExistException.php
  60. 11
      porklib/Exceptions/NotImplementedException.php
  61. 11
      porklib/Exceptions/RuntimeException.php
  62. 14
      porklib/Exceptions/ViewException.php
  63. 87
      porklib/Providers/BladeExtensionsProvider.php
  64. 152
      porklib/Providers/MacroServiceProvider.php
  65. 85
      porklib/Utils/Enum.php
  66. 29
      porklib/Utils/ObjCollection.php
  67. 44
      porklib/Utils/Profiler.php
  68. 413
      porklib/Utils/SpreadsheetBuilder.php
  69. 693
      porklib/Utils/Str.php
  70. 991
      porklib/Utils/Utils.php
  71. 317
      porklib/helpers.php
  72. 0
      public/css/.gitkeep
  73. 0
      public/favicon.ico
  74. 0
      public/fonts/.gitkeep
  75. 0
      public/images/.gitkeep
  76. 60
      public/index.php
  77. 0
      public/js/.gitkeep
  78. 4
      public/mix-manifest.json
  79. 2
      public/robots.txt
  80. 22
      resources/assets/js/app.js
  81. 56
      resources/assets/js/bootstrap.js
  82. 23
      resources/assets/js/components/ExampleComponent.vue
  83. 8
      resources/assets/sass/_variables.scss
  84. 14
      resources/assets/sass/app.scss
  85. 19
      resources/lang/en/auth.php
  86. 19
      resources/lang/en/pagination.php
  87. 22
      resources/lang/en/passwords.php
  88. 146
      resources/lang/en/validation.php
  89. 95
      resources/views/welcome.blade.php
  90. 18
      routes/api.php
  91. 16
      routes/channels.php
  92. 18
      routes/console.php
  93. 16
      routes/web.php
  94. 21
      server.php
  95. 3
      storage/app/.gitignore
  96. 2
      storage/app/public/.gitignore
  97. 8
      storage/framework/.gitignore
  98. 2
      storage/framework/cache/.gitignore
  99. 2
      storage/framework/sessions/.gitignore
  100. 2
      storage/framework/testing/.gitignore

16
.editorconfig

@ -0,0 +1,16 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.yml]
indent_style = space
indent_size = 2

39
.env.example

@ -0,0 +1,39 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

5
.gitattributes

@ -0,0 +1,5 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore

13
.gitignore

@ -0,0 +1,13 @@
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
/.idea
/.vscode
/.vagrant
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.env

987
.phpstorm.meta.php

@ -0,0 +1,987 @@
<?php
namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
* Generated on 2018-07-08 15:16:12.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
override(new \Illuminate\Contracts\Container\Container, map([
'' => '@',
'events' => \Illuminate\Events\Dispatcher::class,
'log' => \Illuminate\Log\LogManager::class,
'router' => \Illuminate\Routing\Router::class,
'url' => \Illuminate\Routing\UrlGenerator::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'Illuminate\Contracts\Routing\ResponseFactory' => \Illuminate\Routing\ResponseFactory::class,
'Illuminate\Routing\Contracts\ControllerDispatcher' => \Illuminate\Routing\ControllerDispatcher::class,
'Illuminate\Contracts\Http\Kernel' => \App\Http\Kernel::class,
'Illuminate\Contracts\Console\Kernel' => \App\Console\Kernel::class,
'Illuminate\Contracts\Debug\ExceptionHandler' => \NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::class,
'auth' => \Illuminate\Auth\AuthManager::class,
'auth.driver' => \Illuminate\Auth\SessionGuard::class,
'Illuminate\Contracts\Auth\Access\Gate' => \Illuminate\Auth\Access\Gate::class,
'cookie' => \Illuminate\Cookie\CookieJar::class,
'db.factory' => \Illuminate\Database\Connectors\ConnectionFactory::class,
'db' => \Illuminate\Database\DatabaseManager::class,
'db.connection' => \Illuminate\Database\MySqlConnection::class,
'Illuminate\Contracts\Queue\EntityResolver' => \Illuminate\Database\Eloquent\QueueEntityResolver::class,
'encrypter' => \Illuminate\Encryption\Encrypter::class,
'files' => \Illuminate\Filesystem\Filesystem::class,
'filesystem' => \Illuminate\Filesystem\FilesystemManager::class,
'filesystem.disk' => \Illuminate\Filesystem\FilesystemAdapter::class,
'Illuminate\Notifications\ChannelManager' => \Illuminate\Notifications\ChannelManager::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
'Illuminate\Session\Middleware\StartSession' => \Illuminate\Session\Middleware\StartSession::class,
'view' => \Illuminate\View\Factory::class,
'view.finder' => \Illuminate\View\FileViewFinder::class,
'view.engine.resolver' => \Illuminate\View\Engines\EngineResolver::class,
'blade.compiler' => \Illuminate\View\Compilers\BladeCompiler::class,
'Illuminate\Console\Scheduling\Schedule' => \Illuminate\Console\Scheduling\Schedule::class,
'cache' => \Illuminate\Cache\CacheManager::class,
'cache.store' => \Illuminate\Cache\Repository::class,
'memcached.connector' => \Illuminate\Cache\MemcachedConnector::class,
'Illuminate\Broadcasting\BroadcastManager' => \Illuminate\Broadcasting\BroadcastManager::class,
'Illuminate\Contracts\Broadcasting\Broadcaster' => \Illuminate\Broadcasting\Broadcasters\LogBroadcaster::class,
'Illuminate\Bus\Dispatcher' => \Illuminate\Bus\Dispatcher::class,
'command.cache.clear' => \Illuminate\Cache\Console\ClearCommand::class,
'command.cache.forget' => \Illuminate\Cache\Console\ForgetCommand::class,
'command.clear-compiled' => \Illuminate\Foundation\Console\ClearCompiledCommand::class,
'command.auth.resets.clear' => \Illuminate\Auth\Console\ClearResetsCommand::class,
'command.config.cache' => \Illuminate\Foundation\Console\ConfigCacheCommand::class,
'command.config.clear' => \Illuminate\Foundation\Console\ConfigClearCommand::class,
'command.down' => \Illuminate\Foundation\Console\DownCommand::class,
'command.environment' => \Illuminate\Foundation\Console\EnvironmentCommand::class,
'command.key.generate' => \Illuminate\Foundation\Console\KeyGenerateCommand::class,
'command.migrate' => \Illuminate\Database\Console\Migrations\MigrateCommand::class,
'command.migrate.fresh' => \Illuminate\Database\Console\Migrations\FreshCommand::class,
'command.migrate.install' => \Illuminate\Database\Console\Migrations\InstallCommand::class,
'command.migrate.refresh' => \Illuminate\Database\Console\Migrations\RefreshCommand::class,
'command.migrate.reset' => \Illuminate\Database\Console\Migrations\ResetCommand::class,
'command.migrate.rollback' => \Illuminate\Database\Console\Migrations\RollbackCommand::class,
'command.migrate.status' => \Illuminate\Database\Console\Migrations\StatusCommand::class,
'command.package.discover' => \Illuminate\Foundation\Console\PackageDiscoverCommand::class,
'command.preset' => \Illuminate\Foundation\Console\PresetCommand::class,
'command.queue.failed' => \Illuminate\Queue\Console\ListFailedCommand::class,
'command.queue.flush' => \Illuminate\Queue\Console\FlushFailedCommand::class,
'command.queue.forget' => \Illuminate\Queue\Console\ForgetFailedCommand::class,
'command.queue.listen' => \Illuminate\Queue\Console\ListenCommand::class,
'command.queue.restart' => \Illuminate\Queue\Console\RestartCommand::class,
'command.queue.retry' => \Illuminate\Queue\Console\RetryCommand::class,
'command.queue.work' => \Illuminate\Queue\Console\WorkCommand::class,
'command.route.cache' => \Illuminate\Foundation\Console\RouteCacheCommand::class,
'command.route.clear' => \Illuminate\Foundation\Console\RouteClearCommand::class,
'command.route.list' => \Illuminate\Foundation\Console\RouteListCommand::class,
'command.seed' => \Illuminate\Database\Console\Seeds\SeedCommand::class,
'Illuminate\Console\Scheduling\ScheduleFinishCommand' => \Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
'Illuminate\Console\Scheduling\ScheduleRunCommand' => \Illuminate\Console\Scheduling\ScheduleRunCommand::class,
'command.storage.link' => \Illuminate\Foundation\Console\StorageLinkCommand::class,
'command.up' => \Illuminate\Foundation\Console\UpCommand::class,
'command.view.cache' => \Illuminate\Foundation\Console\ViewCacheCommand::class,
'command.view.clear' => \Illuminate\Foundation\Console\ViewClearCommand::class,
'command.app.name' => \Illuminate\Foundation\Console\AppNameCommand::class,
'command.auth.make' => \Illuminate\Auth\Console\AuthMakeCommand::class,
'command.cache.table' => \Illuminate\Cache\Console\CacheTableCommand::class,
'command.channel.make' => \Illuminate\Foundation\Console\ChannelMakeCommand::class,
'command.console.make' => \Illuminate\Foundation\Console\ConsoleMakeCommand::class,
'command.controller.make' => \Illuminate\Routing\Console\ControllerMakeCommand::class,
'command.event.generate' => \Illuminate\Foundation\Console\EventGenerateCommand::class,
'command.event.make' => \Illuminate\Foundation\Console\EventMakeCommand::class,
'command.exception.make' => \Illuminate\Foundation\Console\ExceptionMakeCommand::class,
'command.factory.make' => \Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
'command.job.make' => \Illuminate\Foundation\Console\JobMakeCommand::class,
'command.listener.make' => \Illuminate\Foundation\Console\ListenerMakeCommand::class,
'command.mail.make' => \Illuminate\Foundation\Console\MailMakeCommand::class,
'command.middleware.make' => \Illuminate\Routing\Console\MiddlewareMakeCommand::class,
'command.migrate.make' => \Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
'command.model.make' => \Illuminate\Foundation\Console\ModelMakeCommand::class,
'command.notification.make' => \Illuminate\Foundation\Console\NotificationMakeCommand::class,
'command.notification.table' => \Illuminate\Notifications\Console\NotificationTableCommand::class,
'command.observer.make' => \Illuminate\Foundation\Console\ObserverMakeCommand::class,
'command.policy.make' => \Illuminate\Foundation\Console\PolicyMakeCommand::class,
'command.provider.make' => \Illuminate\Foundation\Console\ProviderMakeCommand::class,
'command.queue.failed-table' => \Illuminate\Queue\Console\FailedTableCommand::class,
'command.queue.table' => \Illuminate\Queue\Console\TableCommand::class,
'command.request.make' => \Illuminate\Foundation\Console\RequestMakeCommand::class,
'command.resource.make' => \Illuminate\Foundation\Console\ResourceMakeCommand::class,
'command.rule.make' => \Illuminate\Foundation\Console\RuleMakeCommand::class,
'command.seeder.make' => \Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
'command.session.table' => \Illuminate\Session\Console\SessionTableCommand::class,
'command.serve' => \Illuminate\Foundation\Console\ServeCommand::class,
'command.test.make' => \Illuminate\Foundation\Console\TestMakeCommand::class,
'command.vendor.publish' => \Illuminate\Foundation\Console\VendorPublishCommand::class,
'migration.repository' => \Illuminate\Database\Migrations\DatabaseMigrationRepository::class,
'migrator' => \Illuminate\Database\Migrations\Migrator::class,
'migration.creator' => \Illuminate\Database\Migrations\MigrationCreator::class,
'composer' => \Illuminate\Support\Composer::class,
'hash' => \Illuminate\Hashing\HashManager::class,
'hash.driver' => \Illuminate\Hashing\BcryptHasher::class,
'swift.transport' => \Illuminate\Mail\TransportManager::class,
'swift.mailer' => \Swift_Mailer::class,
'mailer' => \Illuminate\Mail\Mailer::class,
'Illuminate\Mail\Markdown' => \Illuminate\Mail\Markdown::class,
'Illuminate\Contracts\Pipeline\Hub' => \Illuminate\Pipeline\Hub::class,
'queue' => \Illuminate\Queue\QueueManager::class,
'queue.connection' => \Illuminate\Queue\SyncQueue::class,
'queue.worker' => \Illuminate\Queue\Worker::class,
'queue.listener' => \Illuminate\Queue\Listener::class,
'queue.failer' => \Illuminate\Queue\Failed\DatabaseFailedJobProvider::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'auth.password' => \Illuminate\Auth\Passwords\PasswordBrokerManager::class,
'auth.password.broker' => \Illuminate\Auth\Passwords\PasswordBroker::class,
'translation.loader' => \Illuminate\Translation\FileLoader::class,
'translator' => \Illuminate\Translation\Translator::class,
'validation.presence' => \Illuminate\Validation\DatabasePresenceVerifier::class,
'command.ide-helper.generate' => \Barryvdh\LaravelIdeHelper\Console\GeneratorCommand::class,
'command.ide-helper.models' => \Barryvdh\LaravelIdeHelper\Console\ModelsCommand::class,
'command.ide-helper.meta' => \Barryvdh\LaravelIdeHelper\Console\MetaCommand::class,
'command.ide-helper.eloquent' => \Barryvdh\LaravelIdeHelper\Console\EloquentCommand::class,
'command.tinker' => \Laravel\Tinker\Console\TinkerCommand::class,
'NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener' => \NunoMaduro\Collision\Adapters\Phpunit\Listener::class,
'NunoMaduro\Collision\Contracts\Provider' => \NunoMaduro\Collision\Provider::class,
]));
override(\Illuminate\Contracts\Container\Container::make(0), map([
'' => '@',
'events' => \Illuminate\Events\Dispatcher::class,
'log' => \Illuminate\Log\LogManager::class,
'router' => \Illuminate\Routing\Router::class,
'url' => \Illuminate\Routing\UrlGenerator::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'Illuminate\Contracts\Routing\ResponseFactory' => \Illuminate\Routing\ResponseFactory::class,
'Illuminate\Routing\Contracts\ControllerDispatcher' => \Illuminate\Routing\ControllerDispatcher::class,
'Illuminate\Contracts\Http\Kernel' => \App\Http\Kernel::class,
'Illuminate\Contracts\Console\Kernel' => \App\Console\Kernel::class,
'Illuminate\Contracts\Debug\ExceptionHandler' => \NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::class,
'auth' => \Illuminate\Auth\AuthManager::class,
'auth.driver' => \Illuminate\Auth\SessionGuard::class,
'Illuminate\Contracts\Auth\Access\Gate' => \Illuminate\Auth\Access\Gate::class,
'cookie' => \Illuminate\Cookie\CookieJar::class,
'db.factory' => \Illuminate\Database\Connectors\ConnectionFactory::class,
'db' => \Illuminate\Database\DatabaseManager::class,
'db.connection' => \Illuminate\Database\MySqlConnection::class,
'Illuminate\Contracts\Queue\EntityResolver' => \Illuminate\Database\Eloquent\QueueEntityResolver::class,
'encrypter' => \Illuminate\Encryption\Encrypter::class,
'files' => \Illuminate\Filesystem\Filesystem::class,
'filesystem' => \Illuminate\Filesystem\FilesystemManager::class,
'filesystem.disk' => \Illuminate\Filesystem\FilesystemAdapter::class,
'Illuminate\Notifications\ChannelManager' => \Illuminate\Notifications\ChannelManager::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
'Illuminate\Session\Middleware\StartSession' => \Illuminate\Session\Middleware\StartSession::class,
'view' => \Illuminate\View\Factory::class,
'view.finder' => \Illuminate\View\FileViewFinder::class,
'view.engine.resolver' => \Illuminate\View\Engines\EngineResolver::class,
'blade.compiler' => \Illuminate\View\Compilers\BladeCompiler::class,
'Illuminate\Console\Scheduling\Schedule' => \Illuminate\Console\Scheduling\Schedule::class,
'cache' => \Illuminate\Cache\CacheManager::class,
'cache.store' => \Illuminate\Cache\Repository::class,
'memcached.connector' => \Illuminate\Cache\MemcachedConnector::class,
'Illuminate\Broadcasting\BroadcastManager' => \Illuminate\Broadcasting\BroadcastManager::class,
'Illuminate\Contracts\Broadcasting\Broadcaster' => \Illuminate\Broadcasting\Broadcasters\LogBroadcaster::class,
'Illuminate\Bus\Dispatcher' => \Illuminate\Bus\Dispatcher::class,
'command.cache.clear' => \Illuminate\Cache\Console\ClearCommand::class,
'command.cache.forget' => \Illuminate\Cache\Console\ForgetCommand::class,
'command.clear-compiled' => \Illuminate\Foundation\Console\ClearCompiledCommand::class,
'command.auth.resets.clear' => \Illuminate\Auth\Console\ClearResetsCommand::class,
'command.config.cache' => \Illuminate\Foundation\Console\ConfigCacheCommand::class,
'command.config.clear' => \Illuminate\Foundation\Console\ConfigClearCommand::class,
'command.down' => \Illuminate\Foundation\Console\DownCommand::class,
'command.environment' => \Illuminate\Foundation\Console\EnvironmentCommand::class,
'command.key.generate' => \Illuminate\Foundation\Console\KeyGenerateCommand::class,
'command.migrate' => \Illuminate\Database\Console\Migrations\MigrateCommand::class,
'command.migrate.fresh' => \Illuminate\Database\Console\Migrations\FreshCommand::class,
'command.migrate.install' => \Illuminate\Database\Console\Migrations\InstallCommand::class,
'command.migrate.refresh' => \Illuminate\Database\Console\Migrations\RefreshCommand::class,
'command.migrate.reset' => \Illuminate\Database\Console\Migrations\ResetCommand::class,
'command.migrate.rollback' => \Illuminate\Database\Console\Migrations\RollbackCommand::class,
'command.migrate.status' => \Illuminate\Database\Console\Migrations\StatusCommand::class,
'command.package.discover' => \Illuminate\Foundation\Console\PackageDiscoverCommand::class,
'command.preset' => \Illuminate\Foundation\Console\PresetCommand::class,
'command.queue.failed' => \Illuminate\Queue\Console\ListFailedCommand::class,
'command.queue.flush' => \Illuminate\Queue\Console\FlushFailedCommand::class,
'command.queue.forget' => \Illuminate\Queue\Console\ForgetFailedCommand::class,
'command.queue.listen' => \Illuminate\Queue\Console\ListenCommand::class,
'command.queue.restart' => \Illuminate\Queue\Console\RestartCommand::class,
'command.queue.retry' => \Illuminate\Queue\Console\RetryCommand::class,
'command.queue.work' => \Illuminate\Queue\Console\WorkCommand::class,
'command.route.cache' => \Illuminate\Foundation\Console\RouteCacheCommand::class,
'command.route.clear' => \Illuminate\Foundation\Console\RouteClearCommand::class,
'command.route.list' => \Illuminate\Foundation\Console\RouteListCommand::class,
'command.seed' => \Illuminate\Database\Console\Seeds\SeedCommand::class,
'Illuminate\Console\Scheduling\ScheduleFinishCommand' => \Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
'Illuminate\Console\Scheduling\ScheduleRunCommand' => \Illuminate\Console\Scheduling\ScheduleRunCommand::class,
'command.storage.link' => \Illuminate\Foundation\Console\StorageLinkCommand::class,
'command.up' => \Illuminate\Foundation\Console\UpCommand::class,
'command.view.cache' => \Illuminate\Foundation\Console\ViewCacheCommand::class,
'command.view.clear' => \Illuminate\Foundation\Console\ViewClearCommand::class,
'command.app.name' => \Illuminate\Foundation\Console\AppNameCommand::class,
'command.auth.make' => \Illuminate\Auth\Console\AuthMakeCommand::class,
'command.cache.table' => \Illuminate\Cache\Console\CacheTableCommand::class,
'command.channel.make' => \Illuminate\Foundation\Console\ChannelMakeCommand::class,
'command.console.make' => \Illuminate\Foundation\Console\ConsoleMakeCommand::class,
'command.controller.make' => \Illuminate\Routing\Console\ControllerMakeCommand::class,
'command.event.generate' => \Illuminate\Foundation\Console\EventGenerateCommand::class,
'command.event.make' => \Illuminate\Foundation\Console\EventMakeCommand::class,
'command.exception.make' => \Illuminate\Foundation\Console\ExceptionMakeCommand::class,
'command.factory.make' => \Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
'command.job.make' => \Illuminate\Foundation\Console\JobMakeCommand::class,
'command.listener.make' => \Illuminate\Foundation\Console\ListenerMakeCommand::class,
'command.mail.make' => \Illuminate\Foundation\Console\MailMakeCommand::class,
'command.middleware.make' => \Illuminate\Routing\Console\MiddlewareMakeCommand::class,
'command.migrate.make' => \Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
'command.model.make' => \Illuminate\Foundation\Console\ModelMakeCommand::class,
'command.notification.make' => \Illuminate\Foundation\Console\NotificationMakeCommand::class,
'command.notification.table' => \Illuminate\Notifications\Console\NotificationTableCommand::class,
'command.observer.make' => \Illuminate\Foundation\Console\ObserverMakeCommand::class,
'command.policy.make' => \Illuminate\Foundation\Console\PolicyMakeCommand::class,
'command.provider.make' => \Illuminate\Foundation\Console\ProviderMakeCommand::class,
'command.queue.failed-table' => \Illuminate\Queue\Console\FailedTableCommand::class,
'command.queue.table' => \Illuminate\Queue\Console\TableCommand::class,
'command.request.make' => \Illuminate\Foundation\Console\RequestMakeCommand::class,
'command.resource.make' => \Illuminate\Foundation\Console\ResourceMakeCommand::class,
'command.rule.make' => \Illuminate\Foundation\Console\RuleMakeCommand::class,
'command.seeder.make' => \Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
'command.session.table' => \Illuminate\Session\Console\SessionTableCommand::class,
'command.serve' => \Illuminate\Foundation\Console\ServeCommand::class,
'command.test.make' => \Illuminate\Foundation\Console\TestMakeCommand::class,
'command.vendor.publish' => \Illuminate\Foundation\Console\VendorPublishCommand::class,
'migration.repository' => \Illuminate\Database\Migrations\DatabaseMigrationRepository::class,
'migrator' => \Illuminate\Database\Migrations\Migrator::class,
'migration.creator' => \Illuminate\Database\Migrations\MigrationCreator::class,
'composer' => \Illuminate\Support\Composer::class,
'hash' => \Illuminate\Hashing\HashManager::class,
'hash.driver' => \Illuminate\Hashing\BcryptHasher::class,
'swift.transport' => \Illuminate\Mail\TransportManager::class,
'swift.mailer' => \Swift_Mailer::class,
'mailer' => \Illuminate\Mail\Mailer::class,
'Illuminate\Mail\Markdown' => \Illuminate\Mail\Markdown::class,
'Illuminate\Contracts\Pipeline\Hub' => \Illuminate\Pipeline\Hub::class,
'queue' => \Illuminate\Queue\QueueManager::class,
'queue.connection' => \Illuminate\Queue\SyncQueue::class,
'queue.worker' => \Illuminate\Queue\Worker::class,
'queue.listener' => \Illuminate\Queue\Listener::class,
'queue.failer' => \Illuminate\Queue\Failed\DatabaseFailedJobProvider::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'auth.password' => \Illuminate\Auth\Passwords\PasswordBrokerManager::class,
'auth.password.broker' => \Illuminate\Auth\Passwords\PasswordBroker::class,
'translation.loader' => \Illuminate\Translation\FileLoader::class,
'translator' => \Illuminate\Translation\Translator::class,
'validation.presence' => \Illuminate\Validation\DatabasePresenceVerifier::class,
'command.ide-helper.generate' => \Barryvdh\LaravelIdeHelper\Console\GeneratorCommand::class,
'command.ide-helper.models' => \Barryvdh\LaravelIdeHelper\Console\ModelsCommand::class,
'command.ide-helper.meta' => \Barryvdh\LaravelIdeHelper\Console\MetaCommand::class,
'command.ide-helper.eloquent' => \Barryvdh\LaravelIdeHelper\Console\EloquentCommand::class,
'command.tinker' => \Laravel\Tinker\Console\TinkerCommand::class,
'NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener' => \NunoMaduro\Collision\Adapters\Phpunit\Listener::class,
'NunoMaduro\Collision\Contracts\Provider' => \NunoMaduro\Collision\Provider::class,
]));
override(\Illuminate\Contracts\Container\Container::makeWith(0), map([
'' => '@',
'events' => \Illuminate\Events\Dispatcher::class,
'log' => \Illuminate\Log\LogManager::class,
'router' => \Illuminate\Routing\Router::class,
'url' => \Illuminate\Routing\UrlGenerator::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'Illuminate\Contracts\Routing\ResponseFactory' => \Illuminate\Routing\ResponseFactory::class,
'Illuminate\Routing\Contracts\ControllerDispatcher' => \Illuminate\Routing\ControllerDispatcher::class,
'Illuminate\Contracts\Http\Kernel' => \App\Http\Kernel::class,
'Illuminate\Contracts\Console\Kernel' => \App\Console\Kernel::class,
'Illuminate\Contracts\Debug\ExceptionHandler' => \NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::class,
'auth' => \Illuminate\Auth\AuthManager::class,
'auth.driver' => \Illuminate\Auth\SessionGuard::class,
'Illuminate\Contracts\Auth\Access\Gate' => \Illuminate\Auth\Access\Gate::class,
'cookie' => \Illuminate\Cookie\CookieJar::class,
'db.factory' => \Illuminate\Database\Connectors\ConnectionFactory::class,
'db' => \Illuminate\Database\DatabaseManager::class,
'db.connection' => \Illuminate\Database\MySqlConnection::class,
'Illuminate\Contracts\Queue\EntityResolver' => \Illuminate\Database\Eloquent\QueueEntityResolver::class,
'encrypter' => \Illuminate\Encryption\Encrypter::class,
'files' => \Illuminate\Filesystem\Filesystem::class,
'filesystem' => \Illuminate\Filesystem\FilesystemManager::class,
'filesystem.disk' => \Illuminate\Filesystem\FilesystemAdapter::class,
'Illuminate\Notifications\ChannelManager' => \Illuminate\Notifications\ChannelManager::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
'Illuminate\Session\Middleware\StartSession' => \Illuminate\Session\Middleware\StartSession::class,
'view' => \Illuminate\View\Factory::class,
'view.finder' => \Illuminate\View\FileViewFinder::class,
'view.engine.resolver' => \Illuminate\View\Engines\EngineResolver::class,
'blade.compiler' => \Illuminate\View\Compilers\BladeCompiler::class,
'Illuminate\Console\Scheduling\Schedule' => \Illuminate\Console\Scheduling\Schedule::class,
'cache' => \Illuminate\Cache\CacheManager::class,
'cache.store' => \Illuminate\Cache\Repository::class,
'memcached.connector' => \Illuminate\Cache\MemcachedConnector::class,
'Illuminate\Broadcasting\BroadcastManager' => \Illuminate\Broadcasting\BroadcastManager::class,
'Illuminate\Contracts\Broadcasting\Broadcaster' => \Illuminate\Broadcasting\Broadcasters\LogBroadcaster::class,
'Illuminate\Bus\Dispatcher' => \Illuminate\Bus\Dispatcher::class,
'command.cache.clear' => \Illuminate\Cache\Console\ClearCommand::class,
'command.cache.forget' => \Illuminate\Cache\Console\ForgetCommand::class,
'command.clear-compiled' => \Illuminate\Foundation\Console\ClearCompiledCommand::class,
'command.auth.resets.clear' => \Illuminate\Auth\Console\ClearResetsCommand::class,
'command.config.cache' => \Illuminate\Foundation\Console\ConfigCacheCommand::class,
'command.config.clear' => \Illuminate\Foundation\Console\ConfigClearCommand::class,
'command.down' => \Illuminate\Foundation\Console\DownCommand::class,
'command.environment' => \Illuminate\Foundation\Console\EnvironmentCommand::class,
'command.key.generate' => \Illuminate\Foundation\Console\KeyGenerateCommand::class,
'command.migrate' => \Illuminate\Database\Console\Migrations\MigrateCommand::class,
'command.migrate.fresh' => \Illuminate\Database\Console\Migrations\FreshCommand::class,
'command.migrate.install' => \Illuminate\Database\Console\Migrations\InstallCommand::class,
'command.migrate.refresh' => \Illuminate\Database\Console\Migrations\RefreshCommand::class,
'command.migrate.reset' => \Illuminate\Database\Console\Migrations\ResetCommand::class,
'command.migrate.rollback' => \Illuminate\Database\Console\Migrations\RollbackCommand::class,
'command.migrate.status' => \Illuminate\Database\Console\Migrations\StatusCommand::class,
'command.package.discover' => \Illuminate\Foundation\Console\PackageDiscoverCommand::class,
'command.preset' => \Illuminate\Foundation\Console\PresetCommand::class,
'command.queue.failed' => \Illuminate\Queue\Console\ListFailedCommand::class,
'command.queue.flush' => \Illuminate\Queue\Console\FlushFailedCommand::class,
'command.queue.forget' => \Illuminate\Queue\Console\ForgetFailedCommand::class,
'command.queue.listen' => \Illuminate\Queue\Console\ListenCommand::class,
'command.queue.restart' => \Illuminate\Queue\Console\RestartCommand::class,
'command.queue.retry' => \Illuminate\Queue\Console\RetryCommand::class,
'command.queue.work' => \Illuminate\Queue\Console\WorkCommand::class,
'command.route.cache' => \Illuminate\Foundation\Console\RouteCacheCommand::class,
'command.route.clear' => \Illuminate\Foundation\Console\RouteClearCommand::class,
'command.route.list' => \Illuminate\Foundation\Console\RouteListCommand::class,
'command.seed' => \Illuminate\Database\Console\Seeds\SeedCommand::class,
'Illuminate\Console\Scheduling\ScheduleFinishCommand' => \Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
'Illuminate\Console\Scheduling\ScheduleRunCommand' => \Illuminate\Console\Scheduling\ScheduleRunCommand::class,
'command.storage.link' => \Illuminate\Foundation\Console\StorageLinkCommand::class,
'command.up' => \Illuminate\Foundation\Console\UpCommand::class,
'command.view.cache' => \Illuminate\Foundation\Console\ViewCacheCommand::class,
'command.view.clear' => \Illuminate\Foundation\Console\ViewClearCommand::class,
'command.app.name' => \Illuminate\Foundation\Console\AppNameCommand::class,
'command.auth.make' => \Illuminate\Auth\Console\AuthMakeCommand::class,
'command.cache.table' => \Illuminate\Cache\Console\CacheTableCommand::class,
'command.channel.make' => \Illuminate\Foundation\Console\ChannelMakeCommand::class,
'command.console.make' => \Illuminate\Foundation\Console\ConsoleMakeCommand::class,
'command.controller.make' => \Illuminate\Routing\Console\ControllerMakeCommand::class,
'command.event.generate' => \Illuminate\Foundation\Console\EventGenerateCommand::class,
'command.event.make' => \Illuminate\Foundation\Console\EventMakeCommand::class,
'command.exception.make' => \Illuminate\Foundation\Console\ExceptionMakeCommand::class,
'command.factory.make' => \Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
'command.job.make' => \Illuminate\Foundation\Console\JobMakeCommand::class,
'command.listener.make' => \Illuminate\Foundation\Console\ListenerMakeCommand::class,
'command.mail.make' => \Illuminate\Foundation\Console\MailMakeCommand::class,
'command.middleware.make' => \Illuminate\Routing\Console\MiddlewareMakeCommand::class,
'command.migrate.make' => \Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
'command.model.make' => \Illuminate\Foundation\Console\ModelMakeCommand::class,
'command.notification.make' => \Illuminate\Foundation\Console\NotificationMakeCommand::class,
'command.notification.table' => \Illuminate\Notifications\Console\NotificationTableCommand::class,
'command.observer.make' => \Illuminate\Foundation\Console\ObserverMakeCommand::class,
'command.policy.make' => \Illuminate\Foundation\Console\PolicyMakeCommand::class,
'command.provider.make' => \Illuminate\Foundation\Console\ProviderMakeCommand::class,
'command.queue.failed-table' => \Illuminate\Queue\Console\FailedTableCommand::class,
'command.queue.table' => \Illuminate\Queue\Console\TableCommand::class,
'command.request.make' => \Illuminate\Foundation\Console\RequestMakeCommand::class,
'command.resource.make' => \Illuminate\Foundation\Console\ResourceMakeCommand::class,
'command.rule.make' => \Illuminate\Foundation\Console\RuleMakeCommand::class,
'command.seeder.make' => \Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
'command.session.table' => \Illuminate\Session\Console\SessionTableCommand::class,
'command.serve' => \Illuminate\Foundation\Console\ServeCommand::class,
'command.test.make' => \Illuminate\Foundation\Console\TestMakeCommand::class,
'command.vendor.publish' => \Illuminate\Foundation\Console\VendorPublishCommand::class,
'migration.repository' => \Illuminate\Database\Migrations\DatabaseMigrationRepository::class,
'migrator' => \Illuminate\Database\Migrations\Migrator::class,
'migration.creator' => \Illuminate\Database\Migrations\MigrationCreator::class,
'composer' => \Illuminate\Support\Composer::class,
'hash' => \Illuminate\Hashing\HashManager::class,
'hash.driver' => \Illuminate\Hashing\BcryptHasher::class,
'swift.transport' => \Illuminate\Mail\TransportManager::class,
'swift.mailer' => \Swift_Mailer::class,
'mailer' => \Illuminate\Mail\Mailer::class,
'Illuminate\Mail\Markdown' => \Illuminate\Mail\Markdown::class,
'Illuminate\Contracts\Pipeline\Hub' => \Illuminate\Pipeline\Hub::class,
'queue' => \Illuminate\Queue\QueueManager::class,
'queue.connection' => \Illuminate\Queue\SyncQueue::class,
'queue.worker' => \Illuminate\Queue\Worker::class,
'queue.listener' => \Illuminate\Queue\Listener::class,
'queue.failer' => \Illuminate\Queue\Failed\DatabaseFailedJobProvider::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'auth.password' => \Illuminate\Auth\Passwords\PasswordBrokerManager::class,
'auth.password.broker' => \Illuminate\Auth\Passwords\PasswordBroker::class,
'translation.loader' => \Illuminate\Translation\FileLoader::class,
'translator' => \Illuminate\Translation\Translator::class,
'validation.presence' => \Illuminate\Validation\DatabasePresenceVerifier::class,
'command.ide-helper.generate' => \Barryvdh\LaravelIdeHelper\Console\GeneratorCommand::class,
'command.ide-helper.models' => \Barryvdh\LaravelIdeHelper\Console\ModelsCommand::class,
'command.ide-helper.meta' => \Barryvdh\LaravelIdeHelper\Console\MetaCommand::class,
'command.ide-helper.eloquent' => \Barryvdh\LaravelIdeHelper\Console\EloquentCommand::class,
'command.tinker' => \Laravel\Tinker\Console\TinkerCommand::class,
'NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener' => \NunoMaduro\Collision\Adapters\Phpunit\Listener::class,
'NunoMaduro\Collision\Contracts\Provider' => \NunoMaduro\Collision\Provider::class,
]));
override(\App::make(0), map([
'' => '@',
'events' => \Illuminate\Events\Dispatcher::class,
'log' => \Illuminate\Log\LogManager::class,
'router' => \Illuminate\Routing\Router::class,
'url' => \Illuminate\Routing\UrlGenerator::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'Illuminate\Contracts\Routing\ResponseFactory' => \Illuminate\Routing\ResponseFactory::class,
'Illuminate\Routing\Contracts\ControllerDispatcher' => \Illuminate\Routing\ControllerDispatcher::class,
'Illuminate\Contracts\Http\Kernel' => \App\Http\Kernel::class,
'Illuminate\Contracts\Console\Kernel' => \App\Console\Kernel::class,
'Illuminate\Contracts\Debug\ExceptionHandler' => \NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::class,
'auth' => \Illuminate\Auth\AuthManager::class,
'auth.driver' => \Illuminate\Auth\SessionGuard::class,
'Illuminate\Contracts\Auth\Access\Gate' => \Illuminate\Auth\Access\Gate::class,
'cookie' => \Illuminate\Cookie\CookieJar::class,
'db.factory' => \Illuminate\Database\Connectors\ConnectionFactory::class,
'db' => \Illuminate\Database\DatabaseManager::class,
'db.connection' => \Illuminate\Database\MySqlConnection::class,
'Illuminate\Contracts\Queue\EntityResolver' => \Illuminate\Database\Eloquent\QueueEntityResolver::class,
'encrypter' => \Illuminate\Encryption\Encrypter::class,
'files' => \Illuminate\Filesystem\Filesystem::class,
'filesystem' => \Illuminate\Filesystem\FilesystemManager::class,
'filesystem.disk' => \Illuminate\Filesystem\FilesystemAdapter::class,
'Illuminate\Notifications\ChannelManager' => \Illuminate\Notifications\ChannelManager::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
'Illuminate\Session\Middleware\StartSession' => \Illuminate\Session\Middleware\StartSession::class,
'view' => \Illuminate\View\Factory::class,
'view.finder' => \Illuminate\View\FileViewFinder::class,
'view.engine.resolver' => \Illuminate\View\Engines\EngineResolver::class,
'blade.compiler' => \Illuminate\View\Compilers\BladeCompiler::class,
'Illuminate\Console\Scheduling\Schedule' => \Illuminate\Console\Scheduling\Schedule::class,
'cache' => \Illuminate\Cache\CacheManager::class,
'cache.store' => \Illuminate\Cache\Repository::class,
'memcached.connector' => \Illuminate\Cache\MemcachedConnector::class,
'Illuminate\Broadcasting\BroadcastManager' => \Illuminate\Broadcasting\BroadcastManager::class,
'Illuminate\Contracts\Broadcasting\Broadcaster' => \Illuminate\Broadcasting\Broadcasters\LogBroadcaster::class,
'Illuminate\Bus\Dispatcher' => \Illuminate\Bus\Dispatcher::class,
'command.cache.clear' => \Illuminate\Cache\Console\ClearCommand::class,
'command.cache.forget' => \Illuminate\Cache\Console\ForgetCommand::class,
'command.clear-compiled' => \Illuminate\Foundation\Console\ClearCompiledCommand::class,
'command.auth.resets.clear' => \Illuminate\Auth\Console\ClearResetsCommand::class,
'command.config.cache' => \Illuminate\Foundation\Console\ConfigCacheCommand::class,
'command.config.clear' => \Illuminate\Foundation\Console\ConfigClearCommand::class,
'command.down' => \Illuminate\Foundation\Console\DownCommand::class,
'command.environment' => \Illuminate\Foundation\Console\EnvironmentCommand::class,
'command.key.generate' => \Illuminate\Foundation\Console\KeyGenerateCommand::class,
'command.migrate' => \Illuminate\Database\Console\Migrations\MigrateCommand::class,
'command.migrate.fresh' => \Illuminate\Database\Console\Migrations\FreshCommand::class,
'command.migrate.install' => \Illuminate\Database\Console\Migrations\InstallCommand::class,
'command.migrate.refresh' => \Illuminate\Database\Console\Migrations\RefreshCommand::class,
'command.migrate.reset' => \Illuminate\Database\Console\Migrations\ResetCommand::class,
'command.migrate.rollback' => \Illuminate\Database\Console\Migrations\RollbackCommand::class,
'command.migrate.status' => \Illuminate\Database\Console\Migrations\StatusCommand::class,
'command.package.discover' => \Illuminate\Foundation\Console\PackageDiscoverCommand::class,
'command.preset' => \Illuminate\Foundation\Console\PresetCommand::class,
'command.queue.failed' => \Illuminate\Queue\Console\ListFailedCommand::class,
'command.queue.flush' => \Illuminate\Queue\Console\FlushFailedCommand::class,
'command.queue.forget' => \Illuminate\Queue\Console\ForgetFailedCommand::class,
'command.queue.listen' => \Illuminate\Queue\Console\ListenCommand::class,
'command.queue.restart' => \Illuminate\Queue\Console\RestartCommand::class,
'command.queue.retry' => \Illuminate\Queue\Console\RetryCommand::class,
'command.queue.work' => \Illuminate\Queue\Console\WorkCommand::class,
'command.route.cache' => \Illuminate\Foundation\Console\RouteCacheCommand::class,
'command.route.clear' => \Illuminate\Foundation\Console\RouteClearCommand::class,
'command.route.list' => \Illuminate\Foundation\Console\RouteListCommand::class,
'command.seed' => \Illuminate\Database\Console\Seeds\SeedCommand::class,
'Illuminate\Console\Scheduling\ScheduleFinishCommand' => \Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
'Illuminate\Console\Scheduling\ScheduleRunCommand' => \Illuminate\Console\Scheduling\ScheduleRunCommand::class,
'command.storage.link' => \Illuminate\Foundation\Console\StorageLinkCommand::class,
'command.up' => \Illuminate\Foundation\Console\UpCommand::class,
'command.view.cache' => \Illuminate\Foundation\Console\ViewCacheCommand::class,
'command.view.clear' => \Illuminate\Foundation\Console\ViewClearCommand::class,
'command.app.name' => \Illuminate\Foundation\Console\AppNameCommand::class,
'command.auth.make' => \Illuminate\Auth\Console\AuthMakeCommand::class,
'command.cache.table' => \Illuminate\Cache\Console\CacheTableCommand::class,
'command.channel.make' => \Illuminate\Foundation\Console\ChannelMakeCommand::class,
'command.console.make' => \Illuminate\Foundation\Console\ConsoleMakeCommand::class,
'command.controller.make' => \Illuminate\Routing\Console\ControllerMakeCommand::class,
'command.event.generate' => \Illuminate\Foundation\Console\EventGenerateCommand::class,
'command.event.make' => \Illuminate\Foundation\Console\EventMakeCommand::class,
'command.exception.make' => \Illuminate\Foundation\Console\ExceptionMakeCommand::class,
'command.factory.make' => \Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
'command.job.make' => \Illuminate\Foundation\Console\JobMakeCommand::class,
'command.listener.make' => \Illuminate\Foundation\Console\ListenerMakeCommand::class,
'command.mail.make' => \Illuminate\Foundation\Console\MailMakeCommand::class,
'command.middleware.make' => \Illuminate\Routing\Console\MiddlewareMakeCommand::class,
'command.migrate.make' => \Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
'command.model.make' => \Illuminate\Foundation\Console\ModelMakeCommand::class,
'command.notification.make' => \Illuminate\Foundation\Console\NotificationMakeCommand::class,
'command.notification.table' => \Illuminate\Notifications\Console\NotificationTableCommand::class,
'command.observer.make' => \Illuminate\Foundation\Console\ObserverMakeCommand::class,
'command.policy.make' => \Illuminate\Foundation\Console\PolicyMakeCommand::class,
'command.provider.make' => \Illuminate\Foundation\Console\ProviderMakeCommand::class,
'command.queue.failed-table' => \Illuminate\Queue\Console\FailedTableCommand::class,
'command.queue.table' => \Illuminate\Queue\Console\TableCommand::class,
'command.request.make' => \Illuminate\Foundation\Console\RequestMakeCommand::class,
'command.resource.make' => \Illuminate\Foundation\Console\ResourceMakeCommand::class,
'command.rule.make' => \Illuminate\Foundation\Console\RuleMakeCommand::class,
'command.seeder.make' => \Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
'command.session.table' => \Illuminate\Session\Console\SessionTableCommand::class,
'command.serve' => \Illuminate\Foundation\Console\ServeCommand::class,
'command.test.make' => \Illuminate\Foundation\Console\TestMakeCommand::class,
'command.vendor.publish' => \Illuminate\Foundation\Console\VendorPublishCommand::class,
'migration.repository' => \Illuminate\Database\Migrations\DatabaseMigrationRepository::class,
'migrator' => \Illuminate\Database\Migrations\Migrator::class,
'migration.creator' => \Illuminate\Database\Migrations\MigrationCreator::class,
'composer' => \Illuminate\Support\Composer::class,
'hash' => \Illuminate\Hashing\HashManager::class,
'hash.driver' => \Illuminate\Hashing\BcryptHasher::class,
'swift.transport' => \Illuminate\Mail\TransportManager::class,
'swift.mailer' => \Swift_Mailer::class,
'mailer' => \Illuminate\Mail\Mailer::class,
'Illuminate\Mail\Markdown' => \Illuminate\Mail\Markdown::class,
'Illuminate\Contracts\Pipeline\Hub' => \Illuminate\Pipeline\Hub::class,
'queue' => \Illuminate\Queue\QueueManager::class,
'queue.connection' => \Illuminate\Queue\SyncQueue::class,
'queue.worker' => \Illuminate\Queue\Worker::class,
'queue.listener' => \Illuminate\Queue\Listener::class,
'queue.failer' => \Illuminate\Queue\Failed\DatabaseFailedJobProvider::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'auth.password' => \Illuminate\Auth\Passwords\PasswordBrokerManager::class,
'auth.password.broker' => \Illuminate\Auth\Passwords\PasswordBroker::class,
'translation.loader' => \Illuminate\Translation\FileLoader::class,
'translator' => \Illuminate\Translation\Translator::class,
'validation.presence' => \Illuminate\Validation\DatabasePresenceVerifier::class,
'command.ide-helper.generate' => \Barryvdh\LaravelIdeHelper\Console\GeneratorCommand::class,
'command.ide-helper.models' => \Barryvdh\LaravelIdeHelper\Console\ModelsCommand::class,
'command.ide-helper.meta' => \Barryvdh\LaravelIdeHelper\Console\MetaCommand::class,
'command.ide-helper.eloquent' => \Barryvdh\LaravelIdeHelper\Console\EloquentCommand::class,
'command.tinker' => \Laravel\Tinker\Console\TinkerCommand::class,
'NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener' => \NunoMaduro\Collision\Adapters\Phpunit\Listener::class,
'NunoMaduro\Collision\Contracts\Provider' => \NunoMaduro\Collision\Provider::class,
]));
override(\App::makeWith(0), map([
'' => '@',
'events' => \Illuminate\Events\Dispatcher::class,
'log' => \Illuminate\Log\LogManager::class,
'router' => \Illuminate\Routing\Router::class,
'url' => \Illuminate\Routing\UrlGenerator::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'Illuminate\Contracts\Routing\ResponseFactory' => \Illuminate\Routing\ResponseFactory::class,
'Illuminate\Routing\Contracts\ControllerDispatcher' => \Illuminate\Routing\ControllerDispatcher::class,
'Illuminate\Contracts\Http\Kernel' => \App\Http\Kernel::class,
'Illuminate\Contracts\Console\Kernel' => \App\Console\Kernel::class,
'Illuminate\Contracts\Debug\ExceptionHandler' => \NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::class,
'auth' => \Illuminate\Auth\AuthManager::class,
'auth.driver' => \Illuminate\Auth\SessionGuard::class,
'Illuminate\Contracts\Auth\Access\Gate' => \Illuminate\Auth\Access\Gate::class,
'cookie' => \Illuminate\Cookie\CookieJar::class,
'db.factory' => \Illuminate\Database\Connectors\ConnectionFactory::class,
'db' => \Illuminate\Database\DatabaseManager::class,
'db.connection' => \Illuminate\Database\MySqlConnection::class,
'Illuminate\Contracts\Queue\EntityResolver' => \Illuminate\Database\Eloquent\QueueEntityResolver::class,
'encrypter' => \Illuminate\Encryption\Encrypter::class,
'files' => \Illuminate\Filesystem\Filesystem::class,
'filesystem' => \Illuminate\Filesystem\FilesystemManager::class,
'filesystem.disk' => \Illuminate\Filesystem\FilesystemAdapter::class,
'Illuminate\Notifications\ChannelManager' => \Illuminate\Notifications\ChannelManager::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
'Illuminate\Session\Middleware\StartSession' => \Illuminate\Session\Middleware\StartSession::class,
'view' => \Illuminate\View\Factory::class,
'view.finder' => \Illuminate\View\FileViewFinder::class,
'view.engine.resolver' => \Illuminate\View\Engines\EngineResolver::class,
'blade.compiler' => \Illuminate\View\Compilers\BladeCompiler::class,
'Illuminate\Console\Scheduling\Schedule' => \Illuminate\Console\Scheduling\Schedule::class,
'cache' => \Illuminate\Cache\CacheManager::class,
'cache.store' => \Illuminate\Cache\Repository::class,
'memcached.connector' => \Illuminate\Cache\MemcachedConnector::class,
'Illuminate\Broadcasting\BroadcastManager' => \Illuminate\Broadcasting\BroadcastManager::class,
'Illuminate\Contracts\Broadcasting\Broadcaster' => \Illuminate\Broadcasting\Broadcasters\LogBroadcaster::class,
'Illuminate\Bus\Dispatcher' => \Illuminate\Bus\Dispatcher::class,
'command.cache.clear' => \Illuminate\Cache\Console\ClearCommand::class,
'command.cache.forget' => \Illuminate\Cache\Console\ForgetCommand::class,
'command.clear-compiled' => \Illuminate\Foundation\Console\ClearCompiledCommand::class,
'command.auth.resets.clear' => \Illuminate\Auth\Console\ClearResetsCommand::class,
'command.config.cache' => \Illuminate\Foundation\Console\ConfigCacheCommand::class,
'command.config.clear' => \Illuminate\Foundation\Console\ConfigClearCommand::class,
'command.down' => \Illuminate\Foundation\Console\DownCommand::class,
'command.environment' => \Illuminate\Foundation\Console\EnvironmentCommand::class,
'command.key.generate' => \Illuminate\Foundation\Console\KeyGenerateCommand::class,
'command.migrate' => \Illuminate\Database\Console\Migrations\MigrateCommand::class,
'command.migrate.fresh' => \Illuminate\Database\Console\Migrations\FreshCommand::class,
'command.migrate.install' => \Illuminate\Database\Console\Migrations\InstallCommand::class,
'command.migrate.refresh' => \Illuminate\Database\Console\Migrations\RefreshCommand::class,
'command.migrate.reset' => \Illuminate\Database\Console\Migrations\ResetCommand::class,
'command.migrate.rollback' => \Illuminate\Database\Console\Migrations\RollbackCommand::class,
'command.migrate.status' => \Illuminate\Database\Console\Migrations\StatusCommand::class,
'command.package.discover' => \Illuminate\Foundation\Console\PackageDiscoverCommand::class,
'command.preset' => \Illuminate\Foundation\Console\PresetCommand::class,
'command.queue.failed' => \Illuminate\Queue\Console\ListFailedCommand::class,
'command.queue.flush' => \Illuminate\Queue\Console\FlushFailedCommand::class,
'command.queue.forget' => \Illuminate\Queue\Console\ForgetFailedCommand::class,
'command.queue.listen' => \Illuminate\Queue\Console\ListenCommand::class,
'command.queue.restart' => \Illuminate\Queue\Console\RestartCommand::class,
'command.queue.retry' => \Illuminate\Queue\Console\RetryCommand::class,
'command.queue.work' => \Illuminate\Queue\Console\WorkCommand::class,
'command.route.cache' => \Illuminate\Foundation\Console\RouteCacheCommand::class,
'command.route.clear' => \Illuminate\Foundation\Console\RouteClearCommand::class,
'command.route.list' => \Illuminate\Foundation\Console\RouteListCommand::class,
'command.seed' => \Illuminate\Database\Console\Seeds\SeedCommand::class,
'Illuminate\Console\Scheduling\ScheduleFinishCommand' => \Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
'Illuminate\Console\Scheduling\ScheduleRunCommand' => \Illuminate\Console\Scheduling\ScheduleRunCommand::class,
'command.storage.link' => \Illuminate\Foundation\Console\StorageLinkCommand::class,
'command.up' => \Illuminate\Foundation\Console\UpCommand::class,
'command.view.cache' => \Illuminate\Foundation\Console\ViewCacheCommand::class,
'command.view.clear' => \Illuminate\Foundation\Console\ViewClearCommand::class,
'command.app.name' => \Illuminate\Foundation\Console\AppNameCommand::class,
'command.auth.make' => \Illuminate\Auth\Console\AuthMakeCommand::class,
'command.cache.table' => \Illuminate\Cache\Console\CacheTableCommand::class,
'command.channel.make' => \Illuminate\Foundation\Console\ChannelMakeCommand::class,
'command.console.make' => \Illuminate\Foundation\Console\ConsoleMakeCommand::class,
'command.controller.make' => \Illuminate\Routing\Console\ControllerMakeCommand::class,
'command.event.generate' => \Illuminate\Foundation\Console\EventGenerateCommand::class,
'command.event.make' => \Illuminate\Foundation\Console\EventMakeCommand::class,
'command.exception.make' => \Illuminate\Foundation\Console\ExceptionMakeCommand::class,
'command.factory.make' => \Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
'command.job.make' => \Illuminate\Foundation\Console\JobMakeCommand::class,
'command.listener.make' => \Illuminate\Foundation\Console\ListenerMakeCommand::class,
'command.mail.make' => \Illuminate\Foundation\Console\MailMakeCommand::class,
'command.middleware.make' => \Illuminate\Routing\Console\MiddlewareMakeCommand::class,
'command.migrate.make' => \Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
'command.model.make' => \Illuminate\Foundation\Console\ModelMakeCommand::class,
'command.notification.make' => \Illuminate\Foundation\Console\NotificationMakeCommand::class,
'command.notification.table' => \Illuminate\Notifications\Console\NotificationTableCommand::class,
'command.observer.make' => \Illuminate\Foundation\Console\ObserverMakeCommand::class,
'command.policy.make' => \Illuminate\Foundation\Console\PolicyMakeCommand::class,
'command.provider.make' => \Illuminate\Foundation\Console\ProviderMakeCommand::class,
'command.queue.failed-table' => \Illuminate\Queue\Console\FailedTableCommand::class,
'command.queue.table' => \Illuminate\Queue\Console\TableCommand::class,
'command.request.make' => \Illuminate\Foundation\Console\RequestMakeCommand::class,
'command.resource.make' => \Illuminate\Foundation\Console\ResourceMakeCommand::class,
'command.rule.make' => \Illuminate\Foundation\Console\RuleMakeCommand::class,
'command.seeder.make' => \Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
'command.session.table' => \Illuminate\Session\Console\SessionTableCommand::class,
'command.serve' => \Illuminate\Foundation\Console\ServeCommand::class,
'command.test.make' => \Illuminate\Foundation\Console\TestMakeCommand::class,
'command.vendor.publish' => \Illuminate\Foundation\Console\VendorPublishCommand::class,
'migration.repository' => \Illuminate\Database\Migrations\DatabaseMigrationRepository::class,
'migrator' => \Illuminate\Database\Migrations\Migrator::class,
'migration.creator' => \Illuminate\Database\Migrations\MigrationCreator::class,
'composer' => \Illuminate\Support\Composer::class,
'hash' => \Illuminate\Hashing\HashManager::class,
'hash.driver' => \Illuminate\Hashing\BcryptHasher::class,
'swift.transport' => \Illuminate\Mail\TransportManager::class,
'swift.mailer' => \Swift_Mailer::class,
'mailer' => \Illuminate\Mail\Mailer::class,
'Illuminate\Mail\Markdown' => \Illuminate\Mail\Markdown::class,
'Illuminate\Contracts\Pipeline\Hub' => \Illuminate\Pipeline\Hub::class,
'queue' => \Illuminate\Queue\QueueManager::class,
'queue.connection' => \Illuminate\Queue\SyncQueue::class,
'queue.worker' => \Illuminate\Queue\Worker::class,
'queue.listener' => \Illuminate\Queue\Listener::class,
'queue.failer' => \Illuminate\Queue\Failed\DatabaseFailedJobProvider::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'auth.password' => \Illuminate\Auth\Passwords\PasswordBrokerManager::class,
'auth.password.broker' => \Illuminate\Auth\Passwords\PasswordBroker::class,
'translation.loader' => \Illuminate\Translation\FileLoader::class,
'translator' => \Illuminate\Translation\Translator::class,
'validation.presence' => \Illuminate\Validation\DatabasePresenceVerifier::class,
'command.ide-helper.generate' => \Barryvdh\LaravelIdeHelper\Console\GeneratorCommand::class,
'command.ide-helper.models' => \Barryvdh\LaravelIdeHelper\Console\ModelsCommand::class,
'command.ide-helper.meta' => \Barryvdh\LaravelIdeHelper\Console\MetaCommand::class,
'command.ide-helper.eloquent' => \Barryvdh\LaravelIdeHelper\Console\EloquentCommand::class,
'command.tinker' => \Laravel\Tinker\Console\TinkerCommand::class,
'NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener' => \NunoMaduro\Collision\Adapters\Phpunit\Listener::class,
'NunoMaduro\Collision\Contracts\Provider' => \NunoMaduro\Collision\Provider::class,
]));
override(\app(0), map([
'' => '@',
'events' => \Illuminate\Events\Dispatcher::class,
'log' => \Illuminate\Log\LogManager::class,
'router' => \Illuminate\Routing\Router::class,
'url' => \Illuminate\Routing\UrlGenerator::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'Illuminate\Contracts\Routing\ResponseFactory' => \Illuminate\Routing\ResponseFactory::class,
'Illuminate\Routing\Contracts\ControllerDispatcher' => \Illuminate\Routing\ControllerDispatcher::class,
'Illuminate\Contracts\Http\Kernel' => \App\Http\Kernel::class,
'Illuminate\Contracts\Console\Kernel' => \App\Console\Kernel::class,
'Illuminate\Contracts\Debug\ExceptionHandler' => \NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::class,
'auth' => \Illuminate\Auth\AuthManager::class,
'auth.driver' => \Illuminate\Auth\SessionGuard::class,
'Illuminate\Contracts\Auth\Access\Gate' => \Illuminate\Auth\Access\Gate::class,
'cookie' => \Illuminate\Cookie\CookieJar::class,
'db.factory' => \Illuminate\Database\Connectors\ConnectionFactory::class,
'db' => \Illuminate\Database\DatabaseManager::class,
'db.connection' => \Illuminate\Database\MySqlConnection::class,
'Illuminate\Contracts\Queue\EntityResolver' => \Illuminate\Database\Eloquent\QueueEntityResolver::class,
'encrypter' => \Illuminate\Encryption\Encrypter::class,
'files' => \Illuminate\Filesystem\Filesystem::class,
'filesystem' => \Illuminate\Filesystem\FilesystemManager::class,
'filesystem.disk' => \Illuminate\Filesystem\FilesystemAdapter::class,
'Illuminate\Notifications\ChannelManager' => \Illuminate\Notifications\ChannelManager::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
'Illuminate\Session\Middleware\StartSession' => \Illuminate\Session\Middleware\StartSession::class,
'view' => \Illuminate\View\Factory::class,
'view.finder' => \Illuminate\View\FileViewFinder::class,
'view.engine.resolver' => \Illuminate\View\Engines\EngineResolver::class,
'blade.compiler' => \Illuminate\View\Compilers\BladeCompiler::class,
'Illuminate\Console\Scheduling\Schedule' => \Illuminate\Console\Scheduling\Schedule::class,
'cache' => \Illuminate\Cache\CacheManager::class,
'cache.store' => \Illuminate\Cache\Repository::class,
'memcached.connector' => \Illuminate\Cache\MemcachedConnector::class,
'Illuminate\Broadcasting\BroadcastManager' => \Illuminate\Broadcasting\BroadcastManager::class,
'Illuminate\Contracts\Broadcasting\Broadcaster' => \Illuminate\Broadcasting\Broadcasters\LogBroadcaster::class,
'Illuminate\Bus\Dispatcher' => \Illuminate\Bus\Dispatcher::class,
'command.cache.clear' => \Illuminate\Cache\Console\ClearCommand::class,
'command.cache.forget' => \Illuminate\Cache\Console\ForgetCommand::class,
'command.clear-compiled' => \Illuminate\Foundation\Console\ClearCompiledCommand::class,
'command.auth.resets.clear' => \Illuminate\Auth\Console\ClearResetsCommand::class,
'command.config.cache' => \Illuminate\Foundation\Console\ConfigCacheCommand::class,
'command.config.clear' => \Illuminate\Foundation\Console\ConfigClearCommand::class,
'command.down' => \Illuminate\Foundation\Console\DownCommand::class,
'command.environment' => \Illuminate\Foundation\Console\EnvironmentCommand::class,
'command.key.generate' => \Illuminate\Foundation\Console\KeyGenerateCommand::class,
'command.migrate' => \Illuminate\Database\Console\Migrations\MigrateCommand::class,
'command.migrate.fresh' => \Illuminate\Database\Console\Migrations\FreshCommand::class,
'command.migrate.install' => \Illuminate\Database\Console\Migrations\InstallCommand::class,
'command.migrate.refresh' => \Illuminate\Database\Console\Migrations\RefreshCommand::class,
'command.migrate.reset' => \Illuminate\Database\Console\Migrations\ResetCommand::class,
'command.migrate.rollback' => \Illuminate\Database\Console\Migrations\RollbackCommand::class,
'command.migrate.status' => \Illuminate\Database\Console\Migrations\StatusCommand::class,
'command.package.discover' => \Illuminate\Foundation\Console\PackageDiscoverCommand::class,
'command.preset' => \Illuminate\Foundation\Console\PresetCommand::class,
'command.queue.failed' => \Illuminate\Queue\Console\ListFailedCommand::class,
'command.queue.flush' => \Illuminate\Queue\Console\FlushFailedCommand::class,
'command.queue.forget' => \Illuminate\Queue\Console\ForgetFailedCommand::class,
'command.queue.listen' => \Illuminate\Queue\Console\ListenCommand::class,
'command.queue.restart' => \Illuminate\Queue\Console\RestartCommand::class,
'command.queue.retry' => \Illuminate\Queue\Console\RetryCommand::class,
'command.queue.work' => \Illuminate\Queue\Console\WorkCommand::class,
'command.route.cache' => \Illuminate\Foundation\Console\RouteCacheCommand::class,
'command.route.clear' => \Illuminate\Foundation\Console\RouteClearCommand::class,
'command.route.list' => \Illuminate\Foundation\Console\RouteListCommand::class,
'command.seed' => \Illuminate\Database\Console\Seeds\SeedCommand::class,
'Illuminate\Console\Scheduling\ScheduleFinishCommand' => \Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
'Illuminate\Console\Scheduling\ScheduleRunCommand' => \Illuminate\Console\Scheduling\ScheduleRunCommand::class,
'command.storage.link' => \Illuminate\Foundation\Console\StorageLinkCommand::class,
'command.up' => \Illuminate\Foundation\Console\UpCommand::class,
'command.view.cache' => \Illuminate\Foundation\Console\ViewCacheCommand::class,
'command.view.clear' => \Illuminate\Foundation\Console\ViewClearCommand::class,
'command.app.name' => \Illuminate\Foundation\Console\AppNameCommand::class,
'command.auth.make' => \Illuminate\Auth\Console\AuthMakeCommand::class,
'command.cache.table' => \Illuminate\Cache\Console\CacheTableCommand::class,
'command.channel.make' => \Illuminate\Foundation\Console\ChannelMakeCommand::class,
'command.console.make' => \Illuminate\Foundation\Console\ConsoleMakeCommand::class,
'command.controller.make' => \Illuminate\Routing\Console\ControllerMakeCommand::class,
'command.event.generate' => \Illuminate\Foundation\Console\EventGenerateCommand::class,
'command.event.make' => \Illuminate\Foundation\Console\EventMakeCommand::class,
'command.exception.make' => \Illuminate\Foundation\Console\ExceptionMakeCommand::class,
'command.factory.make' => \Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
'command.job.make' => \Illuminate\Foundation\Console\JobMakeCommand::class,
'command.listener.make' => \Illuminate\Foundation\Console\ListenerMakeCommand::class,
'command.mail.make' => \Illuminate\Foundation\Console\MailMakeCommand::class,
'command.middleware.make' => \Illuminate\Routing\Console\MiddlewareMakeCommand::class,
'command.migrate.make' => \Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
'command.model.make' => \Illuminate\Foundation\Console\ModelMakeCommand::class,
'command.notification.make' => \Illuminate\Foundation\Console\NotificationMakeCommand::class,
'command.notification.table' => \Illuminate\Notifications\Console\NotificationTableCommand::class,
'command.observer.make' => \Illuminate\Foundation\Console\ObserverMakeCommand::class,
'command.policy.make' => \Illuminate\Foundation\Console\PolicyMakeCommand::class,
'command.provider.make' => \Illuminate\Foundation\Console\ProviderMakeCommand::class,
'command.queue.failed-table' => \Illuminate\Queue\Console\FailedTableCommand::class,
'command.queue.table' => \Illuminate\Queue\Console\TableCommand::class,
'command.request.make' => \Illuminate\Foundation\Console\RequestMakeCommand::class,
'command.resource.make' => \Illuminate\Foundation\Console\ResourceMakeCommand::class,
'command.rule.make' => \Illuminate\Foundation\Console\RuleMakeCommand::class,
'command.seeder.make' => \Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
'command.session.table' => \Illuminate\Session\Console\SessionTableCommand::class,
'command.serve' => \Illuminate\Foundation\Console\ServeCommand::class,
'command.test.make' => \Illuminate\Foundation\Console\TestMakeCommand::class,
'command.vendor.publish' => \Illuminate\Foundation\Console\VendorPublishCommand::class,
'migration.repository' => \Illuminate\Database\Migrations\DatabaseMigrationRepository::class,
'migrator' => \Illuminate\Database\Migrations\Migrator::class,
'migration.creator' => \Illuminate\Database\Migrations\MigrationCreator::class,
'composer' => \Illuminate\Support\Composer::class,
'hash' => \Illuminate\Hashing\HashManager::class,
'hash.driver' => \Illuminate\Hashing\BcryptHasher::class,
'swift.transport' => \Illuminate\Mail\TransportManager::class,
'swift.mailer' => \Swift_Mailer::class,
'mailer' => \Illuminate\Mail\Mailer::class,
'Illuminate\Mail\Markdown' => \Illuminate\Mail\Markdown::class,
'Illuminate\Contracts\Pipeline\Hub' => \Illuminate\Pipeline\Hub::class,
'queue' => \Illuminate\Queue\QueueManager::class,
'queue.connection' => \Illuminate\Queue\SyncQueue::class,
'queue.worker' => \Illuminate\Queue\Worker::class,
'queue.listener' => \Illuminate\Queue\Listener::class,
'queue.failer' => \Illuminate\Queue\Failed\DatabaseFailedJobProvider::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'auth.password' => \Illuminate\Auth\Passwords\PasswordBrokerManager::class,
'auth.password.broker' => \Illuminate\Auth\Passwords\PasswordBroker::class,
'translation.loader' => \Illuminate\Translation\FileLoader::class,
'translator' => \Illuminate\Translation\Translator::class,
'validation.presence' => \Illuminate\Validation\DatabasePresenceVerifier::class,
'command.ide-helper.generate' => \Barryvdh\LaravelIdeHelper\Console\GeneratorCommand::class,
'command.ide-helper.models' => \Barryvdh\LaravelIdeHelper\Console\ModelsCommand::class,
'command.ide-helper.meta' => \Barryvdh\LaravelIdeHelper\Console\MetaCommand::class,
'command.ide-helper.eloquent' => \Barryvdh\LaravelIdeHelper\Console\EloquentCommand::class,
'command.tinker' => \Laravel\Tinker\Console\TinkerCommand::class,
'NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener' => \NunoMaduro\Collision\Adapters\Phpunit\Listener::class,
'NunoMaduro\Collision\Contracts\Provider' => \NunoMaduro\Collision\Provider::class,
]));
override(\resolve(0), map([
'' => '@',
'events' => \Illuminate\Events\Dispatcher::class,
'log' => \Illuminate\Log\LogManager::class,
'router' => \Illuminate\Routing\Router::class,
'url' => \Illuminate\Routing\UrlGenerator::class,
'redirect' => \Illuminate\Routing\Redirector::class,
'Illuminate\Contracts\Routing\ResponseFactory' => \Illuminate\Routing\ResponseFactory::class,
'Illuminate\Routing\Contracts\ControllerDispatcher' => \Illuminate\Routing\ControllerDispatcher::class,
'Illuminate\Contracts\Http\Kernel' => \App\Http\Kernel::class,
'Illuminate\Contracts\Console\Kernel' => \App\Console\Kernel::class,
'Illuminate\Contracts\Debug\ExceptionHandler' => \NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler::class,
'auth' => \Illuminate\Auth\AuthManager::class,
'auth.driver' => \Illuminate\Auth\SessionGuard::class,
'Illuminate\Contracts\Auth\Access\Gate' => \Illuminate\Auth\Access\Gate::class,
'cookie' => \Illuminate\Cookie\CookieJar::class,
'db.factory' => \Illuminate\Database\Connectors\ConnectionFactory::class,
'db' => \Illuminate\Database\DatabaseManager::class,
'db.connection' => \Illuminate\Database\MySqlConnection::class,
'Illuminate\Contracts\Queue\EntityResolver' => \Illuminate\Database\Eloquent\QueueEntityResolver::class,
'encrypter' => \Illuminate\Encryption\Encrypter::class,
'files' => \Illuminate\Filesystem\Filesystem::class,
'filesystem' => \Illuminate\Filesystem\FilesystemManager::class,
'filesystem.disk' => \Illuminate\Filesystem\FilesystemAdapter::class,
'Illuminate\Notifications\ChannelManager' => \Illuminate\Notifications\ChannelManager::class,
'session' => \Illuminate\Session\SessionManager::class,
'session.store' => \Illuminate\Session\Store::class,
'Illuminate\Session\Middleware\StartSession' => \Illuminate\Session\Middleware\StartSession::class,
'view' => \Illuminate\View\Factory::class,
'view.finder' => \Illuminate\View\FileViewFinder::class,
'view.engine.resolver' => \Illuminate\View\Engines\EngineResolver::class,
'blade.compiler' => \Illuminate\View\Compilers\BladeCompiler::class,
'Illuminate\Console\Scheduling\Schedule' => \Illuminate\Console\Scheduling\Schedule::class,
'cache' => \Illuminate\Cache\CacheManager::class,
'cache.store' => \Illuminate\Cache\Repository::class,
'memcached.connector' => \Illuminate\Cache\MemcachedConnector::class,
'Illuminate\Broadcasting\BroadcastManager' => \Illuminate\Broadcasting\BroadcastManager::class,
'Illuminate\Contracts\Broadcasting\Broadcaster' => \Illuminate\Broadcasting\Broadcasters\LogBroadcaster::class,
'Illuminate\Bus\Dispatcher' => \Illuminate\Bus\Dispatcher::class,
'command.cache.clear' => \Illuminate\Cache\Console\ClearCommand::class,
'command.cache.forget' => \Illuminate\Cache\Console\ForgetCommand::class,
'command.clear-compiled' => \Illuminate\Foundation\Console\ClearCompiledCommand::class,
'command.auth.resets.clear' => \Illuminate\Auth\Console\ClearResetsCommand::class,
'command.config.cache' => \Illuminate\Foundation\Console\ConfigCacheCommand::class,
'command.config.clear' => \Illuminate\Foundation\Console\ConfigClearCommand::class,
'command.down' => \Illuminate\Foundation\Console\DownCommand::class,
'command.environment' => \Illuminate\Foundation\Console\EnvironmentCommand::class,
'command.key.generate' => \Illuminate\Foundation\Console\KeyGenerateCommand::class,
'command.migrate' => \Illuminate\Database\Console\Migrations\MigrateCommand::class,
'command.migrate.fresh' => \Illuminate\Database\Console\Migrations\FreshCommand::class,
'command.migrate.install' => \Illuminate\Database\Console\Migrations\InstallCommand::class,
'command.migrate.refresh' => \Illuminate\Database\Console\Migrations\RefreshCommand::class,
'command.migrate.reset' => \Illuminate\Database\Console\Migrations\ResetCommand::class,
'command.migrate.rollback' => \Illuminate\Database\Console\Migrations\RollbackCommand::class,
'command.migrate.status' => \Illuminate\Database\Console\Migrations\StatusCommand::class,
'command.package.discover' => \Illuminate\Foundation\Console\PackageDiscoverCommand::class,
'command.preset' => \Illuminate\Foundation\Console\PresetCommand::class,
'command.queue.failed' => \Illuminate\Queue\Console\ListFailedCommand::class,
'command.queue.flush' => \Illuminate\Queue\Console\FlushFailedCommand::class,
'command.queue.forget' => \Illuminate\Queue\Console\ForgetFailedCommand::class,
'command.queue.listen' => \Illuminate\Queue\Console\ListenCommand::class,
'command.queue.restart' => \Illuminate\Queue\Console\RestartCommand::class,
'command.queue.retry' => \Illuminate\Queue\Console\RetryCommand::class,
'command.queue.work' => \Illuminate\Queue\Console\WorkCommand::class,
'command.route.cache' => \Illuminate\Foundation\Console\RouteCacheCommand::class,
'command.route.clear' => \Illuminate\Foundation\Console\RouteClearCommand::class,
'command.route.list' => \Illuminate\Foundation\Console\RouteListCommand::class,
'command.seed' => \Illuminate\Database\Console\Seeds\SeedCommand::class,
'Illuminate\Console\Scheduling\ScheduleFinishCommand' => \Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
'Illuminate\Console\Scheduling\ScheduleRunCommand' => \Illuminate\Console\Scheduling\ScheduleRunCommand::class,
'command.storage.link' => \Illuminate\Foundation\Console\StorageLinkCommand::class,
'command.up' => \Illuminate\Foundation\Console\UpCommand::class,
'command.view.cache' => \Illuminate\Foundation\Console\ViewCacheCommand::class,
'command.view.clear' => \Illuminate\Foundation\Console\ViewClearCommand::class,
'command.app.name' => \Illuminate\Foundation\Console\AppNameCommand::class,
'command.auth.make' => \Illuminate\Auth\Console\AuthMakeCommand::class,
'command.cache.table' => \Illuminate\Cache\Console\CacheTableCommand::class,
'command.channel.make' => \Illuminate\Foundation\Console\ChannelMakeCommand::class,
'command.console.make' => \Illuminate\Foundation\Console\ConsoleMakeCommand::class,
'command.controller.make' => \Illuminate\Routing\Console\ControllerMakeCommand::class,
'command.event.generate' => \Illuminate\Foundation\Console\EventGenerateCommand::class,
'command.event.make' => \Illuminate\Foundation\Console\EventMakeCommand::class,
'command.exception.make' => \Illuminate\Foundation\Console\ExceptionMakeCommand::class,
'command.factory.make' => \Illuminate\Database\Console\Factories\FactoryMakeCommand::class,
'command.job.make' => \Illuminate\Foundation\Console\JobMakeCommand::class,
'command.listener.make' => \Illuminate\Foundation\Console\ListenerMakeCommand::class,
'command.mail.make' => \Illuminate\Foundation\Console\MailMakeCommand::class,
'command.middleware.make' => \Illuminate\Routing\Console\MiddlewareMakeCommand::class,
'command.migrate.make' => \Illuminate\Database\Console\Migrations\MigrateMakeCommand::class,
'command.model.make' => \Illuminate\Foundation\Console\ModelMakeCommand::class,
'command.notification.make' => \Illuminate\Foundation\Console\NotificationMakeCommand::class,
'command.notification.table' => \Illuminate\Notifications\Console\NotificationTableCommand::class,
'command.observer.make' => \Illuminate\Foundation\Console\ObserverMakeCommand::class,
'command.policy.make' => \Illuminate\Foundation\Console\PolicyMakeCommand::class,
'command.provider.make' => \Illuminate\Foundation\Console\ProviderMakeCommand::class,
'command.queue.failed-table' => \Illuminate\Queue\Console\FailedTableCommand::class,
'command.queue.table' => \Illuminate\Queue\Console\TableCommand::class,
'command.request.make' => \Illuminate\Foundation\Console\RequestMakeCommand::class,
'command.resource.make' => \Illuminate\Foundation\Console\ResourceMakeCommand::class,
'command.rule.make' => \Illuminate\Foundation\Console\RuleMakeCommand::class,
'command.seeder.make' => \Illuminate\Database\Console\Seeds\SeederMakeCommand::class,
'command.session.table' => \Illuminate\Session\Console\SessionTableCommand::class,
'command.serve' => \Illuminate\Foundation\Console\ServeCommand::class,
'command.test.make' => \Illuminate\Foundation\Console\TestMakeCommand::class,
'command.vendor.publish' => \Illuminate\Foundation\Console\VendorPublishCommand::class,
'migration.repository' => \Illuminate\Database\Migrations\DatabaseMigrationRepository::class,
'migrator' => \Illuminate\Database\Migrations\Migrator::class,
'migration.creator' => \Illuminate\Database\Migrations\MigrationCreator::class,
'composer' => \Illuminate\Support\Composer::class,
'hash' => \Illuminate\Hashing\HashManager::class,
'hash.driver' => \Illuminate\Hashing\BcryptHasher::class,
'swift.transport' => \Illuminate\Mail\TransportManager::class,
'swift.mailer' => \Swift_Mailer::class,
'mailer' => \Illuminate\Mail\Mailer::class,
'Illuminate\Mail\Markdown' => \Illuminate\Mail\Markdown::class,
'Illuminate\Contracts\Pipeline\Hub' => \Illuminate\Pipeline\Hub::class,
'queue' => \Illuminate\Queue\QueueManager::class,
'queue.connection' => \Illuminate\Queue\SyncQueue::class,
'queue.worker' => \Illuminate\Queue\Worker::class,
'queue.listener' => \Illuminate\Queue\Listener::class,
'queue.failer' => \Illuminate\Queue\Failed\DatabaseFailedJobProvider::class,
'redis' => \Illuminate\Redis\RedisManager::class,
'auth.password' => \Illuminate\Auth\Passwords\PasswordBrokerManager::class,
'auth.password.broker' => \Illuminate\Auth\Passwords\PasswordBroker::class,
'translation.loader' => \Illuminate\Translation\FileLoader::class,
'translator' => \Illuminate\Translation\Translator::class,
'validation.presence' => \Illuminate\Validation\DatabasePresenceVerifier::class,
'command.ide-helper.generate' => \Barryvdh\LaravelIdeHelper\Console\GeneratorCommand::class,
'command.ide-helper.models' => \Barryvdh\LaravelIdeHelper\Console\ModelsCommand::class,
'command.ide-helper.meta' => \Barryvdh\LaravelIdeHelper\Console\MetaCommand::class,
'command.ide-helper.eloquent' => \Barryvdh\LaravelIdeHelper\Console\EloquentCommand::class,
'command.tinker' => \Laravel\Tinker\Console\TinkerCommand::class,
'NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener' => \NunoMaduro\Collision\Adapters\Phpunit\Listener::class,
'NunoMaduro\Collision\Contracts\Provider' => \NunoMaduro\Collision\Provider::class,
]));
override(\Illuminate\Support\Arr::add(0), type(0));
override(\Illuminate\Support\Arr::except(0), type(0));
override(\Illuminate\Support\Arr::first(0), elementType(0));
override(\Illuminate\Support\Arr::last(0), elementType(0));
override(\Illuminate\Support\Arr::get(0), elementType(0));
override(\Illuminate\Support\Arr::only(0), type(0));
override(\Illuminate\Support\Arr::prepend(0), type(0));
override(\Illuminate\Support\Arr::pull(0), elementType(0));
override(\Illuminate\Support\Arr::set(0), type(0));
override(\Illuminate\Support\Arr::shuffle(0), type(0));
override(\Illuminate\Support\Arr::sort(0), type(0));
override(\Illuminate\Support\Arr::sortRecursive(0), type(0));
override(\Illuminate\Support\Arr::where(0), type(0));
override(\array_add(0), type(0));
override(\array_except(0), type(0));
override(\array_first(0), elementType(0));
override(\array_last(0), elementType(0));
override(\array_get(0), elementType(0));
override(\array_only(0), type(0));
override(\array_prepend(0), type(0));
override(\array_pull(0), elementType(0));
override(\array_set(0), type(0));
override(\array_sort(0), type(0));
override(\array_sort_recursive(0), type(0));
override(\array_where(0), type(0));
override(\head(0), elementType(0));
override(\last(0), elementType(0));
override(\with(0), type(0));
override(\tap(0), type(0));
}

14836
_ide_helper.php

File diff suppressed because it is too large

42
app/Console/Kernel.php

@ -0,0 +1,42 @@
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}

51
app/Exceptions/Handler.php

@ -0,0 +1,51 @@
<?php
namespace App\Exceptions;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
//
];
/**
* A list of the inputs that are never flashed for validation exceptions.
*
* @var array
*/
protected $dontFlash = [
'password',
'password_confirmation',
];
/**
* Report or log an exception.
*
* @param \Exception $exception
* @return void
*/
public function report(Exception $exception)
{
parent::report($exception);
}
/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Exception $exception
* @return \Illuminate\Http\Response
*/
public function render($request, Exception $exception)
{
return parent::render($request, $exception);
}
}

32
app/Http/Controllers/Auth/ForgotPasswordController.php

@ -0,0 +1,32 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset emails and
| includes a trait which assists in sending these notifications from
| your application to your users. Feel free to explore this trait.
|
*/
use SendsPasswordResetEmails;
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}

39
app/Http/Controllers/Auth/LoginController.php

@ -0,0 +1,39 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|--------------------------------------------------------------------------
|
| This controller handles authenticating users for the application and
| redirecting them to your home screen. The controller uses a trait
| to conveniently provide its functionality to your applications.
|
*/
use AuthenticatesUsers;
/**
* Where to redirect users after login.
*
* @var string
*/
protected $redirectTo = '/home';
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest')->except('logout');
}
}

72
app/Http/Controllers/Auth/RegisterController.php

@ -0,0 +1,72 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Models\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|--------------------------------------------------------------------------
| Register Controller
|--------------------------------------------------------------------------
|
| This controller handles the registration of new users as well as their
| validation and creation. By default this controller uses a trait to
| provide this functionality without requiring any additional code.
|
*/
use RegistersUsers;
/**
* Where to redirect users after registration.
*
* @var string
*/
protected $redirectTo = '/home';
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
/**
* Get a validator for an incoming registration request.
*
* @param array $data
* @return \Illuminate\Contracts\Validation\Validator
*/
protected function validator(array $data)
{
return Validator::make($data, [
'name' => 'required|string|max:255',
'email' => 'required|string|email|max:255|unique:users',
'password' => 'required|string|min:6|confirmed',
]);
}
/**
* Create a new user instance after a valid registration.
*
* @param array $data
* @return \App\Models\User
*/
protected function create(array $data)
{
return User::create([
'name' => $data['name'],
'email' => $data['email'],
'password' => Hash::make($data['password']),
]);
}
}

39
app/Http/Controllers/Auth/ResetPasswordController.php

@ -0,0 +1,39 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset requests
| and uses a simple trait to include this behavior. You're free to
| explore this trait and override any methods you wish to tweak.
|
*/
use ResetsPasswords;
/**
* Where to redirect users after resetting their password.
*
* @var string
*/
protected $redirectTo = '/home';
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}

13
app/Http/Controllers/Controller.php

@ -0,0 +1,13 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}

63
app/Http/Kernel.php

@ -0,0 +1,63 @@
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
\App\Http\Middleware\TrustProxies::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
// \Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'api' => [
'throttle:60,1',
'bindings',
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
];
}

17
app/Http/Middleware/EncryptCookies.php

@ -0,0 +1,17 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}

26
app/Http/Middleware/RedirectIfAuthenticated.php

@ -0,0 +1,26 @@
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
return redirect('/home');
}
return $next($request);
}
}

18
app/Http/Middleware/TrimStrings.php

@ -0,0 +1,18 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_confirmation',
];
}

23
app/Http/Middleware/TrustProxies.php

@ -0,0 +1,23 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}

17
app/Http/Middleware/VerifyCsrfToken.php

@ -0,0 +1,17 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}

22
app/Logger.php

@ -0,0 +1,22 @@
<?php
namespace App;
use Monolog\Logger as MonologLogger;
/**
* Custom logger to solve the log permissions nightmare
*/
class Logger {
public function __invoke(array $config)
{
$monolog = new MonologLogger('my-logger');
$filename = storage_path('logs/' . php_sapi_name() . '-' . posix_getpwuid(posix_geteuid())['name'] . '.log');
$monolog->pushHandler($handler = new \Monolog\Handler\RotatingFileHandler($filename, 30));
$handler->setFilenameFormat('laravel-{date}-{filename}', 'Y-m-d');
$formatter = new \Monolog\Formatter\LineFormatter(null, null, true, true);
$formatter->includeStacktraces();
$handler->setFormatter($formatter);
return $monolog;
}
}

29
app/Models/User.php

@ -0,0 +1,29 @@
<?php
namespace App\Models;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email', 'password',
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'password', 'remember_token',
];
}

28
app/Providers/AppServiceProvider.php

@ -0,0 +1,28 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}

30
app/Providers/AuthServiceProvider.php

@ -0,0 +1,30 @@
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
'App\Model' => 'App\Policies\ModelPolicy',
];
/**
* Register any authentication / authorization services.
*
* @return void
*/
public function boot()
{
$this->registerPolicies();
//
}
}

21
app/Providers/BroadcastServiceProvider.php

@ -0,0 +1,21 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();
require base_path('routes/channels.php');
}
}

32
app/Providers/EventServiceProvider.php

@ -0,0 +1,32 @@
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'App\Events\Event' => [
'App\Listeners\EventListener',
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}

73
app/Providers/RouteServiceProvider.php

@ -0,0 +1,73 @@
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as the URL generator's root namespace.
*
* @var string
*/
protected $namespace = 'App\Http\Controllers';
/**
* Define your route model bindings, pattern filters, etc.
*
* @return void
*/
public function boot()
{
//
parent::boot();
}
/**
* Define the routes for the application.
*
* @return void
*/