├── LICENSE.md ├── README.md ├── composer.json └── src └── Illuminate ├── Auth ├── Access │ ├── AuthorizationException.php │ ├── Gate.php │ ├── HandlesAuthorization.php │ └── Response.php ├── AuthManager.php ├── AuthServiceProvider.php ├── Authenticatable.php ├── AuthenticationException.php ├── Console │ ├── AuthMakeCommand.php │ ├── ClearResetsCommand.php │ └── stubs │ │ └── make │ │ ├── controllers │ │ └── HomeController.stub │ │ ├── routes.stub │ │ └── views │ │ ├── auth │ │ ├── login.stub │ │ ├── passwords │ │ │ ├── email.stub │ │ │ └── reset.stub │ │ └── register.stub │ │ ├── home.stub │ │ └── layouts │ │ └── app.stub ├── CreatesUserProviders.php ├── DatabaseUserProvider.php ├── EloquentUserProvider.php ├── Events │ ├── Attempting.php │ ├── Authenticated.php │ ├── Failed.php │ ├── Lockout.php │ ├── Login.php │ ├── Logout.php │ ├── PasswordReset.php │ └── Registered.php ├── GenericUser.php ├── GuardHelpers.php ├── Middleware │ ├── Authenticate.php │ ├── AuthenticateWithBasicAuth.php │ └── Authorize.php ├── Notifications │ └── ResetPassword.php ├── Passwords │ ├── CanResetPassword.php │ ├── DatabaseTokenRepository.php │ ├── PasswordBroker.php │ ├── PasswordBrokerManager.php │ ├── PasswordResetServiceProvider.php │ └── TokenRepositoryInterface.php ├── Recaller.php ├── RequestGuard.php ├── SessionGuard.php ├── TokenGuard.php └── composer.json ├── Broadcasting ├── BroadcastController.php ├── BroadcastEvent.php ├── BroadcastException.php ├── BroadcastManager.php ├── BroadcastServiceProvider.php ├── Broadcasters │ ├── Broadcaster.php │ ├── LogBroadcaster.php │ ├── NullBroadcaster.php │ ├── PusherBroadcaster.php │ └── RedisBroadcaster.php ├── Channel.php ├── InteractsWithSockets.php ├── PendingBroadcast.php ├── PresenceChannel.php ├── PrivateChannel.php └── composer.json ├── Bus ├── BusServiceProvider.php ├── Dispatcher.php ├── Queueable.php └── composer.json ├── Cache ├── ApcStore.php ├── ApcWrapper.php ├── ArrayStore.php ├── CacheManager.php ├── CacheServiceProvider.php ├── Console │ ├── CacheTableCommand.php │ ├── ClearCommand.php │ ├── ForgetCommand.php │ └── stubs │ │ └── cache.stub ├── DatabaseStore.php ├── Events │ ├── CacheEvent.php │ ├── CacheHit.php │ ├── CacheMissed.php │ ├── KeyForgotten.php │ └── KeyWritten.php ├── FileStore.php ├── Lock.php ├── MemcachedConnector.php ├── MemcachedLock.php ├── MemcachedStore.php ├── NullStore.php ├── RateLimiter.php ├── RedisLock.php ├── RedisStore.php ├── RedisTaggedCache.php ├── Repository.php ├── RetrievesMultipleKeys.php ├── TagSet.php ├── TaggableStore.php ├── TaggedCache.php └── composer.json ├── Config ├── Repository.php └── composer.json ├── Console ├── Application.php ├── Command.php ├── ConfirmableTrait.php ├── DetectsApplicationNamespace.php ├── Events │ ├── ArtisanStarting.php │ ├── CommandFinished.php │ └── CommandStarting.php ├── GeneratorCommand.php ├── OutputStyle.php ├── Parser.php ├── Scheduling │ ├── CacheMutex.php │ ├── CallbackEvent.php │ ├── CommandBuilder.php │ ├── Event.php │ ├── ManagesFrequencies.php │ ├── Mutex.php │ ├── Schedule.php │ ├── ScheduleFinishCommand.php │ └── ScheduleRunCommand.php └── composer.json ├── Container ├── BoundMethod.php ├── Container.php ├── ContextualBindingBuilder.php ├── EntryNotFoundException.php └── composer.json ├── Contracts ├── Auth │ ├── Access │ │ ├── Authorizable.php │ │ └── Gate.php │ ├── Authenticatable.php │ ├── CanResetPassword.php │ ├── Factory.php │ ├── Guard.php │ ├── PasswordBroker.php │ ├── PasswordBrokerFactory.php │ ├── StatefulGuard.php │ ├── SupportsBasicAuth.php │ └── UserProvider.php ├── Broadcasting │ ├── Broadcaster.php │ ├── Factory.php │ ├── ShouldBroadcast.php │ └── ShouldBroadcastNow.php ├── Bus │ ├── Dispatcher.php │ └── QueueingDispatcher.php ├── Cache │ ├── Factory.php │ ├── Lock.php │ ├── LockProvider.php │ ├── LockTimeoutException.php │ ├── Repository.php │ └── Store.php ├── Config │ └── Repository.php ├── Console │ ├── Application.php │ └── Kernel.php ├── Container │ ├── BindingResolutionException.php │ ├── Container.php │ └── ContextualBindingBuilder.php ├── Cookie │ ├── Factory.php │ └── QueueingFactory.php ├── Database │ └── ModelIdentifier.php ├── Debug │ └── ExceptionHandler.php ├── Encryption │ ├── DecryptException.php │ ├── EncryptException.php │ └── Encrypter.php ├── Events │ └── Dispatcher.php ├── Filesystem │ ├── Cloud.php │ ├── Factory.php │ ├── FileNotFoundException.php │ └── Filesystem.php ├── Foundation │ └── Application.php ├── Hashing │ └── Hasher.php ├── Http │ └── Kernel.php ├── Logging │ └── Log.php ├── Mail │ ├── MailQueue.php │ ├── Mailable.php │ └── Mailer.php ├── Notifications │ ├── Dispatcher.php │ └── Factory.php ├── Pagination │ ├── LengthAwarePaginator.php │ └── Paginator.php ├── Pipeline │ ├── Hub.php │ └── Pipeline.php ├── Queue │ ├── EntityNotFoundException.php │ ├── EntityResolver.php │ ├── Factory.php │ ├── Job.php │ ├── Monitor.php │ ├── Queue.php │ ├── QueueableCollection.php │ ├── QueueableEntity.php │ └── ShouldQueue.php ├── Redis │ ├── Factory.php │ └── LimiterTimeoutException.php ├── Routing │ ├── BindingRegistrar.php │ ├── Registrar.php │ ├── ResponseFactory.php │ ├── UrlGenerator.php │ └── UrlRoutable.php ├── Session │ └── Session.php ├── Support │ ├── Arrayable.php │ ├── Htmlable.php │ ├── Jsonable.php │ ├── MessageBag.php │ ├── MessageProvider.php │ ├── Renderable.php │ └── Responsable.php ├── Translation │ ├── Loader.php │ └── Translator.php ├── Validation │ ├── Factory.php │ ├── ImplicitRule.php │ ├── Rule.php │ ├── ValidatesWhenResolved.php │ └── Validator.php ├── View │ ├── Engine.php │ ├── Factory.php │ └── View.php └── composer.json ├── Cookie ├── CookieJar.php ├── CookieServiceProvider.php ├── Middleware │ ├── AddQueuedCookiesToResponse.php │ └── EncryptCookies.php └── composer.json ├── Database ├── Capsule │ └── Manager.php ├── Concerns │ ├── BuildsQueries.php │ └── ManagesTransactions.php ├── Connection.php ├── ConnectionInterface.php ├── ConnectionResolver.php ├── ConnectionResolverInterface.php ├── Connectors │ ├── ConnectionFactory.php │ ├── Connector.php │ ├── ConnectorInterface.php │ ├── MySqlConnector.php │ ├── PostgresConnector.php │ ├── SQLiteConnector.php │ └── SqlServerConnector.php ├── Console │ ├── Factories │ │ ├── FactoryMakeCommand.php │ │ └── stubs │ │ │ └── factory.stub │ ├── Migrations │ │ ├── BaseCommand.php │ │ ├── FreshCommand.php │ │ ├── InstallCommand.php │ │ ├── MigrateCommand.php │ │ ├── MigrateMakeCommand.php │ │ ├── RefreshCommand.php │ │ ├── ResetCommand.php │ │ ├── RollbackCommand.php │ │ └── StatusCommand.php │ └── Seeds │ │ ├── SeedCommand.php │ │ ├── SeederMakeCommand.php │ │ └── stubs │ │ └── seeder.stub ├── DatabaseManager.php ├── DatabaseServiceProvider.php ├── DetectsDeadlocks.php ├── DetectsLostConnections.php ├── Eloquent │ ├── Builder.php │ ├── Collection.php │ ├── Concerns │ │ ├── GuardsAttributes.php │ │ ├── HasAttributes.php │ │ ├── HasEvents.php │ │ ├── HasGlobalScopes.php │ │ ├── HasRelationships.php │ │ ├── HasTimestamps.php │ │ ├── HidesAttributes.php │ │ └── QueriesRelationships.php │ ├── Factory.php │ ├── FactoryBuilder.php │ ├── JsonEncodingException.php │ ├── MassAssignmentException.php │ ├── Model.php │ ├── ModelNotFoundException.php │ ├── QueueEntityResolver.php │ ├── RelationNotFoundException.php │ ├── Relations │ │ ├── BelongsTo.php │ │ ├── BelongsToMany.php │ │ ├── Concerns │ │ │ ├── InteractsWithPivotTable.php │ │ │ └── SupportsDefaultModels.php │ │ ├── HasMany.php │ │ ├── HasManyThrough.php │ │ ├── HasOne.php │ │ ├── HasOneOrMany.php │ │ ├── MorphMany.php │ │ ├── MorphOne.php │ │ ├── MorphOneOrMany.php │ │ ├── MorphPivot.php │ │ ├── MorphTo.php │ │ ├── MorphToMany.php │ │ ├── Pivot.php │ │ └── Relation.php │ ├── Scope.php │ ├── SoftDeletes.php │ └── SoftDeletingScope.php ├── Events │ ├── ConnectionEvent.php │ ├── QueryExecuted.php │ ├── StatementPrepared.php │ ├── TransactionBeginning.php │ ├── TransactionCommitted.php │ └── TransactionRolledBack.php ├── Grammar.php ├── MigrationServiceProvider.php ├── Migrations │ ├── DatabaseMigrationRepository.php │ ├── Migration.php │ ├── MigrationCreator.php │ ├── MigrationRepositoryInterface.php │ ├── Migrator.php │ └── stubs │ │ ├── blank.stub │ │ ├── create.stub │ │ └── update.stub ├── MySqlConnection.php ├── PostgresConnection.php ├── Query │ ├── Builder.php │ ├── Expression.php │ ├── Grammars │ │ ├── Grammar.php │ │ ├── MySqlGrammar.php │ │ ├── PostgresGrammar.php │ │ ├── SQLiteGrammar.php │ │ └── SqlServerGrammar.php │ ├── JoinClause.php │ ├── JsonExpression.php │ └── Processors │ │ ├── MySqlProcessor.php │ │ ├── PostgresProcessor.php │ │ ├── Processor.php │ │ ├── SQLiteProcessor.php │ │ └── SqlServerProcessor.php ├── QueryException.php ├── README.md ├── SQLiteConnection.php ├── Schema │ ├── Blueprint.php │ ├── Builder.php │ ├── Grammars │ │ ├── ChangeColumn.php │ │ ├── Grammar.php │ │ ├── MySqlGrammar.php │ │ ├── PostgresGrammar.php │ │ ├── RenameColumn.php │ │ ├── SQLiteGrammar.php │ │ └── SqlServerGrammar.php │ ├── MySqlBuilder.php │ ├── PostgresBuilder.php │ ├── SQLiteBuilder.php │ └── SqlServerBuilder.php ├── Seeder.php ├── SqlServerConnection.php └── composer.json ├── Encryption ├── Encrypter.php ├── EncryptionServiceProvider.php └── composer.json ├── Events ├── CallQueuedListener.php ├── Dispatcher.php ├── EventServiceProvider.php └── composer.json ├── Filesystem ├── Filesystem.php ├── FilesystemAdapter.php ├── FilesystemManager.php ├── FilesystemServiceProvider.php └── composer.json ├── Foundation ├── AliasLoader.php ├── Application.php ├── Auth │ ├── Access │ │ ├── Authorizable.php │ │ └── AuthorizesRequests.php │ ├── AuthenticatesUsers.php │ ├── RedirectsUsers.php │ ├── RegistersUsers.php │ ├── ResetsPasswords.php │ ├── SendsPasswordResetEmails.php │ ├── ThrottlesLogins.php │ └── User.php ├── Bootstrap │ ├── BootProviders.php │ ├── HandleExceptions.php │ ├── LoadConfiguration.php │ ├── LoadEnvironmentVariables.php │ ├── RegisterFacades.php │ ├── RegisterProviders.php │ └── SetRequestForConsole.php ├── Bus │ ├── Dispatchable.php │ ├── DispatchesJobs.php │ ├── PendingChain.php │ └── PendingDispatch.php ├── ComposerScripts.php ├── Console │ ├── AppNameCommand.php │ ├── ClearCompiledCommand.php │ ├── ClosureCommand.php │ ├── ConfigCacheCommand.php │ ├── ConfigClearCommand.php │ ├── ConsoleMakeCommand.php │ ├── DownCommand.php │ ├── EnvironmentCommand.php │ ├── EventGenerateCommand.php │ ├── EventMakeCommand.php │ ├── ExceptionMakeCommand.php │ ├── JobMakeCommand.php │ ├── Kernel.php │ ├── KeyGenerateCommand.php │ ├── ListenerMakeCommand.php │ ├── MailMakeCommand.php │ ├── ModelMakeCommand.php │ ├── NotificationMakeCommand.php │ ├── OptimizeCommand.php │ ├── PackageDiscoverCommand.php │ ├── PolicyMakeCommand.php │ ├── PresetCommand.php │ ├── Presets │ │ ├── Bootstrap.php │ │ ├── None.php │ │ ├── Preset.php │ │ ├── React.php │ │ ├── Vue.php │ │ ├── bootstrap-stubs │ │ │ ├── _variables.scss │ │ │ └── app.scss │ │ ├── none-stubs │ │ │ └── app.js │ │ ├── react-stubs │ │ │ ├── Example.js │ │ │ ├── app.js │ │ │ └── webpack.mix.js │ │ └── vue-stubs │ │ │ ├── Example.vue │ │ │ ├── app.js │ │ │ └── webpack.mix.js │ ├── ProviderMakeCommand.php │ ├── QueuedCommand.php │ ├── RequestMakeCommand.php │ ├── ResourceMakeCommand.php │ ├── RouteCacheCommand.php │ ├── RouteClearCommand.php │ ├── RouteListCommand.php │ ├── RuleMakeCommand.php │ ├── ServeCommand.php │ ├── StorageLinkCommand.php │ ├── TestMakeCommand.php │ ├── UpCommand.php │ ├── VendorPublishCommand.php │ ├── ViewClearCommand.php │ └── stubs │ │ ├── console.stub │ │ ├── event-handler-queued.stub │ │ ├── event-handler.stub │ │ ├── event.stub │ │ ├── exception-render-report.stub │ │ ├── exception-render.stub │ │ ├── exception-report.stub │ │ ├── exception.stub │ │ ├── job-queued.stub │ │ ├── job.stub │ │ ├── listener-duck.stub │ │ ├── listener-queued-duck.stub │ │ ├── listener-queued.stub │ │ ├── listener.stub │ │ ├── mail.stub │ │ ├── markdown-mail.stub │ │ ├── markdown-notification.stub │ │ ├── markdown.stub │ │ ├── model.stub │ │ ├── notification.stub │ │ ├── pivot.model.stub │ │ ├── policy.plain.stub │ │ ├── policy.stub │ │ ├── provider.stub │ │ ├── request.stub │ │ ├── resource-collection.stub │ │ ├── resource.stub │ │ ├── routes.stub │ │ ├── rule.stub │ │ ├── test.stub │ │ └── unit-test.stub ├── EnvironmentDetector.php ├── Events │ ├── Dispatchable.php │ └── LocaleUpdated.php ├── Exceptions │ ├── Handler.php │ └── views │ │ ├── 404.blade.php │ │ ├── 419.blade.php │ │ ├── 429.blade.php │ │ ├── 500.blade.php │ │ ├── 503.blade.php │ │ └── layout.blade.php ├── Http │ ├── Events │ │ └── RequestHandled.php │ ├── Exceptions │ │ └── MaintenanceModeException.php │ ├── FormRequest.php │ ├── Kernel.php │ └── Middleware │ │ ├── CheckForMaintenanceMode.php │ │ ├── ConvertEmptyStringsToNull.php │ │ ├── TransformsRequest.php │ │ ├── TrimStrings.php │ │ ├── ValidatePostSize.php │ │ └── VerifyCsrfToken.php ├── Inspiring.php ├── PackageManifest.php ├── ProviderRepository.php ├── Providers │ ├── ArtisanServiceProvider.php │ ├── ComposerServiceProvider.php │ ├── ConsoleSupportServiceProvider.php │ ├── FormRequestServiceProvider.php │ └── FoundationServiceProvider.php ├── Support │ └── Providers │ │ ├── AuthServiceProvider.php │ │ ├── EventServiceProvider.php │ │ └── RouteServiceProvider.php ├── Testing │ ├── Concerns │ │ ├── InteractsWithAuthentication.php │ │ ├── InteractsWithConsole.php │ │ ├── InteractsWithContainer.php │ │ ├── InteractsWithDatabase.php │ │ ├── InteractsWithExceptionHandling.php │ │ ├── InteractsWithSession.php │ │ ├── MakesHttpRequests.php │ │ └── MocksApplicationServices.php │ ├── Constraints │ │ ├── HasInDatabase.php │ │ └── SoftDeletedInDatabase.php │ ├── DatabaseMigrations.php │ ├── DatabaseTransactions.php │ ├── HttpException.php │ ├── RefreshDatabase.php │ ├── RefreshDatabaseState.php │ ├── TestCase.php │ ├── TestResponse.php │ ├── WithoutEvents.php │ └── WithoutMiddleware.php ├── Validation │ └── ValidatesRequests.php ├── helpers.php └── stubs │ └── facade.stub ├── Hashing ├── BcryptHasher.php ├── HashServiceProvider.php └── composer.json ├── Http ├── Concerns │ ├── InteractsWithContentTypes.php │ ├── InteractsWithFlashData.php │ └── InteractsWithInput.php ├── Exceptions │ ├── HttpResponseException.php │ └── PostTooLargeException.php ├── File.php ├── FileHelpers.php ├── JsonResponse.php ├── Middleware │ ├── CheckResponseForModifications.php │ └── FrameGuard.php ├── RedirectResponse.php ├── Request.php ├── Resources │ ├── CollectsResources.php │ ├── ConditionallyLoadsAttributes.php │ ├── DelegatesToResource.php │ ├── Json │ │ ├── AnonymousResourceCollection.php │ │ ├── PaginatedResourceResponse.php │ │ ├── Resource.php │ │ ├── ResourceCollection.php │ │ └── ResourceResponse.php │ ├── MergeValue.php │ ├── MissingValue.php │ └── PotentiallyMissing.php ├── Response.php ├── ResponseTrait.php ├── Testing │ ├── File.php │ ├── FileFactory.php │ └── MimeType.php ├── UploadedFile.php └── composer.json ├── Log ├── Events │ └── MessageLogged.php ├── LogServiceProvider.php ├── Writer.php └── composer.json ├── Mail ├── Events │ ├── MessageSending.php │ └── MessageSent.php ├── MailServiceProvider.php ├── Mailable.php ├── Mailer.php ├── Markdown.php ├── Message.php ├── PendingMail.php ├── SendQueuedMailable.php ├── Transport │ ├── ArrayTransport.php │ ├── LogTransport.php │ ├── MailgunTransport.php │ ├── MandrillTransport.php │ ├── SesTransport.php │ ├── SparkPostTransport.php │ └── Transport.php ├── TransportManager.php ├── composer.json └── resources │ └── views │ ├── html │ ├── button.blade.php │ ├── footer.blade.php │ ├── header.blade.php │ ├── layout.blade.php │ ├── message.blade.php │ ├── panel.blade.php │ ├── promotion.blade.php │ ├── promotion │ │ └── button.blade.php │ ├── subcopy.blade.php │ ├── table.blade.php │ └── themes │ │ └── default.css │ └── markdown │ ├── button.blade.php │ ├── footer.blade.php │ ├── header.blade.php │ ├── layout.blade.php │ ├── message.blade.php │ ├── panel.blade.php │ ├── promotion.blade.php │ ├── promotion │ └── button.blade.php │ ├── subcopy.blade.php │ └── table.blade.php ├── Notifications ├── Action.php ├── AnonymousNotifiable.php ├── ChannelManager.php ├── Channels │ ├── BroadcastChannel.php │ ├── DatabaseChannel.php │ ├── MailChannel.php │ ├── NexmoSmsChannel.php │ └── SlackWebhookChannel.php ├── Console │ ├── NotificationTableCommand.php │ └── stubs │ │ └── notifications.stub ├── DatabaseNotification.php ├── DatabaseNotificationCollection.php ├── Events │ ├── BroadcastNotificationCreated.php │ ├── NotificationFailed.php │ ├── NotificationSending.php │ └── NotificationSent.php ├── HasDatabaseNotifications.php ├── Messages │ ├── BroadcastMessage.php │ ├── DatabaseMessage.php │ ├── MailMessage.php │ ├── NexmoMessage.php │ ├── SimpleMessage.php │ ├── SlackAttachment.php │ ├── SlackAttachmentField.php │ └── SlackMessage.php ├── Notifiable.php ├── Notification.php ├── NotificationSender.php ├── NotificationServiceProvider.php ├── RoutesNotifications.php ├── SendQueuedNotifications.php ├── composer.json └── resources │ └── views │ └── email.blade.php ├── Pagination ├── AbstractPaginator.php ├── LengthAwarePaginator.php ├── PaginationServiceProvider.php ├── Paginator.php ├── UrlWindow.php ├── composer.json └── resources │ └── views │ ├── bootstrap-4.blade.php │ ├── default.blade.php │ ├── semantic-ui.blade.php │ ├── simple-bootstrap-4.blade.php │ └── simple-default.blade.php ├── Pipeline ├── Hub.php ├── Pipeline.php ├── PipelineServiceProvider.php └── composer.json ├── Queue ├── BeanstalkdQueue.php ├── CallQueuedHandler.php ├── Capsule │ └── Manager.php ├── Connectors │ ├── BeanstalkdConnector.php │ ├── ConnectorInterface.php │ ├── DatabaseConnector.php │ ├── NullConnector.php │ ├── RedisConnector.php │ ├── SqsConnector.php │ └── SyncConnector.php ├── Console │ ├── FailedTableCommand.php │ ├── FlushFailedCommand.php │ ├── ForgetFailedCommand.php │ ├── ListFailedCommand.php │ ├── ListenCommand.php │ ├── RestartCommand.php │ ├── RetryCommand.php │ ├── TableCommand.php │ ├── WorkCommand.php │ └── stubs │ │ ├── failed_jobs.stub │ │ └── jobs.stub ├── DatabaseQueue.php ├── Events │ ├── JobExceptionOccurred.php │ ├── JobFailed.php │ ├── JobProcessed.php │ ├── JobProcessing.php │ ├── Looping.php │ └── WorkerStopping.php ├── Failed │ ├── DatabaseFailedJobProvider.php │ ├── FailedJobProviderInterface.php │ └── NullFailedJobProvider.php ├── FailingJob.php ├── InteractsWithQueue.php ├── InvalidPayloadException.php ├── Jobs │ ├── BeanstalkdJob.php │ ├── DatabaseJob.php │ ├── DatabaseJobRecord.php │ ├── Job.php │ ├── JobName.php │ ├── RedisJob.php │ ├── SqsJob.php │ └── SyncJob.php ├── Listener.php ├── ListenerOptions.php ├── LuaScripts.php ├── ManuallyFailedException.php ├── MaxAttemptsExceededException.php ├── NullQueue.php ├── Queue.php ├── QueueManager.php ├── QueueServiceProvider.php ├── README.md ├── RedisQueue.php ├── SerializesAndRestoresModelIdentifiers.php ├── SerializesModels.php ├── SqsQueue.php ├── SyncQueue.php ├── Worker.php ├── WorkerOptions.php └── composer.json ├── Redis ├── Connections │ ├── Connection.php │ ├── PhpRedisClusterConnection.php │ ├── PhpRedisConnection.php │ ├── PredisClusterConnection.php │ └── PredisConnection.php ├── Connectors │ ├── PhpRedisConnector.php │ └── PredisConnector.php ├── Limiters │ ├── ConcurrencyLimiter.php │ ├── ConcurrencyLimiterBuilder.php │ ├── DurationLimiter.php │ └── DurationLimiterBuilder.php ├── RedisManager.php ├── RedisServiceProvider.php └── composer.json ├── Routing ├── Console │ ├── ControllerMakeCommand.php │ ├── MiddlewareMakeCommand.php │ └── stubs │ │ ├── controller.model.stub │ │ ├── controller.nested.stub │ │ ├── controller.plain.stub │ │ ├── controller.stub │ │ └── middleware.stub ├── Contracts │ └── ControllerDispatcher.php ├── Controller.php ├── ControllerDispatcher.php ├── ControllerMiddlewareOptions.php ├── Events │ └── RouteMatched.php ├── Exceptions │ └── UrlGenerationException.php ├── ImplicitRouteBinding.php ├── Matching │ ├── HostValidator.php │ ├── MethodValidator.php │ ├── SchemeValidator.php │ ├── UriValidator.php │ └── ValidatorInterface.php ├── Middleware │ ├── SubstituteBindings.php │ ├── ThrottleRequests.php │ └── ThrottleRequestsWithRedis.php ├── MiddlewareNameResolver.php ├── PendingResourceRegistration.php ├── Pipeline.php ├── RedirectController.php ├── Redirector.php ├── ResourceRegistrar.php ├── ResponseFactory.php ├── Route.php ├── RouteAction.php ├── RouteBinding.php ├── RouteCollection.php ├── RouteCompiler.php ├── RouteDependencyResolverTrait.php ├── RouteGroup.php ├── RouteParameterBinder.php ├── RouteRegistrar.php ├── RouteSignatureParameters.php ├── RouteUrlGenerator.php ├── Router.php ├── RoutingServiceProvider.php ├── SortedMiddleware.php ├── UrlGenerator.php ├── ViewController.php └── composer.json ├── Session ├── CacheBasedSessionHandler.php ├── Console │ ├── SessionTableCommand.php │ └── stubs │ │ └── database.stub ├── CookieSessionHandler.php ├── DatabaseSessionHandler.php ├── EncryptedStore.php ├── ExistenceAwareInterface.php ├── FileSessionHandler.php ├── Middleware │ ├── AuthenticateSession.php │ └── StartSession.php ├── SessionManager.php ├── SessionServiceProvider.php ├── Store.php ├── TokenMismatchException.php └── composer.json ├── Support ├── AggregateServiceProvider.php ├── Arr.php ├── Carbon.php ├── Collection.php ├── Composer.php ├── Debug │ ├── Dumper.php │ └── HtmlDumper.php ├── Facades │ ├── App.php │ ├── Artisan.php │ ├── Auth.php │ ├── Blade.php │ ├── Broadcast.php │ ├── Bus.php │ ├── Cache.php │ ├── Config.php │ ├── Cookie.php │ ├── Crypt.php │ ├── DB.php │ ├── Event.php │ ├── Facade.php │ ├── File.php │ ├── Gate.php │ ├── Hash.php │ ├── Input.php │ ├── Lang.php │ ├── Log.php │ ├── Mail.php │ ├── Notification.php │ ├── Password.php │ ├── Queue.php │ ├── Redirect.php │ ├── Redis.php │ ├── Request.php │ ├── Response.php │ ├── Route.php │ ├── Schema.php │ ├── Session.php │ ├── Storage.php │ ├── URL.php │ ├── Validator.php │ └── View.php ├── Fluent.php ├── HigherOrderCollectionProxy.php ├── HigherOrderTapProxy.php ├── HtmlString.php ├── InteractsWithTime.php ├── Manager.php ├── MessageBag.php ├── NamespacedItemResolver.php ├── Optional.php ├── Pluralizer.php ├── ServiceProvider.php ├── Str.php ├── Testing │ └── Fakes │ │ ├── BusFake.php │ │ ├── EventFake.php │ │ ├── MailFake.php │ │ ├── NotificationFake.php │ │ ├── PendingMailFake.php │ │ └── QueueFake.php ├── Traits │ ├── CapsuleManagerTrait.php │ └── Macroable.php ├── ViewErrorBag.php ├── composer.json └── helpers.php ├── Translation ├── ArrayLoader.php ├── FileLoader.php ├── MessageSelector.php ├── TranslationServiceProvider.php ├── Translator.php └── composer.json ├── Validation ├── ClosureValidationRule.php ├── Concerns │ ├── FormatsMessages.php │ ├── ReplacesAttributes.php │ └── ValidatesAttributes.php ├── DatabasePresenceVerifier.php ├── Factory.php ├── PresenceVerifierInterface.php ├── Rule.php ├── Rules │ ├── DatabaseRule.php │ ├── Dimensions.php │ ├── Exists.php │ ├── In.php │ ├── NotIn.php │ └── Unique.php ├── UnauthorizedException.php ├── ValidatesWhenResolvedTrait.php ├── ValidationData.php ├── ValidationException.php ├── ValidationRuleParser.php ├── ValidationServiceProvider.php ├── Validator.php └── composer.json └── View ├── Compilers ├── BladeCompiler.php ├── Compiler.php ├── CompilerInterface.php └── Concerns │ ├── CompilesAuthorizations.php │ ├── CompilesComments.php │ ├── CompilesComponents.php │ ├── CompilesConditionals.php │ ├── CompilesEchos.php │ ├── CompilesIncludes.php │ ├── CompilesInjections.php │ ├── CompilesJson.php │ ├── CompilesLayouts.php │ ├── CompilesLoops.php │ ├── CompilesRawPhp.php │ ├── CompilesStacks.php │ └── CompilesTranslations.php ├── Concerns ├── ManagesComponents.php ├── ManagesEvents.php ├── ManagesLayouts.php ├── ManagesLoops.php ├── ManagesStacks.php └── ManagesTranslations.php ├── Engines ├── CompilerEngine.php ├── Engine.php ├── EngineResolver.php ├── FileEngine.php └── PhpEngine.php ├── Factory.php ├── FileViewFinder.php ├── Middleware └── ShareErrorsFromSession.php ├── View.php ├── ViewFinderInterface.php ├── ViewName.php ├── ViewServiceProvider.php └── composer.json /src/Illuminate/Auth/Access/AuthorizationException.php: -------------------------------------------------------------------------------- 1 | message = $message; 22 | } 23 | 24 | /** 25 | * Get the response message. 26 | * 27 | * @return string|null 28 | */ 29 | public function message() 30 | { 31 | return $this->message; 32 | } 33 | 34 | /** 35 | * Get the string representation of the message. 36 | * 37 | * @return string 38 | */ 39 | public function __toString() 40 | { 41 | return $this->message(); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/AuthenticationException.php: -------------------------------------------------------------------------------- 1 | guards = $guards; 28 | } 29 | 30 | /** 31 | * Get the guards that were checked. 32 | * 33 | * @return array 34 | */ 35 | public function guards() 36 | { 37 | return $this->guards; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Console/ClearResetsCommand.php: -------------------------------------------------------------------------------- 1 | laravel['auth.password']->broker($this->argument('name'))->getRepository()->deleteExpired(); 31 | 32 | $this->info('Expired reset tokens cleared!'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Console/stubs/make/controllers/HomeController.stub: -------------------------------------------------------------------------------- 1 | middleware('auth'); 17 | } 18 | 19 | /** 20 | * Show the application dashboard. 21 | * 22 | * @return \Illuminate\Http\Response 23 | */ 24 | public function index() 25 | { 26 | return view('home'); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Console/stubs/make/routes.stub: -------------------------------------------------------------------------------- 1 | 2 | Auth::routes(); 3 | 4 | Route::get('/home', 'HomeController@index')->name('home'); 5 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Console/stubs/make/views/home.stub: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
5 |
6 |
7 |
8 |
Dashboard
9 | 10 |
11 | @if (session('status')) 12 |
13 | {{ session('status') }} 14 |
15 | @endif 16 | 17 | You are logged in! 18 |
19 |
20 |
21 |
22 |
23 | @endsection 24 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/Attempting.php: -------------------------------------------------------------------------------- 1 | remember = $remember; 30 | $this->credentials = $credentials; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/Authenticated.php: -------------------------------------------------------------------------------- 1 | user = $user; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/Failed.php: -------------------------------------------------------------------------------- 1 | user = $user; 30 | $this->credentials = $credentials; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/Lockout.php: -------------------------------------------------------------------------------- 1 | request = $request; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/Login.php: -------------------------------------------------------------------------------- 1 | user = $user; 35 | $this->remember = $remember; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/Logout.php: -------------------------------------------------------------------------------- 1 | user = $user; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/PasswordReset.php: -------------------------------------------------------------------------------- 1 | user = $user; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Events/Registered.php: -------------------------------------------------------------------------------- 1 | user = $user; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Illuminate/Auth/Passwords/CanResetPassword.php: -------------------------------------------------------------------------------- 1 | email; 17 | } 18 | 19 | /** 20 | * Send the password reset notification. 21 | * 22 | * @param string $token 23 | * @return void 24 | */ 25 | public function sendPasswordResetNotification($token) 26 | { 27 | $this->notify(new ResetPasswordNotification($token)); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Illuminate/Broadcasting/BroadcastController.php: -------------------------------------------------------------------------------- 1 | name = $name; 23 | } 24 | 25 | /** 26 | * Convert the channel instance to a string. 27 | * 28 | * @return string 29 | */ 30 | public function __toString() 31 | { 32 | return $this->name; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Illuminate/Broadcasting/InteractsWithSockets.php: -------------------------------------------------------------------------------- 1 | socket = Broadcast::socket(); 24 | 25 | return $this; 26 | } 27 | 28 | /** 29 | * Broadcast the event to everyone. 30 | * 31 | * @return $this 32 | */ 33 | public function broadcastToEveryone() 34 | { 35 | $this->socket = null; 36 | 37 | return $this; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Illuminate/Broadcasting/PresenceChannel.php: -------------------------------------------------------------------------------- 1 | =7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "illuminate/pipeline": "5.5.*", 20 | "illuminate/support": "5.5.*" 21 | }, 22 | "autoload": { 23 | "psr-4": { 24 | "Illuminate\\Bus\\": "" 25 | } 26 | }, 27 | "extra": { 28 | "branch-alias": { 29 | "dev-master": "5.5-dev" 30 | } 31 | }, 32 | "config": { 33 | "sort-packages": true 34 | }, 35 | "minimum-stability": "dev" 36 | } 37 | -------------------------------------------------------------------------------- /src/Illuminate/Cache/Console/stubs/cache.stub: -------------------------------------------------------------------------------- 1 | string('key')->unique(); 18 | $table->text('value'); 19 | $table->integer('expiration'); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::dropIfExists('cache'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/Cache/Events/CacheEvent.php: -------------------------------------------------------------------------------- 1 | key = $key; 31 | $this->tags = $tags; 32 | } 33 | 34 | /** 35 | * Set the tags for the cache event. 36 | * 37 | * @param array $tags 38 | * @return $this 39 | */ 40 | public function setTags($tags) 41 | { 42 | $this->tags = $tags; 43 | 44 | return $this; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/Illuminate/Cache/Events/CacheHit.php: -------------------------------------------------------------------------------- 1 | value = $value; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Illuminate/Cache/Events/CacheMissed.php: -------------------------------------------------------------------------------- 1 | value = $value; 35 | $this->minutes = $minutes; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Illuminate/Cache/RetrievesMultipleKeys.php: -------------------------------------------------------------------------------- 1 | get($key); 21 | } 22 | 23 | return $return; 24 | } 25 | 26 | /** 27 | * Store multiple items in the cache for a given number of minutes. 28 | * 29 | * @param array $values 30 | * @param float|int $minutes 31 | * @return void 32 | */ 33 | public function putMany(array $values, $minutes) 34 | { 35 | foreach ($values as $key => $value) { 36 | $this->put($key, $value, $minutes); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Illuminate/Cache/TaggableStore.php: -------------------------------------------------------------------------------- 1 | =7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "illuminate/support": "5.5.*" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "Illuminate\\Config\\": "" 24 | } 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "5.5-dev" 29 | } 30 | }, 31 | "config": { 32 | "sort-packages": true 33 | }, 34 | "minimum-stability": "dev" 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Console/DetectsApplicationNamespace.php: -------------------------------------------------------------------------------- 1 | getNamespace(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Illuminate/Console/Events/ArtisanStarting.php: -------------------------------------------------------------------------------- 1 | artisan = $artisan; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Illuminate/Console/Scheduling/Mutex.php: -------------------------------------------------------------------------------- 1 | =7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "psr/container": "~1.0" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "Illuminate\\Container\\": "" 24 | } 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "5.5-dev" 29 | } 30 | }, 31 | "config": { 32 | "sort-packages": true 33 | }, 34 | "minimum-stability": "dev" 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Contracts/Auth/Access/Authorizable.php: -------------------------------------------------------------------------------- 1 | id = $id; 41 | $this->class = $class; 42 | $this->connection = $connection; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/Illuminate/Contracts/Debug/ExceptionHandler.php: -------------------------------------------------------------------------------- 1 | =7.0", 18 | "psr/container": "~1.0", 19 | "psr/simple-cache": "~1.0" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "Illuminate\\Contracts\\": "" 24 | } 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "5.5-dev" 29 | } 30 | }, 31 | "config": { 32 | "sort-packages": true 33 | }, 34 | "minimum-stability": "dev" 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Cookie/CookieServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->singleton('cookie', function ($app) { 17 | $config = $app->make('config')->get('session'); 18 | 19 | return (new CookieJar)->setDefaultPathAndDomain( 20 | $config['path'], $config['domain'], $config['secure'], $config['same_site'] ?? null 21 | ); 22 | }); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Illuminate/Database/ConnectionResolverInterface.php: -------------------------------------------------------------------------------- 1 | define(DummyModel::class, function (Faker $faker) { 6 | return [ 7 | // 8 | ]; 9 | }); 10 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Console/Seeds/stubs/seeder.stub: -------------------------------------------------------------------------------- 1 | getMessage(); 19 | 20 | return Str::contains($message, [ 21 | 'Deadlock found when trying to get lock', 22 | 'deadlock detected', 23 | 'The database file is locked', 24 | 'database is locked', 25 | 'database table is locked', 26 | 'A table in the database is locked', 27 | 'has been chosen as the deadlock victim', 28 | 'Lock wait timeout exceeded; try restarting transaction', 29 | ]); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Eloquent/MassAssignmentException.php: -------------------------------------------------------------------------------- 1 | find($id); 22 | 23 | if ($instance) { 24 | return $instance; 25 | } 26 | 27 | throw new EntityNotFoundException($type, $id); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Eloquent/RelationNotFoundException.php: -------------------------------------------------------------------------------- 1 | model = $model; 37 | $instance->relation = $relation; 38 | 39 | return $instance; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Eloquent/Scope.php: -------------------------------------------------------------------------------- 1 | connection = $connection; 30 | $this->connectionName = $connection->getName(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Events/StatementPrepared.php: -------------------------------------------------------------------------------- 1 | statement = $statement; 31 | $this->connection = $connection; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Events/TransactionBeginning.php: -------------------------------------------------------------------------------- 1 | connection; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Migrations/stubs/blank.stub: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->timestamps(); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::dropIfExists('DummyTable'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Migrations/stubs/update.stub: -------------------------------------------------------------------------------- 1 | value = $value; 23 | } 24 | 25 | /** 26 | * Get the value of the expression. 27 | * 28 | * @return mixed 29 | */ 30 | public function getValue() 31 | { 32 | return $this->value; 33 | } 34 | 35 | /** 36 | * Get the value of the expression. 37 | * 38 | * @return string 39 | */ 40 | public function __toString() 41 | { 42 | return (string) $this->getValue(); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Query/Processors/MySqlProcessor.php: -------------------------------------------------------------------------------- 1 | column_name; 17 | }, $results); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Query/Processors/SQLiteProcessor.php: -------------------------------------------------------------------------------- 1 | name; 17 | }, $results); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Schema/SQLiteBuilder.php: -------------------------------------------------------------------------------- 1 | connection->getDatabaseName() !== ':memory:') { 15 | return $this->refreshDatabaseFile(); 16 | } 17 | 18 | $this->connection->select($this->grammar->compileEnableWriteableSchema()); 19 | 20 | $this->connection->select($this->grammar->compileDropAllTables()); 21 | 22 | $this->connection->select($this->grammar->compileDisableWriteableSchema()); 23 | } 24 | 25 | /** 26 | * Delete the database file & re-create it. 27 | * 28 | * @return void 29 | */ 30 | public function refreshDatabaseFile() 31 | { 32 | unlink($this->connection->getDatabaseName()); 33 | 34 | touch($this->connection->getDatabaseName()); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/Illuminate/Database/Schema/SqlServerBuilder.php: -------------------------------------------------------------------------------- 1 | disableForeignKeyConstraints(); 15 | 16 | $this->connection->statement($this->grammar->compileDropAllTables()); 17 | 18 | $this->enableForeignKeyConstraints(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Illuminate/Events/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->singleton('events', function ($app) { 18 | return (new Dispatcher($app))->setQueueResolver(function () use ($app) { 19 | return $app->make(QueueFactoryContract::class); 20 | }); 21 | }); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Illuminate/Events/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "illuminate/events", 3 | "description": "The Illuminate Events package.", 4 | "license": "MIT", 5 | "homepage": "https://laravel.com", 6 | "support": { 7 | "issues": "https://github.com/laravel/framework/issues", 8 | "source": "https://github.com/laravel/framework" 9 | }, 10 | "authors": [ 11 | { 12 | "name": "Taylor Otwell", 13 | "email": "taylor@laravel.com" 14 | } 15 | ], 16 | "require": { 17 | "php": ">=7.0", 18 | "illuminate/container": "5.5.*", 19 | "illuminate/contracts": "5.5.*", 20 | "illuminate/support": "5.5.*" 21 | }, 22 | "autoload": { 23 | "psr-4": { 24 | "Illuminate\\Events\\": "" 25 | } 26 | }, 27 | "extra": { 28 | "branch-alias": { 29 | "dev-master": "5.5-dev" 30 | } 31 | }, 32 | "config": { 33 | "sort-packages": true 34 | }, 35 | "minimum-stability": "dev" 36 | } 37 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Auth/RedirectsUsers.php: -------------------------------------------------------------------------------- 1 | redirectTo(); 16 | } 17 | 18 | return property_exists($this, 'redirectTo') ? $this->redirectTo : '/home'; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Auth/User.php: -------------------------------------------------------------------------------- 1 | boot(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Bootstrap/RegisterFacades.php: -------------------------------------------------------------------------------- 1 | make('config')->get('app.aliases', []), 26 | $app->make(PackageManifest::class)->aliases() 27 | ))->register(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Bootstrap/RegisterProviders.php: -------------------------------------------------------------------------------- 1 | registerConfiguredProviders(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Bootstrap/SetRequestForConsole.php: -------------------------------------------------------------------------------- 1 | make('config')->get('app.url', 'http://localhost'); 19 | 20 | $components = parse_url($uri); 21 | 22 | $server = $_SERVER; 23 | 24 | if (isset($components['path'])) { 25 | $server = array_merge($server, [ 26 | 'SCRIPT_FILENAME' => $components['path'], 27 | 'SCRIPT_NAME' => $components['path'], 28 | ]); 29 | } 30 | 31 | $app->instance('request', Request::create( 32 | $uri, 'GET', [], [], [], $server 33 | )); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Bus/Dispatchable.php: -------------------------------------------------------------------------------- 1 | dispatch($job); 18 | } 19 | 20 | /** 21 | * Dispatch a job to its appropriate handler in the current process. 22 | * 23 | * @param mixed $job 24 | * @return mixed 25 | */ 26 | public function dispatchNow($job) 27 | { 28 | return app(Dispatcher::class)->dispatchNow($job); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/EnvironmentCommand.php: -------------------------------------------------------------------------------- 1 | line('Current application environment: '.$this->laravel['env'].''); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/bootstrap-stubs/app.scss: -------------------------------------------------------------------------------- 1 | 2 | // Fonts 3 | @import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600); 4 | 5 | // Variables 6 | @import "variables"; 7 | 8 | // Bootstrap 9 | @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; 10 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/none-stubs/app.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * First, we will load all of this project's Javascript utilities and other 4 | * dependencies. Then, we will be ready to develop a robust and powerful 5 | * application frontend using useful Laravel and JavaScript libraries. 6 | */ 7 | 8 | require('./bootstrap'); 9 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | 4 | export default class Example extends Component { 5 | render() { 6 | return ( 7 |
8 |
9 |
10 |
11 |
Example Component
12 | 13 |
14 | I'm an example component! 15 |
16 |
17 |
18 |
19 |
20 | ); 21 | } 22 | } 23 | 24 | if (document.getElementById('example')) { 25 | ReactDOM.render(, document.getElementById('example')); 26 | } 27 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/react-stubs/app.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * First we will load all of this project's JavaScript dependencies which 4 | * includes React and other helpers. It's a great starting point while 5 | * building robust, powerful web applications using React + Laravel. 6 | */ 7 | 8 | require('./bootstrap'); 9 | 10 | /** 11 | * Next, we will create a fresh React component instance and attach it to 12 | * the page. Then, you may begin adding components to this application 13 | * or customize the JavaScript scaffolding to fit your unique needs. 14 | */ 15 | 16 | require('./components/Example'); 17 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/react-stubs/webpack.mix.js: -------------------------------------------------------------------------------- 1 | let mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.react('resources/assets/js/app.js', 'public/js') 15 | .sass('resources/assets/sass/app.scss', 'public/css'); 16 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/vue-stubs/Example.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 24 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/vue-stubs/app.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * First we will load all of this project's JavaScript dependencies which 4 | * includes Vue and other libraries. It is a great starting point when 5 | * building robust, powerful web applications using Vue and Laravel. 6 | */ 7 | 8 | require('./bootstrap'); 9 | 10 | window.Vue = require('vue'); 11 | 12 | /** 13 | * Next, we will create a fresh Vue application instance and attach it to 14 | * the page. Then, you may begin adding components to this application 15 | * or customize the JavaScript scaffolding to fit your unique needs. 16 | */ 17 | 18 | Vue.component('example', require('./components/Example.vue')); 19 | 20 | const app = new Vue({ 21 | el: '#app' 22 | }); 23 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/Presets/vue-stubs/webpack.mix.js: -------------------------------------------------------------------------------- 1 | let mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.js('resources/assets/js/app.js', 'public/js') 15 | .sass('resources/assets/sass/app.scss', 'public/css'); 16 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/UpCommand.php: -------------------------------------------------------------------------------- 1 | laravel->storagePath().'/framework/down'); 31 | 32 | $this->info('Application is now live.'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/stubs/console.stub: -------------------------------------------------------------------------------- 1 | view('view.name'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/stubs/markdown-mail.stub: -------------------------------------------------------------------------------- 1 | markdown('DummyView'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/stubs/markdown.stub: -------------------------------------------------------------------------------- 1 | @component('mail::message') 2 | # Introduction 3 | 4 | The body of your message. 5 | 6 | @component('mail::button', ['url' => '']) 7 | Button Text 8 | @endcomponent 9 | 10 | Thanks,
11 | {{ config('app.name') }} 12 | @endcomponent 13 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/stubs/model.stub: -------------------------------------------------------------------------------- 1 | setRoutes( 15 | unserialize(base64_decode('{{routes}}')) 16 | ); 17 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/stubs/rule.stub: -------------------------------------------------------------------------------- 1 | assertTrue(true); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Console/stubs/unit-test.stub: -------------------------------------------------------------------------------- 1 | assertTrue(true); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Events/Dispatchable.php: -------------------------------------------------------------------------------- 1 | locale = $locale; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Exceptions/views/404.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::layout') 2 | 3 | @section('title', 'Page Not Found') 4 | 5 | @section('message', 'Sorry, the page you are looking for could not be found.') 6 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Exceptions/views/419.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::layout') 2 | 3 | @section('title', 'Page Expired') 4 | 5 | @section('message') 6 | The page has expired due to inactivity. 7 |

