├── src ├── http │ ├── src │ │ ├── RequestUtils.php │ │ ├── Exceptions │ │ │ ├── FileException.php │ │ │ ├── InvalidOptionException.php │ │ │ ├── NoFileException.php │ │ │ ├── IniSizeFileException.php │ │ │ ├── PartialFileException.php │ │ │ ├── ExtensionFileException.php │ │ │ ├── FormSizeFileException.php │ │ │ ├── NoTmpDirFileException.php │ │ │ ├── CannotWriteFileException.php │ │ │ └── FileNotFoundException.php │ │ ├── Resources │ │ │ └── Json │ │ │ │ ├── AnonymousResourceCollection.php │ │ │ │ └── ResourceCollection.php │ │ └── StreamOutput.php │ └── README.md ├── mail │ ├── publish │ │ └── resources │ │ │ └── views │ │ │ ├── text │ │ │ ├── footer.blade.php │ │ │ ├── panel.blade.php │ │ │ ├── subcopy.blade.php │ │ │ ├── table.blade.php │ │ │ ├── button.blade.php │ │ │ ├── header.blade.php │ │ │ └── layout.blade.php │ │ │ └── html │ │ │ ├── table.blade.php │ │ │ ├── subcopy.blade.php │ │ │ ├── footer.blade.php │ │ │ ├── header.blade.php │ │ │ └── panel.blade.php │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── Factory.php │ │ └── Attachable.php │ │ ├── Mailables │ │ ├── Attachment.php │ │ └── Address.php │ │ └── MailerFactory.php ├── testbench │ ├── workbench │ │ ├── resources │ │ │ └── views │ │ │ │ └── welcome.blade.php │ │ ├── lang │ │ │ └── en │ │ │ │ └── welcome.php │ │ ├── config │ │ │ ├── exceptions.php │ │ │ └── session.php │ │ ├── app │ │ │ ├── Http │ │ │ │ └── Controllers │ │ │ │ │ └── ExampleController.php │ │ │ ├── Models │ │ │ │ └── User.php │ │ │ └── Console │ │ │ │ └── Commands │ │ │ │ └── DummyCommand.php │ │ └── database │ │ │ └── factories │ │ │ └── UserFactory.php │ ├── .gitignore │ ├── README.md │ └── testbench.yaml ├── telescope │ ├── public │ │ ├── favicon.ico │ │ └── mix-manifest.json │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── ClearableRepository.php │ │ ├── TerminableRepository.php │ │ └── PrunableRepository.php │ │ ├── ConfigProvider.php │ │ ├── Http │ │ └── Controllers │ │ │ ├── MailHtmlController.php │ │ │ └── EntriesController.php │ │ └── Watchers │ │ └── ClientRequestWatcher.php ├── auth │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── Authorizable.php │ │ ├── Factory.php │ │ └── Authenticatable.php │ │ ├── UserResolver.php │ │ └── Access │ │ └── GateFactory.php ├── bus │ ├── README.md │ └── src │ │ ├── Events │ │ └── BatchDispatched.php │ │ ├── Contracts │ │ └── PrunableBatchRepository.php │ │ ├── PendingClosureDispatch.php │ │ └── DispatcherFactory.php ├── jwt │ ├── README.md │ └── src │ │ ├── Exceptions │ │ ├── PayloadException.php │ │ ├── TokenExpiredException.php │ │ ├── TokenInvalidException.php │ │ ├── UserNotDefinedException.php │ │ ├── TokenBlacklistedException.php │ │ └── JWTException.php │ │ └── Contracts │ │ ├── ValidationContract.php │ │ ├── ProviderContract.php │ │ ├── StorageContract.php │ │ └── ManagerContract.php ├── log │ ├── README.md │ └── src │ │ ├── Events │ │ └── MessageLogged.php │ │ └── Adapter │ │ └── HyperfLogFactory.php ├── cache │ ├── README.md │ └── src │ │ ├── Events │ │ ├── CacheMissed.php │ │ ├── KeyForgotten.php │ │ ├── ForgettingKey.php │ │ ├── KeyForgetFailed.php │ │ ├── RetrievingKey.php │ │ ├── CacheHit.php │ │ └── RetrievingManyKeys.php │ │ ├── Exceptions │ │ ├── InvalidArgumentException.php │ │ ├── LockTimeoutException.php │ │ ├── NotSupportedException.php │ │ └── ValueTooLargeForColumnException.php │ │ ├── Contracts │ │ ├── Factory.php │ │ └── LockProvider.php │ │ ├── RateLimiting │ │ ├── Unlimited.php │ │ └── GlobalLimit.php │ │ ├── FileLock.php │ │ └── TaggableStore.php ├── queue │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── ShouldQueue.php │ │ ├── ShouldBeUnique.php │ │ ├── ShouldBeEncrypted.php │ │ ├── ShouldQueueAfterCommit.php │ │ ├── ShouldBeUniqueUntilProcessing.php │ │ ├── ClearableQueue.php │ │ ├── Factory.php │ │ ├── EntityResolver.php │ │ └── QueueableEntity.php │ │ ├── Exceptions │ │ ├── ManuallyFailedException.php │ │ └── EntityNotFoundException.php │ │ ├── Attributes │ │ ├── DeleteWhenMissingModels.php │ │ └── WithoutRelations.php │ │ ├── Events │ │ ├── JobPopping.php │ │ ├── QueueFailedOver.php │ │ ├── QueueBusy.php │ │ ├── JobPopped.php │ │ ├── JobTimedOut.php │ │ ├── JobProcessed.php │ │ ├── JobProcessing.php │ │ ├── JobReleasedAfterException.php │ │ ├── WorkerStopping.php │ │ ├── JobFailed.php │ │ ├── JobExceptionOccurred.php │ │ └── Looping.php │ │ ├── Failed │ │ ├── CountableFailedJobProvider.php │ │ └── PrunableFailedJobProvider.php │ │ ├── Connectors │ │ ├── ConnectorInterface.php │ │ ├── NullConnector.php │ │ ├── DeferConnector.php │ │ ├── SyncConnector.php │ │ └── CoroutineConnector.php │ │ ├── Queueable.php │ │ └── Middleware │ │ └── SkipIfBatchCancelled.php ├── config │ ├── README.md │ └── src │ │ └── ConfigProvider.php ├── console │ ├── README.md │ └── src │ │ ├── ManuallyFailedException.php │ │ ├── Contracts │ │ └── CacheAware.php │ │ └── Events │ │ ├── ScheduledTaskSkipped.php │ │ ├── ScheduledTaskStarting.php │ │ ├── ScheduledTaskFinished.php │ │ └── ScheduledTaskFailed.php ├── cookie │ ├── README.md │ └── src │ │ └── ConfigProvider.php ├── devtool │ ├── README.md │ └── src │ │ └── Generator │ │ └── stubs │ │ ├── exception.stub │ │ ├── controller.plain.stub │ │ ├── markdown.stub │ │ ├── policy.plain.stub │ │ ├── exception-report.stub │ │ ├── seeder.stub │ │ ├── event.stub │ │ ├── test.unit.stub │ │ ├── resource.stub │ │ ├── model.stub │ │ ├── resource-collection.stub │ │ ├── exception-render.stub │ │ ├── test.stub │ │ ├── job.stub │ │ ├── listener.stub │ │ ├── provider.stub │ │ ├── middleware.stub │ │ ├── channel.stub │ │ ├── rule.stub │ │ ├── factory.stub │ │ └── job.queued.stub ├── event │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── ShouldDispatchAfterCommit.php │ │ └── ShouldHandleEventsAfterCommit.php │ │ └── ListenerData.php ├── hashing │ └── README.md ├── horizon │ ├── .gitignore │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── Silenced.php │ │ ├── Restartable.php │ │ ├── Terminable.php │ │ ├── LongWaitDetectedNotification.php │ │ ├── Pausable.php │ │ └── WorkloadRepository.php │ │ ├── Events │ │ ├── JobPushed.php │ │ ├── JobReleased.php │ │ ├── JobReserved.php │ │ ├── MasterSupervisorReviving.php │ │ ├── MasterSupervisorDeployed.php │ │ ├── SupervisorLooped.php │ │ ├── UnableToLaunchProcess.php │ │ ├── WorkerProcessRestarting.php │ │ ├── MasterSupervisorLooped.php │ │ ├── MasterSupervisorOutOfMemory.php │ │ ├── SupervisorProcessRestarting.php │ │ └── JobDeleted.php │ │ ├── BackgroundProcess.php │ │ ├── Exec.php │ │ ├── SupervisorFactory.php │ │ ├── PhpBinary.php │ │ ├── Http │ │ └── Controllers │ │ │ ├── RetryController.php │ │ │ ├── HomeController.php │ │ │ └── WorkloadController.php │ │ ├── Exceptions │ │ └── ForbiddenException.php │ │ ├── Listeners │ │ └── PruneTerminatingProcesses.php │ │ └── SupervisorCommands │ │ └── Terminate.php ├── process │ └── README.md ├── prompts │ ├── README.md │ └── src │ │ ├── Exceptions │ │ ├── FormRevertedException.php │ │ └── NonInteractiveValidationException.php │ │ └── Themes │ │ ├── Contracts │ │ └── Scrolling.php │ │ └── Default │ │ └── ClearRenderer.php ├── redis │ ├── README.md │ └── src │ │ ├── Limiters │ │ └── LimiterTimeoutException.php │ │ ├── RedisProxy.php │ │ ├── ConfigProvider.php │ │ └── RedisPool.php ├── sanctum │ ├── README.md │ ├── routes │ │ └── web.php │ └── src │ │ ├── Events │ │ └── TokenAuthenticated.php │ │ └── Contracts │ │ └── HasAbilities.php ├── sentry │ ├── README.md │ └── src │ │ ├── Factory │ │ └── HubFactory.php │ │ └── HttpClient │ │ └── HttpClientFactory.php ├── session │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── Middleware │ │ │ └── AuthenticatesSessions.php │ │ └── Factory.php │ │ ├── TokenMismatchException.php │ │ ├── ExistenceAwareInterface.php │ │ ├── StoreFactory.php │ │ └── AdapterFactory.php ├── support │ ├── README.md │ └── src │ │ ├── Testing │ │ └── Fakes │ │ │ └── Fake.php │ │ ├── Arr.php │ │ ├── Fluent.php │ │ ├── StrCache.php │ │ ├── Exceptions │ │ └── MathException.php │ │ ├── MessageBag.php │ │ ├── Stringable.php │ │ ├── Contracts │ │ ├── Jsonable.php │ │ ├── Arrayable.php │ │ ├── Htmlable.php │ │ ├── MessageBag.php │ │ ├── MessageProvider.php │ │ ├── ValidatedData.php │ │ ├── DeferringDisplayableValue.php │ │ ├── Renderable.php │ │ └── Responsable.php │ │ ├── HigherOrderTapProxy.php │ │ ├── HigherOrderWhenProxy.php │ │ ├── Collection.php │ │ └── Pipeline.php ├── container │ ├── README.md │ └── src │ │ ├── BindingResolutionException.php │ │ └── DefinitionSource.php ├── coroutine │ ├── README.md │ └── src │ │ ├── Mutex.php │ │ ├── Locker.php │ │ ├── Waiter.php │ │ ├── Barrier.php │ │ ├── Channel.php │ │ ├── Parallel.php │ │ ├── Channel │ │ ├── Pool.php │ │ ├── Caller.php │ │ └── Manager.php │ │ ├── WaitGroup.php │ │ └── WaitConcurrent.php ├── router │ ├── README.md │ └── src │ │ └── Exceptions │ │ ├── InvalidSignatureException.php │ │ ├── BackedEnumCaseNotFoundException.php │ │ └── UrlRoutableNotFoundException.php ├── socialite │ ├── README.md │ └── src │ │ ├── One │ │ ├── MissingVerifierException.php │ │ └── MissingTemporaryCredentialsException.php │ │ ├── Two │ │ ├── Exceptions │ │ │ ├── InvalidIssuerException.php │ │ │ ├── InvalidNonceException.php │ │ │ ├── InvalidStateException.php │ │ │ ├── InvalidAudienceException.php │ │ │ ├── InvalidUserInfoUrlException.php │ │ │ └── ConfigurationFetchingException.php │ │ └── ProviderInterface.php │ │ ├── Contracts │ │ ├── Factory.php │ │ └── Provider.php │ │ └── ConfigProvider.php ├── api-client │ ├── README.md │ └── src │ │ ├── ApiResponse.php │ │ ├── RequestMiddleware.php │ │ └── ResponseMiddleware.php ├── dispatcher │ └── README.md ├── encryption │ ├── README.md │ ├── src │ │ └── Exceptions │ │ │ ├── DecryptException.php │ │ │ ├── EncryptException.php │ │ │ └── MissingAppKeyException.php │ └── publish │ │ └── encryption.php ├── filesystem │ ├── README.md │ └── src │ │ ├── Exceptions │ │ └── LockTimeoutException.php │ │ ├── Contracts │ │ ├── Factory.php │ │ └── Cloud.php │ │ ├── FilesystemFactory.php │ │ ├── CloudStorageFactory.php │ │ └── Filesystem.php ├── foundation │ ├── README.md │ └── src │ │ ├── Exceptions │ │ ├── views │ │ │ ├── 404.blade.php │ │ │ ├── 401.blade.php │ │ │ ├── 419.blade.php │ │ │ ├── 500.blade.php │ │ │ ├── 402.blade.php │ │ │ ├── 429.blade.php │ │ │ ├── 503.blade.php │ │ │ └── 403.blade.php │ │ └── Contracts │ │ │ ├── ShouldntReport.php │ │ │ └── ExceptionRenderer.php │ │ ├── Events │ │ └── LocaleUpdated.php │ │ ├── Http │ │ ├── Middleware │ │ │ ├── TrimStrings.php │ │ │ └── ConvertEmptyStringsToNull.php │ │ └── Contracts │ │ │ └── Castable.php │ │ ├── Testing │ │ └── TestScanHandler.php │ │ ├── Bootstrap │ │ └── BootProviders.php │ │ ├── Signal │ │ └── WorkerStopHandler.php │ │ ├── Auth │ │ └── User.php │ │ └── Listeners │ │ └── SetProcessTitle.php ├── validation │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── ImplicitRule.php │ │ ├── DataAwareRule.php │ │ ├── ValidatesWhenResolved.php │ │ ├── ValidatorAwareRule.php │ │ ├── UncompromisedVerifier.php │ │ ├── CompilableRules.php │ │ ├── Rule.php │ │ ├── InvokableRule.php │ │ └── ValidationRule.php │ │ ├── UnauthorizedException.php │ │ ├── DatabasePresenceVerifierInterface.php │ │ ├── UncompromisedVerifierFactory.php │ │ └── PresenceVerifierFactory.php ├── http-client │ ├── README.md │ └── src │ │ ├── ConnectionException.php │ │ ├── HttpClientException.php │ │ └── Events │ │ ├── RequestSending.php │ │ ├── ResponseReceived.php │ │ └── ConnectionFailed.php ├── object-pool │ ├── README.md │ └── src │ │ └── Contracts │ │ ├── TimeStrategy.php │ │ └── RecycleStrategy.php ├── translation │ ├── README.md │ └── src │ │ └── Contracts │ │ └── HasLocalePreference.php ├── broadcasting │ ├── README.md │ └── src │ │ ├── Contracts │ │ ├── ShouldBeUnique.php │ │ ├── ShouldBroadcastNow.php │ │ ├── Factory.php │ │ ├── ShouldBroadcast.php │ │ └── HasBroadcastChannel.php │ │ ├── BroadcastException.php │ │ ├── PresenceChannel.php │ │ ├── EncryptedPrivateChannel.php │ │ └── PrivateChannel.php ├── notifications │ ├── README.md │ └── src │ │ ├── Notifiable.php │ │ ├── Contracts │ │ ├── Slack │ │ │ ├── BlockContract.php │ │ │ ├── ElementContract.php │ │ │ └── ObjectContract.php │ │ └── Dispatcher.php │ │ ├── Action.php │ │ ├── Messages │ │ └── DatabaseMessage.php │ │ ├── NotificationServiceProvider.php │ │ ├── NotificationPoolProxy.php │ │ └── Events │ │ ├── NotificationFailed.php │ │ └── NotificationSent.php ├── nested-set │ └── README.md ├── permission │ ├── README.md │ └── src │ │ ├── Exceptions │ │ └── UnauthorizedException.php │ │ └── Contracts │ │ ├── Role.php │ │ └── Permission.php └── core │ └── src │ ├── Context │ ├── RequestContext.php │ ├── ResponseContext.php │ └── ApplicationContext.php │ ├── Database │ ├── Eloquent │ │ ├── Relations │ │ │ ├── Pivot.php │ │ │ ├── Concerns │ │ │ │ └── WithoutAddConstraints.php │ │ │ └── MorphPivot.php │ │ └── Concerns │ │ │ └── HasRelations.php │ └── Migrations │ │ ├── MigrationCreator.php │ │ └── stubs │ │ └── blank.stub │ ├── View │ ├── Events │ │ └── ViewRendered.php │ └── Compilers │ │ └── Concerns │ │ └── CompilesJs.php │ └── HttpMessage │ └── Exceptions │ ├── NotFoundHttpException.php │ ├── ServerErrorHttpException.php │ ├── AccessDeniedHttpException.php │ ├── NotAcceptableHttpException.php │ ├── UnauthorizedHttpException.php │ ├── UnprocessableHttpException.php │ ├── MethodNotAllowedHttpException.php │ ├── RangeNotSatisfiableHttpException.php │ ├── UnsupportedMediaTypeHttpException.php │ └── HttpResponseException.php ├── tests ├── Http │ └── fixtures │ │ ├── .unknownextension │ │ ├── directory │ │ └── .empty │ │ ├── webkitdirectory │ │ └── test.txt │ │ ├── test │ │ ├── test.gif │ │ ├── test.txt │ │ └── case-sensitive-mime-type.xlsm ├── Validation │ └── fixtures │ │ ├── empty.png │ │ ├── image.png │ │ ├── image2.png │ │ ├── image3.png │ │ ├── image4.png │ │ ├── image5.png │ │ ├── image2.svg │ │ ├── image.svg │ │ └── Values.php ├── HttpClient │ └── fixtures │ │ └── test.txt ├── Router │ ├── routes │ │ ├── bar.php │ │ └── foo.php │ └── Stub │ │ ├── RouteCollectorStub.php │ │ └── UrlRoutableStub.php ├── Foundation │ ├── fixtures │ │ ├── hyperf2 │ │ │ └── composer.json │ │ ├── fake-compiled-view-without-source-map.php │ │ ├── fake-compiled-view.php │ │ └── hyperf1 │ │ │ └── composer.json │ └── Concerns │ │ └── HasMockedApplication.php ├── Event │ └── Hyperf │ │ └── Event │ │ ├── Beta.php │ │ ├── PriorityEvent.php │ │ └── Alpha.php ├── Auth │ └── Stub │ │ ├── AccessGateTestDummyInterface.php │ │ ├── AccessGateTestSubDummy.php │ │ ├── AccessGateTestDummy.php │ │ ├── AuthorizesRequestsStub.php │ │ ├── AccessGateTestClass.php │ │ ├── AccessGateTestStaticClass.php │ │ ├── AccessGateTestInvokableClass.php │ │ ├── AccessGateTestCustomResource.php │ │ ├── AccessGateTestPolicyWithDeniedResponseObject.php │ │ ├── AccessGateTestGuestInvokableClass.php │ │ ├── AccessGateTestPolicyWithBefore.php │ │ ├── AccessGateTestBeforeCallback.php │ │ ├── AccessGateTestPolicyThrowingAuthorizationException.php │ │ ├── AccessGateTestPolicyWithAllPermissions.php │ │ ├── AccessGateTestPolicyWithNoPermissions.php │ │ ├── AccessGateTestPolicyWithMixedPermissions.php │ │ ├── AccessGateTestGuestNullableInvokable.php │ │ ├── AccessGateTestPolicyWithCode.php │ │ └── AuthorizableStub.php ├── Permission │ └── Enums │ │ ├── Role.php │ │ └── Permission.php ├── Horizon │ ├── Feature │ │ ├── Fakes │ │ │ ├── User.php │ │ │ ├── SupervisorWithFakeMonitor.php │ │ │ └── SupervisorThatThrowsException.php │ │ ├── Fixtures │ │ │ ├── FakeModel.php │ │ │ ├── FakeSilencedJob.php │ │ │ ├── SilencedMailable.php │ │ │ ├── FakeEvent.php │ │ │ ├── FakeListener.php │ │ │ ├── FakeJobWithTagsMethod.php │ │ │ ├── FakeJobWithEloquentCollection.php │ │ │ ├── FakeEventWithModel.php │ │ │ ├── EternalSupervisor.php │ │ │ ├── FakeListenerWithDynamicTags.php │ │ │ ├── SupervisorProcessWithFakeRestart.php │ │ │ └── FakeJobWithEloquentModel.php │ │ ├── Jobs │ │ │ ├── LegacyJob.php │ │ │ ├── BasicJob.php │ │ │ ├── FailingJob.php │ │ │ └── ConditionallyFailingJob.php │ │ ├── Exceptions │ │ │ └── DontReportException.php │ │ ├── Commands │ │ │ ├── FakeCommand.php │ │ │ └── FakeMasterCommand.php │ │ └── SupervisorOptionsTest.php │ ├── Controller │ │ └── Fakes │ │ │ └── User.php │ ├── UnitTestCase.php │ └── ControllerTestCase.php ├── Socialite │ └── Fixtures │ │ ├── OAuthOneTestProviderStub.php │ │ └── OAuthTwoWithPKCETestProviderStub.php ├── JWT │ ├── Stub │ │ ├── ProviderStub.php │ │ └── ValidationStub.php │ └── Providers │ │ └── keys │ │ └── id_rsa.pub ├── ObjectPool │ └── Stub │ │ └── FooPool.php ├── Core │ └── Database │ │ └── Fixtures │ │ ├── Factories │ │ └── PriceFactory.php │ │ └── Models │ │ └── Price.php ├── NestedSet │ └── Models │ │ └── DuplicateCategory.php ├── Notifications │ └── NotificationActionTest.php └── Prompts │ ├── ClearPromptTest.php │ └── NoteTest.php ├── bin ├── splitsh-lite └── generate-facade-docs.sh ├── phpstan.types.neon.dist ├── .github └── FUNDING.yml ├── .gitignore └── types └── Autoload.php /src/http/src/RequestUtils.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Http/fixtures/.unknownextension: -------------------------------------------------------------------------------- 1 | f -------------------------------------------------------------------------------- /tests/Http/fixtures/directory/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Validation/fixtures/empty.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Http/fixtures/webkitdirectory/test.txt: -------------------------------------------------------------------------------- 1 | webkitdirectory text -------------------------------------------------------------------------------- /src/mail/publish/resources/views/text/footer.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/mail/publish/resources/views/text/panel.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/mail/publish/resources/views/text/subcopy.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/mail/publish/resources/views/text/table.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }} 2 | -------------------------------------------------------------------------------- /src/testbench/workbench/resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | Hello Hypervel! -------------------------------------------------------------------------------- /src/mail/publish/resources/views/text/button.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }}: {{ $url }} 2 | -------------------------------------------------------------------------------- /src/mail/publish/resources/views/text/header.blade.php: -------------------------------------------------------------------------------- 1 | {{ $slot }}: {{ $url }} 2 | -------------------------------------------------------------------------------- /bin/splitsh-lite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/bin/splitsh-lite -------------------------------------------------------------------------------- /src/testbench/.gitignore: -------------------------------------------------------------------------------- 1 | workbench/.env 2 | workbench/composer.lock 3 | workbench/runtime -------------------------------------------------------------------------------- /phpstan.types.neon.dist: -------------------------------------------------------------------------------- 1 | parameters: 2 | level: max 3 | paths: 4 | - types 5 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | ko_fi: hypervel 4 | -------------------------------------------------------------------------------- /tests/Http/fixtures/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Http/fixtures/test -------------------------------------------------------------------------------- /tests/Http/fixtures/test.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Http/fixtures/test.gif -------------------------------------------------------------------------------- /tests/Http/fixtures/test.txt: -------------------------------------------------------------------------------- 1 | This is a story about something that happened long ago when your grandfather was a child. -------------------------------------------------------------------------------- /src/telescope/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/src/telescope/public/favicon.ico -------------------------------------------------------------------------------- /tests/HttpClient/fixtures/test.txt: -------------------------------------------------------------------------------- 1 | This is a story about something that happened long ago when your grandfather was a child. 2 | -------------------------------------------------------------------------------- /tests/Validation/fixtures/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Validation/fixtures/image.png -------------------------------------------------------------------------------- /tests/Validation/fixtures/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Validation/fixtures/image2.png -------------------------------------------------------------------------------- /tests/Validation/fixtures/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Validation/fixtures/image3.png -------------------------------------------------------------------------------- /tests/Validation/fixtures/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Validation/fixtures/image4.png -------------------------------------------------------------------------------- /tests/Validation/fixtures/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Validation/fixtures/image5.png -------------------------------------------------------------------------------- /src/mail/publish/resources/views/html/table.blade.php: -------------------------------------------------------------------------------- 1 |
2 | {{ Hypervel\Mail\Markdown::parse($slot) }} 3 |
-------------------------------------------------------------------------------- /src/auth/README.md: -------------------------------------------------------------------------------- 1 | Auth for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/auth) -------------------------------------------------------------------------------- /src/bus/README.md: -------------------------------------------------------------------------------- 1 | Bus for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/bus) -------------------------------------------------------------------------------- /src/http/README.md: -------------------------------------------------------------------------------- 1 | Http for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/http) -------------------------------------------------------------------------------- /src/jwt/README.md: -------------------------------------------------------------------------------- 1 | JWT for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/jwt) -------------------------------------------------------------------------------- /src/log/README.md: -------------------------------------------------------------------------------- 1 | Log for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/log) -------------------------------------------------------------------------------- /src/mail/README.md: -------------------------------------------------------------------------------- 1 | Mail for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/mail) -------------------------------------------------------------------------------- /src/cache/README.md: -------------------------------------------------------------------------------- 1 | Cache for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/cache) -------------------------------------------------------------------------------- /src/queue/README.md: -------------------------------------------------------------------------------- 1 | Queue for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/queue) -------------------------------------------------------------------------------- /src/config/README.md: -------------------------------------------------------------------------------- 1 | Config for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/config) -------------------------------------------------------------------------------- /src/console/README.md: -------------------------------------------------------------------------------- 1 | Console for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/console) -------------------------------------------------------------------------------- /src/cookie/README.md: -------------------------------------------------------------------------------- 1 | Cookie for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/cookie) -------------------------------------------------------------------------------- /src/devtool/README.md: -------------------------------------------------------------------------------- 1 | Devtool for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/devtool) -------------------------------------------------------------------------------- /src/event/README.md: -------------------------------------------------------------------------------- 1 | Event for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/event) 5 | -------------------------------------------------------------------------------- /src/hashing/README.md: -------------------------------------------------------------------------------- 1 | Hashing for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/hashing) -------------------------------------------------------------------------------- /src/horizon/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /laravel 3 | /node_modules 4 | /phpunit.xml 5 | composer.lock 6 | .phpunit.result.cache 7 | .phpunit.cache/ 8 | -------------------------------------------------------------------------------- /src/process/README.md: -------------------------------------------------------------------------------- 1 | Process for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/process) -------------------------------------------------------------------------------- /src/prompts/README.md: -------------------------------------------------------------------------------- 1 | Prompts for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/prompts) -------------------------------------------------------------------------------- /src/redis/README.md: -------------------------------------------------------------------------------- 1 | Redis for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/redis) 5 | -------------------------------------------------------------------------------- /src/sanctum/README.md: -------------------------------------------------------------------------------- 1 | Sanctum for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/sanctum) -------------------------------------------------------------------------------- /src/sentry/README.md: -------------------------------------------------------------------------------- 1 | Sentry for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/sentry) -------------------------------------------------------------------------------- /src/session/README.md: -------------------------------------------------------------------------------- 1 | Session for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/session) -------------------------------------------------------------------------------- /src/support/README.md: -------------------------------------------------------------------------------- 1 | Support for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/support) -------------------------------------------------------------------------------- /src/container/README.md: -------------------------------------------------------------------------------- 1 | Container for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/container) -------------------------------------------------------------------------------- /src/coroutine/README.md: -------------------------------------------------------------------------------- 1 | Coroutine for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/coroutine) -------------------------------------------------------------------------------- /src/horizon/README.md: -------------------------------------------------------------------------------- 1 | Horizon for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/horizon) 5 | -------------------------------------------------------------------------------- /src/router/README.md: -------------------------------------------------------------------------------- 1 | Router for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/router) 5 | -------------------------------------------------------------------------------- /src/socialite/README.md: -------------------------------------------------------------------------------- 1 | Socialite for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/socialite) -------------------------------------------------------------------------------- /src/telescope/README.md: -------------------------------------------------------------------------------- 1 | Telescope for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/telescope) -------------------------------------------------------------------------------- /src/testbench/README.md: -------------------------------------------------------------------------------- 1 | Testbench for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/testbench) -------------------------------------------------------------------------------- /src/testbench/workbench/lang/en/welcome.php: -------------------------------------------------------------------------------- 1 | 'Good Morning', 7 | ]; 8 | -------------------------------------------------------------------------------- /tests/Http/fixtures/case-sensitive-mime-type.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypervel/components/HEAD/tests/Http/fixtures/case-sensitive-mime-type.xlsm -------------------------------------------------------------------------------- /tests/Validation/fixtures/image2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/api-client/README.md: -------------------------------------------------------------------------------- 1 | Api Client for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/api-client) -------------------------------------------------------------------------------- /src/dispatcher/README.md: -------------------------------------------------------------------------------- 1 | Dispatcher for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/dispatcher) -------------------------------------------------------------------------------- /src/encryption/README.md: -------------------------------------------------------------------------------- 1 | Encryption for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/encryption) -------------------------------------------------------------------------------- /src/filesystem/README.md: -------------------------------------------------------------------------------- 1 | Filesystem for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/filesystem) -------------------------------------------------------------------------------- /src/foundation/README.md: -------------------------------------------------------------------------------- 1 | Foundation for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/foundation) -------------------------------------------------------------------------------- /src/validation/README.md: -------------------------------------------------------------------------------- 1 | Validation for Hypervel 2 | === 3 | 4 | [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/hypervel/validation) -------------------------------------------------------------------------------- /tests/Router/routes/bar.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/broadcasting/src/Contracts/ShouldBeUnique.php: -------------------------------------------------------------------------------- 1 | getMessage() ?: 'Forbidden')) -------------------------------------------------------------------------------- /src/jwt/src/Exceptions/TokenExpiredException.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ Hypervel\Mail\Markdown::parse($slot) }} 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/queue/src/Contracts/ShouldBeUniqueUntilProcessing.php: -------------------------------------------------------------------------------- 1 | [ 7 | 'http' => [ 8 | Workbench\App\Exceptions\ExceptionHandler::class, 9 | ], 10 | ], 11 | ]; 12 | -------------------------------------------------------------------------------- /tests/Foundation/fixtures/fake-compiled-view-without-source-map.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/core/src/Context/RequestContext.php: -------------------------------------------------------------------------------- 1 | 2 | # Introduction 3 | 4 | The body of your message. 5 | 6 | 7 | Button Text 8 | 9 | 10 | Thanks,
11 | {{ config('app.name') }} 12 | -------------------------------------------------------------------------------- /src/notifications/src/Contracts/Slack/ElementContract.php: -------------------------------------------------------------------------------- 1 | 'array', 7 | 'lifetime' => 120, 8 | 'store' => 'array', 9 | 'cookie' => 'testing_session', 10 | 'lottery' => [0, 2], 11 | ]; 12 | -------------------------------------------------------------------------------- /src/core/src/Database/Eloquent/Relations/Pivot.php: -------------------------------------------------------------------------------- 1 | delete(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/horizon/src/Contracts/Restartable.php: -------------------------------------------------------------------------------- 1 | getAuthIdentifier() === 1; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /tests/Socialite/Fixtures/OAuthOneTestProviderStub.php: -------------------------------------------------------------------------------- 1 | 'sanctum.csrf-cookie', 10 | ]); 11 | -------------------------------------------------------------------------------- /src/telescope/src/Contracts/ClearableRepository.php: -------------------------------------------------------------------------------- 1 | getAuthIdentifier() === 1; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/filesystem/src/Contracts/Factory.php: -------------------------------------------------------------------------------- 1 | getAuthIdentifier() === 1; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/console/src/Contracts/CacheAware.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/container/src/BindingResolutionException.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/Horizon/Feature/Fixtures/FakeEvent.php: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | @if (trim($slot) === 'Hypervel') 6 | 7 | @else 8 | {{ $slot }} 9 | @endif 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/Horizon/UnitTestCase.php: -------------------------------------------------------------------------------- 1 | collection = $collection; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/broadcasting/src/PresenceChannel.php: -------------------------------------------------------------------------------- 1 | 14 | */ 15 | class Collection extends BaseCollection 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /tests/Horizon/Feature/Fixtures/FakeEventWithModel.php: -------------------------------------------------------------------------------- 1 | model = new FakeModel(); 14 | $this->model->id = $id; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/event.stub: -------------------------------------------------------------------------------- 1 | poolName = $pool; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /types/Autoload.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/horizon/src/Contracts/Pausable.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 |
7 | {{ Hypervel\Mail\Markdown::parse($slot) }} 8 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /src/queue/src/Events/JobProcessed.php: -------------------------------------------------------------------------------- 1 | store->add($this->name, $this->owner, $this->seconds); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/resource.stub: -------------------------------------------------------------------------------- 1 | monitoring = true; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/notifications/src/NotificationServiceProvider.php: -------------------------------------------------------------------------------- 1 | loadViewsFrom(dirname(__DIR__) . '/publish/resources/views', 'notifications'); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/Foundation/fixtures/hyperf1/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "autoload": { 3 | "psr-4": { 4 | "Hyperf\\One\\": "app/" 5 | } 6 | }, 7 | "extra": { 8 | "hypervel": { 9 | "dont-discover": [ 10 | "package-four" 11 | ], 12 | "aliases": { 13 | "TestAlias": "TestClass" 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/config/src/ConfigProvider.php: -------------------------------------------------------------------------------- 1 | [ 15 | ConfigInterface::class => ConfigFactory::class, 16 | ], 17 | ]; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/console/src/Events/ScheduledTaskFinished.php: -------------------------------------------------------------------------------- 1 | $this->faker->name(), 15 | ]; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/horizon/src/Events/MasterSupervisorReviving.php: -------------------------------------------------------------------------------- 1 | false, 16 | ]); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/queue/src/Events/JobReleasedAfterException.php: -------------------------------------------------------------------------------- 1 | [ 15 | Factory::class => SocialiteManager::class, 16 | ], 17 | ]; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/telescope/src/ConfigProvider.php: -------------------------------------------------------------------------------- 1 | [ 15 | GuzzleHttpClientAspect::class, 16 | ], 17 | ]; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/broadcasting/src/Contracts/ShouldBroadcast.php: -------------------------------------------------------------------------------- 1 | boot(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/horizon/src/Events/MasterSupervisorDeployed.php: -------------------------------------------------------------------------------- 1 | [ 15 | HyperfRedisPool::class => RedisPool::class, 16 | ], 17 | ]; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/model.stub: -------------------------------------------------------------------------------- 1 | chunkable->write($content); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/redis/src/RedisPool.php: -------------------------------------------------------------------------------- 1 | container, $this, $this->config); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/validation/src/Contracts/Rule.php: -------------------------------------------------------------------------------- 1 | [ 15 | CookieContract::class => CookieManager::class, 16 | ], 17 | ]; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/exception-render.stub: -------------------------------------------------------------------------------- 1 | get(AuthFactoryContract::class) 15 | ->userResolver(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/console/src/Events/ScheduledTaskFailed.php: -------------------------------------------------------------------------------- 1 | wasRestarted = true; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/bus/src/PendingClosureDispatch.php: -------------------------------------------------------------------------------- 1 | job->onFailure($callback); 17 | 18 | return $this; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/horizon/src/Listeners/PruneTerminatingProcesses.php: -------------------------------------------------------------------------------- 1 | supervisor->pruneTerminatingProcesses(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/horizon/src/SupervisorCommands/Terminate.php: -------------------------------------------------------------------------------- 1 | terminate($options['status'] ?? 0); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/Horizon/Feature/Jobs/FailingJob.php: -------------------------------------------------------------------------------- 1 | source[$name]); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/horizon/src/Events/SupervisorLooped.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/notifications/src/NotificationPoolProxy.php: -------------------------------------------------------------------------------- 1 | __call(__FUNCTION__, func_get_args()); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/testbench/workbench/app/Models/User.php: -------------------------------------------------------------------------------- 1 | manager->mailer(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/queue/src/Events/JobExceptionOccurred.php: -------------------------------------------------------------------------------- 1 | nonModel = 1; 18 | $this->first = $first; 19 | $this->second = $second; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/horizon/src/Events/MasterSupervisorLooped.php: -------------------------------------------------------------------------------- 1 | batch()?->cancelled()) { 15 | return null; 16 | } 17 | 18 | return $next($job); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/session/src/StoreFactory.php: -------------------------------------------------------------------------------- 1 | get(Factory::class) 16 | ->driver(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/core/src/Database/Eloquent/Concerns/HasRelations.php: -------------------------------------------------------------------------------- 1 | unsetRelations(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/core/src/HttpMessage/Exceptions/RangeNotSatisfiableHttpException.php: -------------------------------------------------------------------------------- 1 | find($id)->content['html']; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api-client/src/RequestMiddleware.php: -------------------------------------------------------------------------------- 1 | handle(new ApiRequest($request)) 14 | ->toPsrRequest(); 15 | } 16 | 17 | abstract public function handle(ApiRequest $request): ApiRequest; 18 | } 19 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/job.stub: -------------------------------------------------------------------------------- 1 | info('It works!'); 18 | 19 | return 0; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/middleware.stub: -------------------------------------------------------------------------------- 1 | get(ConfigInterface::class) 17 | ); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/sanctum/src/Contracts/HasAbilities.php: -------------------------------------------------------------------------------- 1 | get(HttpFactory::class) 16 | ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api-client/src/ResponseMiddleware.php: -------------------------------------------------------------------------------- 1 | handle(new ApiResponse($response)) 14 | ->toPsrResponse(); 15 | } 16 | 17 | abstract public function handle(ApiResponse $response): ApiResponse; 18 | } 19 | -------------------------------------------------------------------------------- /src/horizon/src/Events/SupervisorProcessRestarting.php: -------------------------------------------------------------------------------- 1 | shouldRun; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/router/src/Exceptions/BackedEnumCaseNotFoundException.php: -------------------------------------------------------------------------------- 1 | get())->sortBy('name')->values()->toArray(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/jwt/src/Contracts/ManagerContract.php: -------------------------------------------------------------------------------- 1 | response; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/horizon/src/Events/JobDeleted.php: -------------------------------------------------------------------------------- 1 | get(SessionContract::class) 17 | ); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/validation/src/PresenceVerifierFactory.php: -------------------------------------------------------------------------------- 1 | get(ConnectionResolverInterface::class) 16 | ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/Horizon/Feature/Fakes/SupervisorThatThrowsException.php: -------------------------------------------------------------------------------- 1 | isAdmin()) { 16 | return $this->deny('Not allowed to view as it is not published.', 'unpublished'); 17 | } 18 | 19 | return true; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/telescope/src/Watchers/ClientRequestWatcher.php: -------------------------------------------------------------------------------- 1 | 'AES-256-CBC', 13 | 14 | 'key' => env('APP_KEY'), 15 | 16 | 'previous_keys' => [ 17 | ...array_filter( 18 | explode(',', env('APP_PREVIOUS_KEYS', '')) 19 | ), 20 | ], 21 | ]; 22 | -------------------------------------------------------------------------------- /src/encryption/src/Exceptions/MissingAppKeyException.php: -------------------------------------------------------------------------------- 1 | false, 16 | ]); 17 | 18 | parent::handle($signal); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/object-pool/src/Contracts/RecycleStrategy.php: -------------------------------------------------------------------------------- 1 | clear(); 17 | 18 | return [ 19 | 'success' => true, 20 | ]; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/Horizon/ControllerTestCase.php: -------------------------------------------------------------------------------- 1 | app['config']->set('app.key', 'base64:UTyp33UhGolgzCK5CJmT+hNHcA+dJyp3+oINtX+VoPI='); 16 | 17 | Horizon::auth(function () { 18 | return true; 19 | }); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/broadcasting/src/Contracts/HasBroadcastChannel.php: -------------------------------------------------------------------------------- 1 | get(FactoryContract::class) 16 | ->disk(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/queue/src/Exceptions/EntityNotFoundException.php: -------------------------------------------------------------------------------- 1 | processCount; 20 | $this->supervisor = $supervisor; 21 | $this->options = $options; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/rule.stub: -------------------------------------------------------------------------------- 1 | get(FactoryContract::class) 16 | ->cloud(CloudContract::class); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/foundation/src/Auth/User.php: -------------------------------------------------------------------------------- 1 | broadcastChannel() : $name; 17 | 18 | parent::__construct('private-' . $name); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/Horizon/Feature/Commands/FakeMasterCommand.php: -------------------------------------------------------------------------------- 1 | processCount; 20 | $this->master = $master; 21 | $this->options = $options; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/bus/src/DispatcherFactory.php: -------------------------------------------------------------------------------- 1 | $container->get(QueueFactoryContract::class)->connection($connection) 17 | ); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/cache/src/Events/CacheHit.php: -------------------------------------------------------------------------------- 1 | value = $value; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/event/src/ListenerData.php: -------------------------------------------------------------------------------- 1 | event = $event; 19 | $this->listener = $listener; 20 | $this->priority = $priority; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/Auth/Stub/AuthorizableStub.php: -------------------------------------------------------------------------------- 1 | */ 14 | use HasFactory; 15 | 16 | protected ?string $table = 'prices'; 17 | 18 | protected static string $factory = PriceFactory::class; 19 | } 20 | -------------------------------------------------------------------------------- /tests/Foundation/Concerns/HasMockedApplication.php: -------------------------------------------------------------------------------- 1 | toHtml() ?>', 18 | Js::class, 19 | $this->stripParentheses($expression) 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/factory.stub: -------------------------------------------------------------------------------- 1 | 12 | */ 13 | class %MODEL%Factory extends Factory 14 | { 15 | /** 16 | * Define the model's default state. 17 | * 18 | * @return array 19 | */ 20 | public function definition(): array 21 | { 22 | return [ 23 | // 24 | ]; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/filesystem/src/Filesystem.php: -------------------------------------------------------------------------------- 1 | isDirectory($path)) { 17 | $this->makeDirectory($path, $mode, $recursive); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/auth/src/Access/GateFactory.php: -------------------------------------------------------------------------------- 1 | get(AuthFactoryContract::class)->userResolver(); 17 | 18 | return make(Gate::class, compact('container', 'userResolver')); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/devtool/src/Generator/stubs/job.queued.stub: -------------------------------------------------------------------------------- 1 | fail(new Exception()); 18 | } 19 | } 20 | 21 | public function tags() 22 | { 23 | return ['first']; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/Router/Stub/UrlRoutableStub.php: -------------------------------------------------------------------------------- 1 | keys = $keys; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/horizon/src/Contracts/WorkloadRepository.php: -------------------------------------------------------------------------------- 1 | 18 | * }> 19 | */ 20 | public function get(): array; 21 | } 22 | -------------------------------------------------------------------------------- /src/queue/src/Contracts/QueueableEntity.php: -------------------------------------------------------------------------------- 1 | name = $container->get(ConfigInterface::class) 16 | ->get('app.name'); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/Horizon/Feature/SupervisorOptionsTest.php: -------------------------------------------------------------------------------- 1 | assertSame('default', $options->queue); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tests/Notifications/NotificationActionTest.php: -------------------------------------------------------------------------------- 1 | assertSame('Text', $action->text); 21 | $this->assertSame('url', $action->url); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /tests/Prompts/ClearPromptTest.php: -------------------------------------------------------------------------------- 1 | define(User::class, function (Faker $faker) { 11 | return [ 12 | 'name' => $faker->unique()->name(), 13 | 'email' => $faker->unique()->safeEmail(), 14 | 'email_verified_at' => Carbon::now(), 15 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 16 | ]; 17 | }); 18 | -------------------------------------------------------------------------------- /bin/generate-facade-docs.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cp composer.json composer.json.bak 4 | cp composer.lock composer.lock.bak 5 | 6 | composer config repositories.facade-documenter vcs git@github.com:hypervel/facade-documenter.git 7 | composer require --dev hypervel/facade-documenter:dev-main 8 | find src/support/src/Facades -type f -name '*.php' -printf '%f\n' | sort | grep -v Facade | sed -E 's/(.+)\.php/Hypervel\\\\Support\\\\Facades\\\\\1/' | xargs php -f vendor/bin/facade.php 9 | 10 | mv composer.json.bak composer.json 11 | mv composer.lock.bak composer.lock 12 | composer install 13 | --------------------------------------------------------------------------------