Traits
These methods are typically the same across all guards.
Provides store detection functionality for commands.
Fallback implementations for stores without native multi-key operations.
Unlike Laravel, this declares no @mixin Builder: Builder is its only user, and the bare mixin made
PHPStan accept on every builder whatever the builder of an unknown model accepts.
Provides the ability to transform a model to a JSON resource.
Marks generated AOP proxies without injecting callable behavior.
Resolve dump sources for consumers that provide $basePath and $compiledViewPath properties.
Resolve source links for consumers that provide a $basePath property.
Add Algolia support to an integration test.
Provides a test helper for invoking a method through the AOP pipeline without relying on generated proxies.
Add Meilisearch support to an integration test.
Opt into real-hub tests with MERCURE_URL and isolate each test's topics.
Provides per-worker database isolation for parallel testing.
Provides Redis integration testing support.
Provides test server integration testing support.
Add Typesense support to an integration test.
Skips tests when the environment doesn't support Redis hash field expiration.
This concern may be combined with RefreshDatabase or DatabaseTransactions; each trait should manage its own connections. It cannot be combined with DatabaseMigrations or LazilyRefreshDatabase.
Inline Symfony's side-effect-free common response preparation path.
Hosts must declare a protected array $poolableDrivers containing their default poolable drivers.
Upstream collects only the key. The missing-translation rule resolves each lookup through the booted translator, so the call's locale, fallback and operation are collected with it.
Infers user types from the configured guard providers, assuming a guard returns its provider's users.
Build Permission relations from one immutable partition and team snapshot.
Track bounded incremental output owned by a Task operation.
Coroutine multi-exec trait.
Every request and pending request uses this trait, so body traits need no upstream HasBody contract or
ChecksForHasBody check.
Resolves a model argument to a fully-qualified class name.
Provides full-text search capabilities to Eloquent models.
Track pushed scopes and spans using coroutine-local storage.
Decorates the underlying filesystem by wrapping all calls to it with tracing.
Creates and bootstraps the application for testbench tests.
Handles parsing and executing test method attributes.
Provides assertion helpers and cleanup utilities for testing file publishing.
Composes the Testbench testing concerns into a single upstream-facing trait.
Assert that query-aware policy results match per-model Gate checks.
Execute compiled AttributePlans against validation data.
Provides default implementation of ValidatesWhenResolved contract.