8 | Please refresh and try again. 9 | @stop 10 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Exceptions/views/429.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::layout') 2 | 3 | @section('title', 'Error') 4 | 5 | @section('message', 'Too many requests.') 6 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Exceptions/views/500.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::layout') 2 | 3 | @section('title', 'Error') 4 | 5 | @section('message', 'Whoops, looks like something went wrong.') 6 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Exceptions/views/503.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::layout') 2 | 3 | @section('title', 'Service Unavailable') 4 | 5 | @section('message', 'Be right back.') 6 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Http/Events/RequestHandled.php: -------------------------------------------------------------------------------- 1 | request = $request; 31 | $this->response = $response; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php: -------------------------------------------------------------------------------- 1 | except, true)) { 26 | return $value; 27 | } 28 | 29 | return is_string($value) ? trim($value) : $value; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Providers/ComposerServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->singleton('composer', function ($app) { 25 | return new Composer($app['files'], $app->basePath()); 26 | }); 27 | } 28 | 29 | /** 30 | * Get the services provided by the provider. 31 | * 32 | * @return array 33 | */ 34 | public function provides() 35 | { 36 | return ['composer']; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Providers/ConsoleSupportServiceProvider.php: -------------------------------------------------------------------------------- 1 | policies as $key => $value) { 25 | Gate::policy($key, $value); 26 | } 27 | } 28 | 29 | /** 30 | * {@inheritdoc} 31 | */ 32 | public function register() 33 | { 34 | // 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Testing/Concerns/InteractsWithConsole.php: -------------------------------------------------------------------------------- 1 | app[Kernel::class]->call($command, $parameters); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Testing/Concerns/InteractsWithContainer.php: -------------------------------------------------------------------------------- 1 | instance($abstract, $instance); 17 | } 18 | 19 | /** 20 | * Register an instance of an object in the container. 21 | * 22 | * @param string $abstract 23 | * @param object $instance 24 | * @return object 25 | */ 26 | protected function instance($abstract, $instance) 27 | { 28 | $this->app->instance($abstract, $instance); 29 | 30 | return $instance; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Testing/DatabaseMigrations.php: -------------------------------------------------------------------------------- 1 | artisan('migrate:fresh'); 17 | 18 | $this->app[Kernel::class]->setArtisan(null); 19 | 20 | $this->beforeApplicationDestroyed(function () { 21 | $this->artisan('migrate:rollback'); 22 | 23 | RefreshDatabaseState::$migrated = false; 24 | }); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Testing/HttpException.php: -------------------------------------------------------------------------------- 1 | withoutEvents(); 18 | } else { 19 | throw new Exception('Unable to disable events. ApplicationTrait not used.'); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/Testing/WithoutMiddleware.php: -------------------------------------------------------------------------------- 1 | withoutMiddleware(); 18 | } else { 19 | throw new Exception('Unable to disable middleware. MakesHttpRequests trait not used.'); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Illuminate/Foundation/stubs/facade.stub: -------------------------------------------------------------------------------- 1 | app->singleton('hash', function () { 24 | return new BcryptHasher; 25 | }); 26 | } 27 | 28 | /** 29 | * Get the services provided by the provider. 30 | * 31 | * @return array 32 | */ 33 | public function provides() 34 | { 35 | return ['hash']; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Illuminate/Hashing/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "illuminate/hashing", 3 | "description": "The Illuminate Hashing package.", 4 | "license": "MIT", 5 | "homepage": "https://laravel.com", 6 | "support": { 7 | "issues": "https://github.com/laravel/framework/issues", 8 | "source": "https://github.com/laravel/framework" 9 | }, 10 | "authors": [ 11 | { 12 | "name": "Taylor Otwell", 13 | "email": "taylor@laravel.com" 14 | } 15 | ], 16 | "require": { 17 | "php": ">=7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "illuminate/support": "5.5.*" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "Illuminate\\Hashing\\": "" 24 | } 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "5.5-dev" 29 | } 30 | }, 31 | "config": { 32 | "sort-packages": true 33 | }, 34 | "minimum-stability": "dev" 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Http/Exceptions/HttpResponseException.php: -------------------------------------------------------------------------------- 1 | response = $response; 26 | } 27 | 28 | /** 29 | * Get the underlying response instance. 30 | * 31 | * @return \Symfony\Component\HttpFoundation\Response 32 | */ 33 | public function getResponse() 34 | { 35 | return $this->response; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Illuminate/Http/Exceptions/PostTooLargeException.php: -------------------------------------------------------------------------------- 1 | isNotModified($request); 23 | } 24 | 25 | return $response; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Illuminate/Http/Middleware/FrameGuard.php: -------------------------------------------------------------------------------- 1 | headers->set('X-Frame-Options', 'SAMEORIGIN', false); 21 | 22 | return $response; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Illuminate/Http/Resources/Json/AnonymousResourceCollection.php: -------------------------------------------------------------------------------- 1 | collects = $collects; 24 | 25 | parent::__construct($resource); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Illuminate/Http/Resources/MergeValue.php: -------------------------------------------------------------------------------- 1 | data = $data instanceof Collection ? $data->all() : $data; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Illuminate/Http/Resources/MissingValue.php: -------------------------------------------------------------------------------- 1 | level = $level; 39 | $this->message = $message; 40 | $this->context = $context; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/Illuminate/Log/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "illuminate/log", 3 | "description": "The Illuminate Log package.", 4 | "license": "MIT", 5 | "homepage": "https://laravel.com", 6 | "support": { 7 | "issues": "https://github.com/laravel/framework/issues", 8 | "source": "https://github.com/laravel/framework" 9 | }, 10 | "authors": [ 11 | { 12 | "name": "Taylor Otwell", 13 | "email": "taylor@laravel.com" 14 | } 15 | ], 16 | "require": { 17 | "php": ">=7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "illuminate/support": "5.5.*", 20 | "monolog/monolog": "~1.11" 21 | }, 22 | "autoload": { 23 | "psr-4": { 24 | "Illuminate\\Log\\": "" 25 | } 26 | }, 27 | "extra": { 28 | "branch-alias": { 29 | "dev-master": "5.5-dev" 30 | } 31 | }, 32 | "config": { 33 | "sort-packages": true 34 | }, 35 | "minimum-stability": "dev" 36 | } 37 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/Events/MessageSending.php: -------------------------------------------------------------------------------- 1 | message = $message; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/Events/MessageSent.php: -------------------------------------------------------------------------------- 1 | message = $message; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/button.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 |
4 | 5 | 6 | 15 | 16 |
7 | 8 | 9 | 12 | 13 |
10 | {{ $slot }} 11 |
14 |
17 |
20 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/footer.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/header.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ $slot }} 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/message.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::layout') 2 | {{-- Header --}} 3 | @slot('header') 4 | @component('mail::header', ['url' => config('app.url')]) 5 | {{ config('app.name') }} 6 | @endcomponent 7 | @endslot 8 | 9 | {{-- Body --}} 10 | {{ $slot }} 11 | 12 | {{-- Subcopy --}} 13 | @isset($subcopy) 14 | @slot('subcopy') 15 | @component('mail::subcopy') 16 | {{ $subcopy }} 17 | @endcomponent 18 | @endslot 19 | @endisset 20 | 21 | {{-- Footer --}} 22 | @slot('footer') 23 | @component('mail::footer') 24 | © {{ date('Y') }} {{ config('app.name') }}. All rights reserved. 25 | @endcomponent 26 | @endslot 27 | @endcomponent 28 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/panel.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 |
4 | 5 | 6 | 9 | 10 |
7 | {{ Illuminate\Mail\Markdown::parse($slot) }} 8 |
11 |
14 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/promotion.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 |
4 | {{ Illuminate\Mail\Markdown::parse($slot) }} 5 |
8 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/promotion/button.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 |
4 | 5 | 6 | 9 | 10 |
7 | {{ $slot }} 8 |
11 |
14 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/subcopy.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 |
4 | {{ Illuminate\Mail\Markdown::parse($slot) }} 5 |
8 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/html/table.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {{ Illuminate\Mail\Markdown::parse($slot) }} 3 |
4 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/button.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }}: {{ $url }} 2 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/footer.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/header.blade.php: -------------------------------------------------------------------------------- 1 | [{{ $slot }}]({{ $url }}) 2 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/layout.blade.php: -------------------------------------------------------------------------------- 1 | {!! strip_tags($header) !!} 2 | 3 | {!! strip_tags($slot) !!} 4 | @isset($subcopy) 5 | 6 | {!! strip_tags($subcopy) !!} 7 | @endisset 8 | 9 | {!! strip_tags($footer) !!} 10 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/message.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::layout') 2 | {{-- Header --}} 3 | @slot('header') 4 | @component('mail::header', ['url' => config('app.url')]) 5 | {{ config('app.name') }} 6 | @endcomponent 7 | @endslot 8 | 9 | {{-- Body --}} 10 | {{ $slot }} 11 | 12 | {{-- Subcopy --}} 13 | @isset($subcopy) 14 | @slot('subcopy') 15 | @component('mail::subcopy') 16 | {{ $subcopy }} 17 | @endcomponent 18 | @endslot 19 | @endisset 20 | 21 | {{-- Footer --}} 22 | @slot('footer') 23 | @component('mail::footer') 24 | © {{ date('Y') }} {{ config('app.name') }}. All rights reserved. 25 | @endcomponent 26 | @endslot 27 | @endcomponent 28 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/panel.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/promotion.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/promotion/button.blade.php: -------------------------------------------------------------------------------- 1 | [{{ $slot }}]({{ $url }}) 2 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/subcopy.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/Illuminate/Mail/resources/views/markdown/table.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/Illuminate/Notifications/Action.php: -------------------------------------------------------------------------------- 1 | url = $url; 31 | $this->text = $text; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Notifications/Console/stubs/notifications.stub: -------------------------------------------------------------------------------- 1 | uuid('id')->primary(); 18 | $table->string('type'); 19 | $table->morphs('notifiable'); 20 | $table->text('data'); 21 | $table->timestamp('read_at')->nullable(); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('notifications'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Notifications/DatabaseNotificationCollection.php: -------------------------------------------------------------------------------- 1 | each(function ($notification) { 17 | $notification->markAsRead(); 18 | }); 19 | } 20 | 21 | /** 22 | * Mark all notifications as unread. 23 | * 24 | * @return void 25 | */ 26 | public function markAsUnread() 27 | { 28 | $this->each(function ($notification) { 29 | $notification->markAsUnread(); 30 | }); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/Notifications/HasDatabaseNotifications.php: -------------------------------------------------------------------------------- 1 | morphMany(DatabaseNotification::class, 'notifiable') 13 | ->orderBy('created_at', 'desc'); 14 | } 15 | 16 | /** 17 | * Get the entity's read notifications. 18 | */ 19 | public function readNotifications() 20 | { 21 | return $this->notifications() 22 | ->whereNotNull('read_at'); 23 | } 24 | 25 | /** 26 | * Get the entity's unread notifications. 27 | */ 28 | public function unreadNotifications() 29 | { 30 | return $this->notifications() 31 | ->whereNull('read_at'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Notifications/Messages/BroadcastMessage.php: -------------------------------------------------------------------------------- 1 | data = $data; 27 | } 28 | 29 | /** 30 | * Set the message data. 31 | * 32 | * @param array $data 33 | * @return $this 34 | */ 35 | public function data($data) 36 | { 37 | $this->data = $data; 38 | 39 | return $this; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/Illuminate/Notifications/Messages/DatabaseMessage.php: -------------------------------------------------------------------------------- 1 | data = $data; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Illuminate/Notifications/Notifiable.php: -------------------------------------------------------------------------------- 1 | =7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "illuminate/support": "5.5.*" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "Illuminate\\Pagination\\": "" 24 | } 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "5.5-dev" 29 | } 30 | }, 31 | "config": { 32 | "sort-packages": true 33 | }, 34 | "minimum-stability": "dev" 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Pagination/resources/views/simple-bootstrap-4.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 17 | @endif 18 | -------------------------------------------------------------------------------- /src/Illuminate/Pagination/resources/views/simple-default.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 17 | @endif 18 | -------------------------------------------------------------------------------- /src/Illuminate/Pipeline/PipelineServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->singleton( 25 | PipelineHubContract::class, Hub::class 26 | ); 27 | } 28 | 29 | /** 30 | * Get the services provided by the provider. 31 | * 32 | * @return array 33 | */ 34 | public function provides() 35 | { 36 | return [ 37 | PipelineHubContract::class, 38 | ]; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/Illuminate/Pipeline/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "illuminate/pipeline", 3 | "description": "The Illuminate Pipeline package.", 4 | "license": "MIT", 5 | "homepage": "https://laravel.com", 6 | "support": { 7 | "issues": "https://github.com/laravel/framework/issues", 8 | "source": "https://github.com/laravel/framework" 9 | }, 10 | "authors": [ 11 | { 12 | "name": "Taylor Otwell", 13 | "email": "taylor@laravel.com" 14 | } 15 | ], 16 | "require": { 17 | "php": ">=7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "illuminate/support": "5.5.*" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "Illuminate\\Pipeline\\": "" 24 | } 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-master": "5.5-dev" 29 | } 30 | }, 31 | "config": { 32 | "sort-packages": true 33 | }, 34 | "minimum-stability": "dev" 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Connectors/ConnectorInterface.php: -------------------------------------------------------------------------------- 1 | laravel['queue.failer']->flush(); 31 | 32 | $this->info('All failed jobs deleted successfully!'); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Console/ForgetFailedCommand.php: -------------------------------------------------------------------------------- 1 | laravel['queue.failer']->forget($this->argument('id'))) { 31 | $this->info('Failed job deleted successfully!'); 32 | } else { 33 | $this->error('No failed job matches the given ID.'); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Console/RestartCommand.php: -------------------------------------------------------------------------------- 1 | laravel['cache']->forever('illuminate:queue:restart', $this->currentTime()); 34 | 35 | $this->info('Broadcasting queue restart signal.'); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Console/stubs/failed_jobs.stub: -------------------------------------------------------------------------------- 1 | bigIncrements('id'); 18 | $table->text('connection'); 19 | $table->text('queue'); 20 | $table->longText('payload'); 21 | $table->longText('exception'); 22 | $table->timestamp('failed_at')->useCurrent(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('{{table}}'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Events/JobExceptionOccurred.php: -------------------------------------------------------------------------------- 1 | job = $job; 39 | $this->exception = $exception; 40 | $this->connectionName = $connectionName; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Events/JobFailed.php: -------------------------------------------------------------------------------- 1 | job = $job; 39 | $this->exception = $exception; 40 | $this->connectionName = $connectionName; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Events/JobProcessed.php: -------------------------------------------------------------------------------- 1 | job = $job; 31 | $this->connectionName = $connectionName; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Events/JobProcessing.php: -------------------------------------------------------------------------------- 1 | job = $job; 31 | $this->connectionName = $connectionName; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Events/Looping.php: -------------------------------------------------------------------------------- 1 | queue = $queue; 31 | $this->connectionName = $connectionName; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/Events/WorkerStopping.php: -------------------------------------------------------------------------------- 1 | environment = $environment; 28 | 29 | parent::__construct($delay, $memory, $timeout, $sleep, $maxTries, $force); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Illuminate/Queue/ManuallyFailedException.php: -------------------------------------------------------------------------------- 1 | =7.0", 18 | "illuminate/contracts": "5.5.*", 19 | "illuminate/support": "5.5.*", 20 | "predis/predis": "~1.0" 21 | }, 22 | "autoload": { 23 | "psr-4": { 24 | "Illuminate\\Redis\\": "" 25 | } 26 | }, 27 | "extra": { 28 | "branch-alias": { 29 | "dev-master": "5.5-dev" 30 | } 31 | }, 32 | "config": { 33 | "sort-packages": true 34 | }, 35 | "minimum-stability": "dev" 36 | } 37 | -------------------------------------------------------------------------------- /src/Illuminate/Routing/Console/stubs/controller.plain.stub: -------------------------------------------------------------------------------- 1 | route = $route; 31 | $this->request = $request; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Routing/Exceptions/UrlGenerationException.php: -------------------------------------------------------------------------------- 1 | getName()}] [URI: {$route->uri()}]."); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Routing/Matching/HostValidator.php: -------------------------------------------------------------------------------- 1 | getCompiled()->getHostRegex())) { 20 | return true; 21 | } 22 | 23 | return preg_match($route->getCompiled()->getHostRegex(), $request->getHost()); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Illuminate/Routing/Matching/MethodValidator.php: -------------------------------------------------------------------------------- 1 | getMethod(), $route->methods()); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Illuminate/Routing/Matching/SchemeValidator.php: -------------------------------------------------------------------------------- 1 | httpOnly()) { 20 | return ! $request->secure(); 21 | } elseif ($route->secure()) { 22 | return $request->secure(); 23 | } 24 | 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Illuminate/Routing/Matching/UriValidator.php: -------------------------------------------------------------------------------- 1 | path() == '/' ? '/' : '/'.$request->path(); 20 | 21 | return preg_match($route->getCompiled()->getRegex(), rawurldecode($path)); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Illuminate/Routing/Matching/ValidatorInterface.php: -------------------------------------------------------------------------------- 1 | view = $view; 25 | } 26 | 27 | /** 28 | * Invoke the controller method. 29 | * 30 | * @param array $args 31 | * @return \Illuminate\Contracts\View\View 32 | */ 33 | public function __invoke(...$args) 34 | { 35 | list($view, $data) = array_slice($args, -2); 36 | 37 | return $this->view->make($view, $data); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Illuminate/Session/Console/stubs/database.stub: -------------------------------------------------------------------------------- 1 | string('id')->unique(); 18 | $table->unsignedInteger('user_id')->nullable(); 19 | $table->string('ip_address', 45)->nullable(); 20 | $table->text('user_agent')->nullable(); 21 | $table->text('payload'); 22 | $table->integer('last_activity'); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::dropIfExists('sessions'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Illuminate/Session/ExistenceAwareInterface.php: -------------------------------------------------------------------------------- 1 | dump((new VarCloner)->cloneVar($value)); 22 | } else { 23 | var_dump($value); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Illuminate/Support/Facades/Artisan.php: -------------------------------------------------------------------------------- 1 | getEngineResolver()->resolve('blade')->getCompiler(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/Support/Facades/Broadcast.php: -------------------------------------------------------------------------------- 1 | cookie($key, null)); 19 | } 20 | 21 | /** 22 | * Retrieve a cookie from the request. 23 | * 24 | * @param string $key 25 | * @param mixed $default 26 | * @return string 27 | */ 28 | public static function get($key = null, $default = null) 29 | { 30 | return static::$app['request']->cookie($key, $default); 31 | } 32 | 33 | /** 34 | * Get the registered name of the component. 35 | * 36 | * @return string 37 | */ 38 | protected static function getFacadeAccessor() 39 | { 40 | return 'cookie'; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/Illuminate/Support/Facades/Crypt.php: -------------------------------------------------------------------------------- 1 | input($key, $default); 22 | } 23 | 24 | /** 25 | * Get the registered name of the component. 26 | * 27 | * @return string 28 | */ 29 | protected static function getFacadeAccessor() 30 | { 31 | return 'request'; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Illuminate/Support/Facades/Lang.php: -------------------------------------------------------------------------------- 1 | target = $target; 23 | } 24 | 25 | /** 26 | * Dynamically pass method calls to the target. 27 | * 28 | * @param string $method 29 | * @param array $parameters 30 | * @return mixed 31 | */ 32 | public function __call($method, $parameters) 33 | { 34 | $this->target->{$method}(...$parameters); 35 | 36 | return $this->target; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/Illuminate/Support/HtmlString.php: -------------------------------------------------------------------------------- 1 | html = $html; 25 | } 26 | 27 | /** 28 | * Get the HTML string. 29 | * 30 | * @return string 31 | */ 32 | public function toHtml() 33 | { 34 | return $this->html; 35 | } 36 | 37 | /** 38 | * Get the HTML string. 39 | * 40 | * @return string 41 | */ 42 | public function __toString() 43 | { 44 | return $this->toHtml(); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/Illuminate/Validation/PresenceVerifierInterface.php: -------------------------------------------------------------------------------- 1 | table, 18 | $this->column, 19 | $this->formatWheres() 20 | ), ','); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Illuminate/Validation/Rules/NotIn.php: -------------------------------------------------------------------------------- 1 | values = $values; 28 | } 29 | 30 | /** 31 | * Convert the rule to a validation string. 32 | * 33 | * @return string 34 | */ 35 | public function __toString() 36 | { 37 | $values = array_map(function ($value) { 38 | return '"'.str_replace('"', '""', $value).'"'; 39 | }, $this->values); 40 | 41 | return $this->rule.':'.implode(',', $values); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/Illuminate/Validation/UnauthorizedException.php: -------------------------------------------------------------------------------- 1 | contentTags[0], $this->contentTags[1]); 16 | 17 | return preg_replace($pattern, '', $value); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Illuminate/View/Compilers/Concerns/CompilesInjections.php: -------------------------------------------------------------------------------- 1 | "; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Illuminate/View/Compilers/Concerns/CompilesJson.php: -------------------------------------------------------------------------------- 1 | stripParentheses($expression)); 16 | 17 | $options = $parts[1] ?? 0; 18 | 19 | $depth = $parts[2] ?? 512; 20 | 21 | return ""; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Illuminate/View/Compilers/Concerns/CompilesRawPhp.php: -------------------------------------------------------------------------------- 1 | "; 17 | } 18 | 19 | return '@php'; 20 | } 21 | 22 | /** 23 | * Compile the unset statements into valid PHP. 24 | * 25 | * @param string $expression 26 | * @return string 27 | */ 28 | protected function compileUnset($expression) 29 | { 30 | return ""; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Illuminate/View/Concerns/ManagesTranslations.php: -------------------------------------------------------------------------------- 1 | translationReplacements = $replacements; 25 | } 26 | 27 | /** 28 | * Render the current translation. 29 | * 30 | * @return string 31 | */ 32 | public function renderTranslation() 33 | { 34 | return $this->container->make('translator')->getFromJson( 35 | trim(ob_get_clean()), $this->translationReplacements 36 | ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/Illuminate/View/Engines/Engine.php: -------------------------------------------------------------------------------- 1 | lastRendered; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Illuminate/View/Engines/FileEngine.php: -------------------------------------------------------------------------------- 1 |