diff --git a/.gitignore b/.gitignore index 2b0447d0..b582d29a 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ yarn-error.log /public/js /public/css /public/docs +/public/fonts/filament /public/packages /public/vendors~js /public/vendor diff --git a/_ide_helper.php b/_ide_helper.php index 4bc29ba2..8c794a40 100644 --- a/_ide_helper.php +++ b/_ide_helper.php @@ -5,7 +5,7 @@ /** * A helper file for Laravel, to provide autocomplete information to your IDE - * Generated for Laravel 11.45.1. + * Generated for Laravel 12.61.1. * * This file should not be included in your code, only analyzed by your IDE! * @@ -14,8 +14,6 @@ */ namespace Illuminate\Support\Facades { /** - * - * * @see \Illuminate\Foundation\Application */ class App { @@ -23,8 +21,8 @@ class App { * Begin configuring a new Laravel application instance. * * @param string|null $basePath - * @return \Illuminate\Foundation\Configuration\ApplicationBuilder - * @static + * @return \Illuminate\Foundation\Configuration\ApplicationBuilder + * @static */ public static function configure($basePath = null) { @@ -34,8 +32,8 @@ public static function configure($basePath = null) /** * Infer the application's base directory from the environment. * - * @return string - * @static + * @return string + * @static */ public static function inferBasePath() { @@ -45,8 +43,8 @@ public static function inferBasePath() /** * Get the version number of the application. * - * @return string - * @static + * @return string + * @static */ public static function version() { @@ -58,8 +56,8 @@ public static function version() * Run the given array of bootstrap classes. * * @param string[] $bootstrappers - * @return void - * @static + * @return void + * @static */ public static function bootstrapWith($bootstrappers) { @@ -71,8 +69,8 @@ public static function bootstrapWith($bootstrappers) * Register a callback to run after loading the environment. * * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function afterLoadingEnvironment($callback) { @@ -85,8 +83,8 @@ public static function afterLoadingEnvironment($callback) * * @param string $bootstrapper * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function beforeBootstrapping($bootstrapper, $callback) { @@ -99,8 +97,8 @@ public static function beforeBootstrapping($bootstrapper, $callback) * * @param string $bootstrapper * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function afterBootstrapping($bootstrapper, $callback) { @@ -111,8 +109,8 @@ public static function afterBootstrapping($bootstrapper, $callback) /** * Determine if the application has been bootstrapped before. * - * @return bool - * @static + * @return bool + * @static */ public static function hasBeenBootstrapped() { @@ -124,8 +122,8 @@ public static function hasBeenBootstrapped() * Set the base path for the application. * * @param string $basePath - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function setBasePath($basePath) { @@ -137,8 +135,8 @@ public static function setBasePath($basePath) * Get the path to the application "app" directory. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function path($path = '') { @@ -150,8 +148,8 @@ public static function path($path = '') * Set the application directory. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function useAppPath($path) { @@ -163,8 +161,8 @@ public static function useAppPath($path) * Get the base path of the Laravel installation. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function basePath($path = '') { @@ -176,8 +174,8 @@ public static function basePath($path = '') * Get the path to the bootstrap directory. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function bootstrapPath($path = '') { @@ -188,8 +186,8 @@ public static function bootstrapPath($path = '') /** * Get the path to the service provider list in the bootstrap directory. * - * @return string - * @static + * @return string + * @static */ public static function getBootstrapProvidersPath() { @@ -201,8 +199,8 @@ public static function getBootstrapProvidersPath() * Set the bootstrap file directory. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function useBootstrapPath($path) { @@ -214,8 +212,8 @@ public static function useBootstrapPath($path) * Get the path to the application configuration files. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function configPath($path = '') { @@ -227,8 +225,8 @@ public static function configPath($path = '') * Set the configuration directory. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function useConfigPath($path) { @@ -240,8 +238,8 @@ public static function useConfigPath($path) * Get the path to the database directory. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function databasePath($path = '') { @@ -253,8 +251,8 @@ public static function databasePath($path = '') * Set the database directory. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function useDatabasePath($path) { @@ -266,8 +264,8 @@ public static function useDatabasePath($path) * Get the path to the language files. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function langPath($path = '') { @@ -279,8 +277,8 @@ public static function langPath($path = '') * Set the language file directory. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function useLangPath($path) { @@ -292,8 +290,8 @@ public static function useLangPath($path) * Get the path to the public / web directory. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function publicPath($path = '') { @@ -305,8 +303,8 @@ public static function publicPath($path = '') * Set the public / web directory. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function usePublicPath($path) { @@ -318,8 +316,8 @@ public static function usePublicPath($path) * Get the path to the storage directory. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function storagePath($path = '') { @@ -331,8 +329,8 @@ public static function storagePath($path = '') * Set the storage directory. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function useStoragePath($path) { @@ -344,8 +342,8 @@ public static function useStoragePath($path) * Get the path to the resources directory. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function resourcePath($path = '') { @@ -355,12 +353,12 @@ public static function resourcePath($path = '') /** * Get the path to the views directory. - * + * * This method returns the first configured path in the array of view paths. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function viewPath($path = '') { @@ -373,8 +371,8 @@ public static function viewPath($path = '') * * @param string $basePath * @param string $path - * @return string - * @static + * @return string + * @static */ public static function joinPaths($basePath, $path = '') { @@ -385,8 +383,8 @@ public static function joinPaths($basePath, $path = '') /** * Get the path to the environment file directory. * - * @return string - * @static + * @return string + * @static */ public static function environmentPath() { @@ -398,8 +396,8 @@ public static function environmentPath() * Set the directory for the environment file. * * @param string $path - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function useEnvironmentPath($path) { @@ -411,8 +409,8 @@ public static function useEnvironmentPath($path) * Set the environment file to be loaded during bootstrapping. * * @param string $file - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function loadEnvironmentFrom($file) { @@ -423,8 +421,8 @@ public static function loadEnvironmentFrom($file) /** * Get the environment file the application is using. * - * @return string - * @static + * @return string + * @static */ public static function environmentFile() { @@ -433,10 +431,10 @@ public static function environmentFile() } /** - * Get the fully qualified path to the environment file. + * Get the fully-qualified path to the environment file. * - * @return string - * @static + * @return string + * @static */ public static function environmentFilePath() { @@ -448,8 +446,8 @@ public static function environmentFilePath() * Get or check the current application environment. * * @param string|array $environments - * @return string|bool - * @static + * @return string|bool + * @static */ public static function environment(...$environments) { @@ -460,8 +458,8 @@ public static function environment(...$environments) /** * Determine if the application is in the local environment. * - * @return bool - * @static + * @return bool + * @static */ public static function isLocal() { @@ -472,8 +470,8 @@ public static function isLocal() /** * Determine if the application is in the production environment. * - * @return bool - * @static + * @return bool + * @static */ public static function isProduction() { @@ -485,8 +483,8 @@ public static function isProduction() * Detect the application's current environment. * * @param \Closure $callback - * @return string - * @static + * @return string + * @static */ public static function detectEnvironment($callback) { @@ -497,8 +495,8 @@ public static function detectEnvironment($callback) /** * Determine if the application is running in the console. * - * @return bool - * @static + * @return bool + * @static */ public static function runningInConsole() { @@ -510,8 +508,8 @@ public static function runningInConsole() * Determine if the application is running any of the given console commands. * * @param string|array $commands - * @return bool - * @static + * @return bool + * @static */ public static function runningConsoleCommand(...$commands) { @@ -522,8 +520,8 @@ public static function runningConsoleCommand(...$commands) /** * Determine if the application is running unit tests. * - * @return bool - * @static + * @return bool + * @static */ public static function runningUnitTests() { @@ -534,8 +532,8 @@ public static function runningUnitTests() /** * Determine if the application is running with debug mode enabled. * - * @return bool - * @static + * @return bool + * @static */ public static function hasDebugModeEnabled() { @@ -547,8 +545,8 @@ public static function hasDebugModeEnabled() * Register a new registered listener. * * @param callable $callback - * @return void - * @static + * @return void + * @static */ public static function registered($callback) { @@ -559,8 +557,8 @@ public static function registered($callback) /** * Register all of the configured providers. * - * @return void - * @static + * @return void + * @static */ public static function registerConfiguredProviders() { @@ -573,8 +571,8 @@ public static function registerConfiguredProviders() * * @param \Illuminate\Support\ServiceProvider|string $provider * @param bool $force - * @return \Illuminate\Support\ServiceProvider - * @static + * @return \Illuminate\Support\ServiceProvider + * @static */ public static function register($provider, $force = false) { @@ -586,8 +584,8 @@ public static function register($provider, $force = false) * Get the registered service provider instance if it exists. * * @param \Illuminate\Support\ServiceProvider|string $provider - * @return \Illuminate\Support\ServiceProvider|null - * @static + * @return \Illuminate\Support\ServiceProvider|null + * @static */ public static function getProvider($provider) { @@ -599,8 +597,8 @@ public static function getProvider($provider) * Get the registered service provider instances if any exist. * * @param \Illuminate\Support\ServiceProvider|string $provider - * @return array - * @static + * @return array + * @static */ public static function getProviders($provider) { @@ -612,8 +610,8 @@ public static function getProviders($provider) * Resolve a service provider instance from the class name. * * @param string $provider - * @return \Illuminate\Support\ServiceProvider - * @static + * @return \Illuminate\Support\ServiceProvider + * @static */ public static function resolveProvider($provider) { @@ -624,8 +622,8 @@ public static function resolveProvider($provider) /** * Load and boot all of the remaining deferred providers. * - * @return void - * @static + * @return void + * @static */ public static function loadDeferredProviders() { @@ -637,8 +635,8 @@ public static function loadDeferredProviders() * Load the provider for a deferred service. * * @param string $service - * @return void - * @static + * @return void + * @static */ public static function loadDeferredProvider($service) { @@ -651,8 +649,8 @@ public static function loadDeferredProvider($service) * * @param string $provider * @param string|null $service - * @return void - * @static + * @return void + * @static */ public static function registerDeferredProvider($provider, $service = null) { @@ -668,7 +666,7 @@ public static function registerDeferredProvider($provider, $service = null) * @param array $parameters * @return ($abstract is class-string ? TClass : mixed) * @throws \Illuminate\Contracts\Container\BindingResolutionException - * @static + * @static */ public static function make($abstract, $parameters = []) { @@ -680,8 +678,8 @@ public static function make($abstract, $parameters = []) * Determine if the given abstract type has been bound. * * @param string $abstract - * @return bool - * @static + * @return bool + * @static */ public static function bound($abstract) { @@ -692,8 +690,8 @@ public static function bound($abstract) /** * Determine if the application has booted. * - * @return bool - * @static + * @return bool + * @static */ public static function isBooted() { @@ -704,8 +702,8 @@ public static function isBooted() /** * Boot the application's service providers. * - * @return void - * @static + * @return void + * @static */ public static function boot() { @@ -717,8 +715,8 @@ public static function boot() * Register a new boot listener. * * @param callable $callback - * @return void - * @static + * @return void + * @static */ public static function booting($callback) { @@ -730,8 +728,8 @@ public static function booting($callback) * Register a new "booted" listener. * * @param callable $callback - * @return void - * @static + * @return void + * @static */ public static function booted($callback) { @@ -742,8 +740,8 @@ public static function booted($callback) /** * {@inheritdoc} * - * @return \Symfony\Component\HttpFoundation\Response - * @static + * @return \Symfony\Component\HttpFoundation\Response + * @static */ public static function handle($request, $type = 1, $catch = true) { @@ -755,8 +753,8 @@ public static function handle($request, $type = 1, $catch = true) * Handle the incoming HTTP request and send the response to the browser. * * @param \Illuminate\Http\Request $request - * @return void - * @static + * @return void + * @static */ public static function handleRequest($request) { @@ -768,8 +766,8 @@ public static function handleRequest($request) * Handle the incoming Artisan command. * * @param \Symfony\Component\Console\Input\InputInterface $input - * @return int - * @static + * @return int + * @static */ public static function handleCommand($input) { @@ -780,8 +778,8 @@ public static function handleCommand($input) /** * Determine if the framework's base configuration should be merged. * - * @return bool - * @static + * @return bool + * @static */ public static function shouldMergeFrameworkConfiguration() { @@ -792,8 +790,8 @@ public static function shouldMergeFrameworkConfiguration() /** * Indicate that the framework's base configuration should not be merged. * - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function dontMergeFrameworkConfiguration() { @@ -804,8 +802,8 @@ public static function dontMergeFrameworkConfiguration() /** * Determine if middleware has been disabled for the application. * - * @return bool - * @static + * @return bool + * @static */ public static function shouldSkipMiddleware() { @@ -816,8 +814,8 @@ public static function shouldSkipMiddleware() /** * Get the path to the cached services.php file. * - * @return string - * @static + * @return string + * @static */ public static function getCachedServicesPath() { @@ -828,8 +826,8 @@ public static function getCachedServicesPath() /** * Get the path to the cached packages.php file. * - * @return string - * @static + * @return string + * @static */ public static function getCachedPackagesPath() { @@ -840,8 +838,8 @@ public static function getCachedPackagesPath() /** * Determine if the application configuration is cached. * - * @return bool - * @static + * @return bool + * @static */ public static function configurationIsCached() { @@ -852,8 +850,8 @@ public static function configurationIsCached() /** * Get the path to the configuration cache file. * - * @return string - * @static + * @return string + * @static */ public static function getCachedConfigPath() { @@ -864,8 +862,8 @@ public static function getCachedConfigPath() /** * Determine if the application routes are cached. * - * @return bool - * @static + * @return bool + * @static */ public static function routesAreCached() { @@ -876,8 +874,8 @@ public static function routesAreCached() /** * Get the path to the routes cache file. * - * @return string - * @static + * @return string + * @static */ public static function getCachedRoutesPath() { @@ -888,8 +886,8 @@ public static function getCachedRoutesPath() /** * Determine if the application events are cached. * - * @return bool - * @static + * @return bool + * @static */ public static function eventsAreCached() { @@ -900,8 +898,8 @@ public static function eventsAreCached() /** * Get the path to the events cache file. * - * @return string - * @static + * @return string + * @static */ public static function getCachedEventsPath() { @@ -913,8 +911,8 @@ public static function getCachedEventsPath() * Add new prefix to list of absolute path prefixes. * * @param string $prefix - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function addAbsoluteCachePathPrefix($prefix) { @@ -925,8 +923,8 @@ public static function addAbsoluteCachePathPrefix($prefix) /** * Get an instance of the maintenance mode manager implementation. * - * @return \Illuminate\Contracts\Foundation\MaintenanceMode - * @static + * @return \Illuminate\Contracts\Foundation\MaintenanceMode + * @static */ public static function maintenanceMode() { @@ -937,8 +935,8 @@ public static function maintenanceMode() /** * Determine if the application is currently down for maintenance. * - * @return bool - * @static + * @return bool + * @static */ public static function isDownForMaintenance() { @@ -952,10 +950,10 @@ public static function isDownForMaintenance() * @param int $code * @param string $message * @param array $headers - * @return never + * @return never * @throws \Symfony\Component\HttpKernel\Exception\HttpException * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException - * @static + * @static */ public static function abort($code, $message = '', $headers = []) { @@ -967,8 +965,8 @@ public static function abort($code, $message = '', $headers = []) * Register a terminating callback with the application. * * @param callable|string $callback - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ public static function terminating($callback) { @@ -979,8 +977,8 @@ public static function terminating($callback) /** * Terminate the application. * - * @return void - * @static + * @return void + * @static */ public static function terminate() { @@ -991,8 +989,8 @@ public static function terminate() /** * Get the service providers that have been loaded. * - * @return array - * @static + * @return array + * @static */ public static function getLoadedProviders() { @@ -1004,8 +1002,8 @@ public static function getLoadedProviders() * Determine if the given service provider is loaded. * * @param string $provider - * @return bool - * @static + * @return bool + * @static */ public static function providerIsLoaded($provider) { @@ -1016,8 +1014,8 @@ public static function providerIsLoaded($provider) /** * Get the application's deferred services. * - * @return array - * @static + * @return array + * @static */ public static function getDeferredServices() { @@ -1029,8 +1027,8 @@ public static function getDeferredServices() * Set the application's deferred services. * * @param array $services - * @return void - * @static + * @return void + * @static */ public static function setDeferredServices($services) { @@ -1042,8 +1040,8 @@ public static function setDeferredServices($services) * Determine if the given service is a deferred service. * * @param string $service - * @return bool - * @static + * @return bool + * @static */ public static function isDeferredService($service) { @@ -1055,8 +1053,8 @@ public static function isDeferredService($service) * Add an array of services to the application's deferred services. * * @param array $services - * @return void - * @static + * @return void + * @static */ public static function addDeferredServices($services) { @@ -1068,8 +1066,8 @@ public static function addDeferredServices($services) * Remove an array of services from the application's deferred services. * * @param array $services - * @return void - * @static + * @return void + * @static */ public static function removeDeferredServices($services) { @@ -1081,8 +1079,8 @@ public static function removeDeferredServices($services) * Configure the real-time facade namespace. * * @param string $namespace - * @return void - * @static + * @return void + * @static */ public static function provideFacades($namespace) { @@ -1093,8 +1091,8 @@ public static function provideFacades($namespace) /** * Get the current application locale. * - * @return string - * @static + * @return string + * @static */ public static function getLocale() { @@ -1105,8 +1103,8 @@ public static function getLocale() /** * Get the current application locale. * - * @return string - * @static + * @return string + * @static */ public static function currentLocale() { @@ -1117,8 +1115,8 @@ public static function currentLocale() /** * Get the current application fallback locale. * - * @return string - * @static + * @return string + * @static */ public static function getFallbackLocale() { @@ -1130,8 +1128,8 @@ public static function getFallbackLocale() * Set the current application locale. * * @param string $locale - * @return void - * @static + * @return void + * @static */ public static function setLocale($locale) { @@ -1143,8 +1141,8 @@ public static function setLocale($locale) * Set the current application fallback locale. * * @param string $fallbackLocale - * @return void - * @static + * @return void + * @static */ public static function setFallbackLocale($fallbackLocale) { @@ -1156,8 +1154,8 @@ public static function setFallbackLocale($fallbackLocale) * Determine if the application locale is the given locale. * * @param string $locale - * @return bool - * @static + * @return bool + * @static */ public static function isLocale($locale) { @@ -1168,8 +1166,8 @@ public static function isLocale($locale) /** * Register the core class aliases in the container. * - * @return void - * @static + * @return void + * @static */ public static function registerCoreContainerAliases() { @@ -1180,8 +1178,8 @@ public static function registerCoreContainerAliases() /** * Flush the container of all bindings and resolved instances. * - * @return void - * @static + * @return void + * @static */ public static function flush() { @@ -1192,9 +1190,9 @@ public static function flush() /** * Get the application namespace. * - * @return string + * @return string * @throws \RuntimeException - * @static + * @static */ public static function getNamespace() { @@ -1206,8 +1204,8 @@ public static function getNamespace() * Define a contextual binding. * * @param array|string $concrete - * @return \Illuminate\Contracts\Container\ContextualBindingBuilder - * @static + * @return \Illuminate\Contracts\Container\ContextualBindingBuilder + * @static */ public static function when($concrete) { @@ -1219,10 +1217,8 @@ public static function when($concrete) /** * Define a contextual binding based on an attribute. * - * @param string $attribute - * @param \Closure $handler - * @return void - * @static + * @return void + * @static */ public static function whenHasAttribute($attribute, $handler) { @@ -1233,16 +1229,15 @@ public static function whenHasAttribute($attribute, $handler) /** * Returns true if the container can return an entry for the given identifier. - * + * * Returns false otherwise. - * + * * `has($id)` returning true does not mean that `get($id)` will not throw an exception. * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`. * - * @return bool * @param string $id Identifier of the entry to look for. - * @return bool - * @static + * @return bool + * @static */ public static function has($id) { @@ -1255,8 +1250,8 @@ public static function has($id) * Determine if the given abstract type has been resolved. * * @param string $abstract - * @return bool - * @static + * @return bool + * @static */ public static function resolved($abstract) { @@ -1269,8 +1264,8 @@ public static function resolved($abstract) * Determine if a given type is shared. * * @param string $abstract - * @return bool - * @static + * @return bool + * @static */ public static function isShared($abstract) { @@ -1283,8 +1278,8 @@ public static function isShared($abstract) * Determine if a given string is an alias. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function isAlias($name) { @@ -1296,12 +1291,13 @@ public static function isAlias($name) /** * Register a binding with the container. * - * @param string $abstract + * @param \Closure|string $abstract * @param \Closure|string|null $concrete * @param bool $shared - * @return void + * @return void * @throws \TypeError - * @static + * @throws ReflectionException + * @static */ public static function bind($abstract, $concrete = null, $shared = false) { @@ -1314,8 +1310,8 @@ public static function bind($abstract, $concrete = null, $shared = false) * Determine if the container has a method binding. * * @param string $method - * @return bool - * @static + * @return bool + * @static */ public static function hasMethodBinding($method) { @@ -1329,8 +1325,8 @@ public static function hasMethodBinding($method) * * @param array|string $method * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function bindMethod($method, $callback) { @@ -1344,8 +1340,8 @@ public static function bindMethod($method, $callback) * * @param string $method * @param mixed $instance - * @return mixed - * @static + * @return mixed + * @static */ public static function callMethodBinding($method, $instance) { @@ -1358,10 +1354,10 @@ public static function callMethodBinding($method, $instance) * Add a contextual binding to the container. * * @param string $concrete - * @param string $abstract + * @param \Closure|string $abstract * @param \Closure|string $implementation - * @return void - * @static + * @return void + * @static */ public static function addContextualBinding($concrete, $abstract, $implementation) { @@ -1373,11 +1369,11 @@ public static function addContextualBinding($concrete, $abstract, $implementatio /** * Register a binding if it hasn't already been registered. * - * @param string $abstract + * @param \Closure|string $abstract * @param \Closure|string|null $concrete * @param bool $shared - * @return void - * @static + * @return void + * @static */ public static function bindIf($abstract, $concrete = null, $shared = false) { @@ -1389,10 +1385,10 @@ public static function bindIf($abstract, $concrete = null, $shared = false) /** * Register a shared binding in the container. * - * @param string $abstract + * @param \Closure|string $abstract * @param \Closure|string|null $concrete - * @return void - * @static + * @return void + * @static */ public static function singleton($abstract, $concrete = null) { @@ -1404,10 +1400,10 @@ public static function singleton($abstract, $concrete = null) /** * Register a shared binding if it hasn't already been registered. * - * @param string $abstract + * @param \Closure|string $abstract * @param \Closure|string|null $concrete - * @return void - * @static + * @return void + * @static */ public static function singletonIf($abstract, $concrete = null) { @@ -1419,10 +1415,10 @@ public static function singletonIf($abstract, $concrete = null) /** * Register a scoped binding in the container. * - * @param string $abstract + * @param \Closure|string $abstract * @param \Closure|string|null $concrete - * @return void - * @static + * @return void + * @static */ public static function scoped($abstract, $concrete = null) { @@ -1434,10 +1430,10 @@ public static function scoped($abstract, $concrete = null) /** * Register a scoped binding if it hasn't already been registered. * - * @param string $abstract + * @param \Closure|string $abstract * @param \Closure|string|null $concrete - * @return void - * @static + * @return void + * @static */ public static function scopedIf($abstract, $concrete = null) { @@ -1450,10 +1446,9 @@ public static function scopedIf($abstract, $concrete = null) * "Extend" an abstract type in the container. * * @param string $abstract - * @param \Closure $closure - * @return void + * @return void * @throws \InvalidArgumentException - * @static + * @static */ public static function extend($abstract, $closure) { @@ -1468,8 +1463,8 @@ public static function extend($abstract, $closure) * @template TInstance of mixed * @param string $abstract * @param TInstance $instance - * @return TInstance - * @static + * @return TInstance + * @static */ public static function instance($abstract, $instance) { @@ -1482,9 +1477,9 @@ public static function instance($abstract, $instance) * Assign a set of tags to a given binding. * * @param array|string $abstracts - * @param array|mixed $tags - * @return void - * @static + * @param mixed $tags + * @return void + * @static */ public static function tag($abstracts, $tags) { @@ -1497,8 +1492,8 @@ public static function tag($abstracts, $tags) * Resolve all of the bindings for a given tag. * * @param string $tag - * @return iterable - * @static + * @return iterable + * @static */ public static function tagged($tag) { @@ -1512,9 +1507,9 @@ public static function tagged($tag) * * @param string $abstract * @param string $alias - * @return void + * @return void * @throws \LogicException - * @static + * @static */ public static function alias($abstract, $alias) { @@ -1527,9 +1522,8 @@ public static function alias($abstract, $alias) * Bind a new callback to an abstract's rebind event. * * @param string $abstract - * @param \Closure $callback - * @return mixed - * @static + * @return mixed + * @static */ public static function rebinding($abstract, $callback) { @@ -1544,8 +1538,8 @@ public static function rebinding($abstract, $callback) * @param string $abstract * @param mixed $target * @param string $method - * @return mixed - * @static + * @return mixed + * @static */ public static function refresh($abstract, $target, $method) { @@ -1557,10 +1551,8 @@ public static function refresh($abstract, $target, $method) /** * Wrap the given closure such that its dependencies will be injected when executed. * - * @param \Closure $callback - * @param array $parameters - * @return \Closure - * @static + * @return \Closure + * @static */ public static function wrap($callback, $parameters = []) { @@ -1575,9 +1567,9 @@ public static function wrap($callback, $parameters = []) * @param callable|string $callback * @param array $parameters * @param string|null $defaultMethod - * @return mixed + * @return mixed * @throws \InvalidArgumentException - * @static + * @static */ public static function call($callback, $parameters = [], $defaultMethod = null) { @@ -1592,7 +1584,7 @@ public static function call($callback, $parameters = [], $defaultMethod = null) * @template TClass of object * @param string|class-string $abstract * @return ($abstract is class-string ? \Closure(): TClass : \Closure(): mixed) - * @static + * @static */ public static function factory($abstract) { @@ -1606,10 +1598,9 @@ public static function factory($abstract) * * @template TClass of object * @param string|class-string|callable $abstract - * @param array $parameters * @return ($abstract is class-string ? TClass : mixed) * @throws \Illuminate\Contracts\Container\BindingResolutionException - * @static + * @static */ public static function makeWith($abstract, $parameters = []) { @@ -1619,12 +1610,16 @@ public static function makeWith($abstract, $parameters = []) } /** - * {@inheritdoc} + * Finds an entry of the container by its identifier and returns it. * * @template TClass of object * @param string|class-string $id * @return ($id is class-string ? TClass : mixed) - * @static + * @param string $id Identifier of the entry to look for. + * @throws NotFoundExceptionInterface No entry was found for **this** identifier. + * @throws ContainerExceptionInterface Error while retrieving the entry. + * @return mixed Entry. + * @static */ public static function get($id) { @@ -1638,10 +1633,10 @@ public static function get($id) * * @template TClass of object * @param \Closure(static, array): TClass|class-string $concrete - * @return TClass + * @return TClass * @throws \Illuminate\Contracts\Container\BindingResolutionException * @throws \Illuminate\Contracts\Container\CircularDependencyException - * @static + * @static */ public static function build($concrete) { @@ -1653,9 +1648,8 @@ public static function build($concrete) /** * Resolve a dependency based on an attribute. * - * @param \ReflectionAttribute $attribute - * @return mixed - * @static + * @return mixed + * @static */ public static function resolveFromAttribute($attribute) { @@ -1668,9 +1662,8 @@ public static function resolveFromAttribute($attribute) * Register a new before resolving callback for all types. * * @param \Closure|string $abstract - * @param \Closure|null $callback - * @return void - * @static + * @return void + * @static */ public static function beforeResolving($abstract, $callback = null) { @@ -1683,9 +1676,8 @@ public static function beforeResolving($abstract, $callback = null) * Register a new resolving callback. * * @param \Closure|string $abstract - * @param \Closure|null $callback - * @return void - * @static + * @return void + * @static */ public static function resolving($abstract, $callback = null) { @@ -1698,9 +1690,8 @@ public static function resolving($abstract, $callback = null) * Register a new after resolving callback for all types. * * @param \Closure|string $abstract - * @param \Closure|null $callback - * @return void - * @static + * @return void + * @static */ public static function afterResolving($abstract, $callback = null) { @@ -1712,10 +1703,8 @@ public static function afterResolving($abstract, $callback = null) /** * Register a new after resolving attribute callback for all types. * - * @param string $attribute - * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function afterResolvingAttribute($attribute, $callback) { @@ -1729,8 +1718,8 @@ public static function afterResolvingAttribute($attribute, $callback) * * @param \ReflectionAttribute[] $attributes * @param mixed $object - * @return void - * @static + * @return void + * @static */ public static function fireAfterResolvingAttributeCallbacks($attributes, $object) { @@ -1739,11 +1728,24 @@ public static function fireAfterResolvingAttributeCallbacks($attributes, $object $instance->fireAfterResolvingAttributeCallbacks($attributes, $object); } + /** + * Get the name of the binding the container is currently resolving. + * + * @return class-string|string|null + * @static + */ + public static function currentlyResolving() + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->currentlyResolving(); + } + /** * Get the container's bindings. * - * @return array - * @static + * @return array + * @static */ public static function getBindings() { @@ -1756,8 +1758,8 @@ public static function getBindings() * Get the alias for an abstract if available. * * @param string $abstract - * @return string - * @static + * @return string + * @static */ public static function getAlias($abstract) { @@ -1770,8 +1772,8 @@ public static function getAlias($abstract) * Remove all of the extender callbacks for a given type. * * @param string $abstract - * @return void - * @static + * @return void + * @static */ public static function forgetExtenders($abstract) { @@ -1784,8 +1786,8 @@ public static function forgetExtenders($abstract) * Remove a resolved instance from the instance cache. * * @param string $abstract - * @return void - * @static + * @return void + * @static */ public static function forgetInstance($abstract) { @@ -1797,8 +1799,8 @@ public static function forgetInstance($abstract) /** * Clear all of the instances from the container. * - * @return void - * @static + * @return void + * @static */ public static function forgetInstances() { @@ -1810,8 +1812,8 @@ public static function forgetInstances() /** * Clear all of the scoped instances from the container. * - * @return void - * @static + * @return void + * @static */ public static function forgetScopedInstances() { @@ -1820,11 +1822,39 @@ public static function forgetScopedInstances() $instance->forgetScopedInstances(); } + /** + * Set the callback which determines the current container environment. + * + * @param (callable(array|string): bool|string)|null $callback + * @return void + * @static + */ + public static function resolveEnvironmentUsing($callback) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + $instance->resolveEnvironmentUsing($callback); + } + + /** + * Determine the environment for the container. + * + * @param array|string $environments + * @return bool + * @static + */ + public static function currentEnvironmentIs($environments) + { + //Method inherited from \Illuminate\Container\Container + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->currentEnvironmentIs($environments); + } + /** * Get the globally available instance of the container. * - * @return static - * @static + * @return static + * @static */ public static function getInstance() { @@ -1835,9 +1865,8 @@ public static function getInstance() /** * Set the shared instance of the container. * - * @param \Illuminate\Contracts\Container\Container|null $container - * @return \Illuminate\Contracts\Container\Container|static - * @static + * @return \Illuminate\Contracts\Container\Container|static + * @static */ public static function setInstance($container = null) { @@ -1849,8 +1878,7 @@ public static function setInstance($container = null) * Determine if a given offset exists. * * @param string $key - * @return bool - * @static + * @static */ public static function offsetExists($key) { @@ -1863,8 +1891,7 @@ public static function offsetExists($key) * Get the value at a given offset. * * @param string $key - * @return mixed - * @static + * @static */ public static function offsetGet($key) { @@ -1878,28 +1905,26 @@ public static function offsetGet($key) * * @param string $key * @param mixed $value - * @return void - * @static + * @static */ public static function offsetSet($key, $value) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ - $instance->offsetSet($key, $value); + return $instance->offsetSet($key, $value); } /** * Unset the value at a given offset. * * @param string $key - * @return void - * @static + * @static */ public static function offsetUnset($key) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ - $instance->offsetUnset($key); + return $instance->offsetUnset($key); } /** @@ -1908,8 +1933,8 @@ public static function offsetUnset($key) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -1921,9 +1946,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -1934,8 +1959,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -1945,8 +1970,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -1955,17 +1980,15 @@ public static function flushMacros() } /** - * - * * @see \Illuminate\Foundation\Console\Kernel */ class Artisan { /** * Re-route the Symfony command events to their Laravel counterparts. * - * @internal - * @return \App\Console\Kernel - * @static + * @internal + * @return \App\Console\Kernel + * @static */ public static function rerouteSymfonyCommandEvents() { @@ -1979,8 +2002,8 @@ public static function rerouteSymfonyCommandEvents() * * @param \Symfony\Component\Console\Input\InputInterface $input * @param \Symfony\Component\Console\Output\OutputInterface|null $output - * @return int - * @static + * @return int + * @static */ public static function handle($input, $output = null) { @@ -1994,8 +2017,8 @@ public static function handle($input, $output = null) * * @param \Symfony\Component\Console\Input\InputInterface $input * @param int $status - * @return void - * @static + * @return void + * @static */ public static function terminate($input, $status) { @@ -2009,8 +2032,8 @@ public static function terminate($input, $status) * * @param \DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold * @param callable $handler - * @return void - * @static + * @return void + * @static */ public static function whenCommandLifecycleIsLongerThan($threshold, $handler) { @@ -2022,8 +2045,8 @@ public static function whenCommandLifecycleIsLongerThan($threshold, $handler) /** * When the command being handled started. * - * @return \Illuminate\Support\Carbon|null - * @static + * @return \Illuminate\Support\Carbon|null + * @static */ public static function commandStartedAt() { @@ -2035,8 +2058,8 @@ public static function commandStartedAt() /** * Resolve a console schedule instance. * - * @return \Illuminate\Console\Scheduling\Schedule - * @static + * @return \Illuminate\Console\Scheduling\Schedule + * @static */ public static function resolveConsoleSchedule() { @@ -2050,8 +2073,8 @@ public static function resolveConsoleSchedule() * * @param string $signature * @param \Closure $callback - * @return \Illuminate\Foundation\Console\ClosureCommand - * @static + * @return \Illuminate\Foundation\Console\ClosureCommand + * @static */ public static function command($signature, $callback) { @@ -2064,8 +2087,8 @@ public static function command($signature, $callback) * Register the given command with the console application. * * @param \Symfony\Component\Console\Command\Command $command - * @return void - * @static + * @return void + * @static */ public static function registerCommand($command) { @@ -2077,12 +2100,12 @@ public static function registerCommand($command) /** * Run an Artisan console command by name. * - * @param string $command + * @param \Symfony\Component\Console\Command\Command|string $command * @param array $parameters * @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer - * @return int + * @return int * @throws \Symfony\Component\Console\Exception\CommandNotFoundException - * @static + * @static */ public static function call($command, $parameters = [], $outputBuffer = null) { @@ -2096,8 +2119,8 @@ public static function call($command, $parameters = [], $outputBuffer = null) * * @param string $command * @param array $parameters - * @return \Illuminate\Foundation\Bus\PendingDispatch - * @static + * @return \Illuminate\Foundation\Bus\PendingDispatch + * @static */ public static function queue($command, $parameters = []) { @@ -2109,8 +2132,8 @@ public static function queue($command, $parameters = []) /** * Get all of the commands registered with the console. * - * @return array - * @static + * @return array + * @static */ public static function all() { @@ -2122,8 +2145,8 @@ public static function all() /** * Get the output for the last run command. * - * @return string - * @static + * @return string + * @static */ public static function output() { @@ -2135,8 +2158,8 @@ public static function output() /** * Bootstrap the application for artisan commands. * - * @return void - * @static + * @return void + * @static */ public static function bootstrap() { @@ -2148,8 +2171,8 @@ public static function bootstrap() /** * Bootstrap the application without booting service providers. * - * @return void - * @static + * @return void + * @static */ public static function bootstrapWithoutBootingProviders() { @@ -2162,8 +2185,8 @@ public static function bootstrapWithoutBootingProviders() * Set the Artisan application instance. * * @param \Illuminate\Console\Application|null $artisan - * @return void - * @static + * @return void + * @static */ public static function setArtisan($artisan) { @@ -2176,8 +2199,8 @@ public static function setArtisan($artisan) * Set the Artisan commands provided by the application. * * @param array $commands - * @return \App\Console\Kernel - * @static + * @return \App\Console\Kernel + * @static */ public static function addCommands($commands) { @@ -2190,8 +2213,8 @@ public static function addCommands($commands) * Set the paths that should have their Artisan commands automatically discovered. * * @param array $paths - * @return \App\Console\Kernel - * @static + * @return \App\Console\Kernel + * @static */ public static function addCommandPaths($paths) { @@ -2204,8 +2227,8 @@ public static function addCommandPaths($paths) * Set the paths that should have their Artisan "routes" automatically discovered. * * @param array $paths - * @return \App\Console\Kernel - * @static + * @return \App\Console\Kernel + * @static */ public static function addCommandRoutePaths($paths) { @@ -2216,8 +2239,6 @@ public static function addCommandRoutePaths($paths) } /** - * - * * @see \Illuminate\Auth\AuthManager * @see \Illuminate\Auth\SessionGuard */ @@ -2226,8 +2247,8 @@ class Auth { * Attempt to get the guard from the local cache. * * @param string|null $name - * @return \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard - * @static + * @return \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard + * @static */ public static function guard($name = null) { @@ -2240,8 +2261,8 @@ public static function guard($name = null) * * @param string $name * @param array $config - * @return \Illuminate\Auth\SessionGuard - * @static + * @return \Illuminate\Auth\SessionGuard + * @static */ public static function createSessionDriver($name, $config) { @@ -2254,8 +2275,8 @@ public static function createSessionDriver($name, $config) * * @param string $name * @param array $config - * @return \Illuminate\Auth\TokenGuard - * @static + * @return \Illuminate\Auth\TokenGuard + * @static */ public static function createTokenDriver($name, $config) { @@ -2266,8 +2287,8 @@ public static function createTokenDriver($name, $config) /** * Get the default authentication driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -2279,8 +2300,8 @@ public static function getDefaultDriver() * Set the default guard driver the factory should serve. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function shouldUse($name) { @@ -2292,8 +2313,8 @@ public static function shouldUse($name) * Set the default authentication driver name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -2306,8 +2327,8 @@ public static function setDefaultDriver($name) * * @param string $driver * @param callable $callback - * @return \Illuminate\Auth\AuthManager - * @static + * @return \Illuminate\Auth\AuthManager + * @static */ public static function viaRequest($driver, $callback) { @@ -2318,8 +2339,8 @@ public static function viaRequest($driver, $callback) /** * Get the user resolver callback. * - * @return \Closure - * @static + * @return \Closure + * @static */ public static function userResolver() { @@ -2331,8 +2352,8 @@ public static function userResolver() * Set the callback to be used to resolve users. * * @param \Closure $userResolver - * @return \Illuminate\Auth\AuthManager - * @static + * @return \Illuminate\Auth\AuthManager + * @static */ public static function resolveUsersUsing($userResolver) { @@ -2345,8 +2366,8 @@ public static function resolveUsersUsing($userResolver) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Auth\AuthManager - * @static + * @return \Illuminate\Auth\AuthManager + * @static */ public static function extend($driver, $callback) { @@ -2359,8 +2380,8 @@ public static function extend($driver, $callback) * * @param string $name * @param \Closure $callback - * @return \Illuminate\Auth\AuthManager - * @static + * @return \Illuminate\Auth\AuthManager + * @static */ public static function provider($name, $callback) { @@ -2371,8 +2392,8 @@ public static function provider($name, $callback) /** * Determines if any guards have already been resolved. * - * @return bool - * @static + * @return bool + * @static */ public static function hasResolvedGuards() { @@ -2383,8 +2404,8 @@ public static function hasResolvedGuards() /** * Forget all of the resolved guard instances. * - * @return \Illuminate\Auth\AuthManager - * @static + * @return \Illuminate\Auth\AuthManager + * @static */ public static function forgetGuards() { @@ -2396,8 +2417,8 @@ public static function forgetGuards() * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Auth\AuthManager - * @static + * @return \Illuminate\Auth\AuthManager + * @static */ public static function setApplication($app) { @@ -2409,9 +2430,9 @@ public static function setApplication($app) * Create the user provider implementation for the driver. * * @param string|null $provider - * @return \Illuminate\Contracts\Auth\UserProvider|null + * @return \Illuminate\Contracts\Auth\UserProvider|null * @throws \InvalidArgumentException - * @static + * @static */ public static function createUserProvider($provider = null) { @@ -2422,8 +2443,8 @@ public static function createUserProvider($provider = null) /** * Get the default user provider name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultUserProvider() { @@ -2434,8 +2455,8 @@ public static function getDefaultUserProvider() /** * Get the currently authenticated user. * - * @return \App\Models\User|null - * @static + * @return \App\Models\User|null + * @static */ public static function user() { @@ -2446,8 +2467,8 @@ public static function user() /** * Get the ID for the currently authenticated user. * - * @return int|string|null - * @static + * @return int|string|null + * @static */ public static function id() { @@ -2459,8 +2480,8 @@ public static function id() * Log a user into the application without sessions or cookies. * * @param array $credentials - * @return bool - * @static + * @return bool + * @static */ public static function once($credentials = []) { @@ -2472,8 +2493,8 @@ public static function once($credentials = []) * Log the given user ID into the application without sessions or cookies. * * @param mixed $id - * @return \App\Models\User|false - * @static + * @return \App\Models\User|false + * @static */ public static function onceUsingId($id) { @@ -2485,8 +2506,8 @@ public static function onceUsingId($id) * Validate a user's credentials. * * @param array $credentials - * @return bool - * @static + * @return bool + * @static */ public static function validate($credentials = []) { @@ -2499,9 +2520,9 @@ public static function validate($credentials = []) * * @param string $field * @param array $extraConditions - * @return \Symfony\Component\HttpFoundation\Response|null + * @return \Symfony\Component\HttpFoundation\Response|null * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException - * @static + * @static */ public static function basic($field = 'email', $extraConditions = []) { @@ -2514,9 +2535,9 @@ public static function basic($field = 'email', $extraConditions = []) * * @param string $field * @param array $extraConditions - * @return \Symfony\Component\HttpFoundation\Response|null + * @return \Symfony\Component\HttpFoundation\Response|null * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException - * @static + * @static */ public static function onceBasic($field = 'email', $extraConditions = []) { @@ -2529,8 +2550,8 @@ public static function onceBasic($field = 'email', $extraConditions = []) * * @param array $credentials * @param bool $remember - * @return bool - * @static + * @return bool + * @static */ public static function attempt($credentials = [], $remember = false) { @@ -2544,8 +2565,8 @@ public static function attempt($credentials = [], $remember = false) * @param array $credentials * @param array|callable|null $callbacks * @param bool $remember - * @return bool - * @static + * @return bool + * @static */ public static function attemptWhen($credentials = [], $callbacks = null, $remember = false) { @@ -2558,8 +2579,8 @@ public static function attemptWhen($credentials = [], $callbacks = null, $rememb * * @param mixed $id * @param bool $remember - * @return \App\Models\User|false - * @static + * @return \App\Models\User|false + * @static */ public static function loginUsingId($id, $remember = false) { @@ -2572,8 +2593,8 @@ public static function loginUsingId($id, $remember = false) * * @param \Illuminate\Contracts\Auth\Authenticatable $user * @param bool $remember - * @return void - * @static + * @return void + * @static */ public static function login($user, $remember = false) { @@ -2581,11 +2602,24 @@ public static function login($user, $remember = false) $instance->login($user, $remember); } + /** + * Create a HMAC of the password hash for storage in cookies. + * + * @param string $passwordHash + * @return string + * @static + */ + public static function hashPasswordForCookie($passwordHash) + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->hashPasswordForCookie($passwordHash); + } + /** * Log the user out of the application. * - * @return void - * @static + * @return void + * @static */ public static function logout() { @@ -2595,11 +2629,11 @@ public static function logout() /** * Log the user out of the application on their current device only. - * + * * This method does not cycle the "remember" token. * - * @return void - * @static + * @return void + * @static */ public static function logoutCurrentDevice() { @@ -2609,13 +2643,13 @@ public static function logoutCurrentDevice() /** * Invalidate other sessions for the current user. - * + * * The application must be using the AuthenticateSession middleware. * * @param string $password - * @return \App\Models\User|null + * @return \App\Models\User|null * @throws \Illuminate\Auth\AuthenticationException - * @static + * @static */ public static function logoutOtherDevices($password) { @@ -2627,8 +2661,8 @@ public static function logoutOtherDevices($password) * Register an authentication attempt event listener. * * @param mixed $callback - * @return void - * @static + * @return void + * @static */ public static function attempting($callback) { @@ -2639,8 +2673,8 @@ public static function attempting($callback) /** * Get the last user we attempted to authenticate. * - * @return \App\Models\User - * @static + * @return \App\Models\User + * @static */ public static function getLastAttempted() { @@ -2651,8 +2685,8 @@ public static function getLastAttempted() /** * Get a unique identifier for the auth session value. * - * @return string - * @static + * @return string + * @static */ public static function getName() { @@ -2663,8 +2697,8 @@ public static function getName() /** * Get the name of the cookie used to store the "recaller". * - * @return string - * @static + * @return string + * @static */ public static function getRecallerName() { @@ -2675,8 +2709,8 @@ public static function getRecallerName() /** * Determine if the user was authenticated via "remember me" cookie. * - * @return bool - * @static + * @return bool + * @static */ public static function viaRemember() { @@ -2688,8 +2722,8 @@ public static function viaRemember() * Set the number of minutes the remember me cookie should be valid for. * * @param int $minutes - * @return \Illuminate\Auth\SessionGuard - * @static + * @return \Illuminate\Auth\SessionGuard + * @static */ public static function setRememberDuration($minutes) { @@ -2700,9 +2734,9 @@ public static function setRememberDuration($minutes) /** * Get the cookie creator instance used by the guard. * - * @return \Illuminate\Contracts\Cookie\QueueingFactory + * @return \Illuminate\Contracts\Cookie\QueueingFactory * @throws \RuntimeException - * @static + * @static */ public static function getCookieJar() { @@ -2714,8 +2748,8 @@ public static function getCookieJar() * Set the cookie creator instance used by the guard. * * @param \Illuminate\Contracts\Cookie\QueueingFactory $cookie - * @return void - * @static + * @return void + * @static */ public static function setCookieJar($cookie) { @@ -2726,8 +2760,8 @@ public static function setCookieJar($cookie) /** * Get the event dispatcher instance. * - * @return \Illuminate\Contracts\Events\Dispatcher - * @static + * @return \Illuminate\Contracts\Events\Dispatcher + * @static */ public static function getDispatcher() { @@ -2739,8 +2773,8 @@ public static function getDispatcher() * Set the event dispatcher instance. * * @param \Illuminate\Contracts\Events\Dispatcher $events - * @return void - * @static + * @return void + * @static */ public static function setDispatcher($events) { @@ -2751,8 +2785,8 @@ public static function setDispatcher($events) /** * Get the session store used by the guard. * - * @return \Illuminate\Contracts\Session\Session - * @static + * @return \Illuminate\Contracts\Session\Session + * @static */ public static function getSession() { @@ -2763,8 +2797,8 @@ public static function getSession() /** * Return the currently cached user. * - * @return \App\Models\User|null - * @static + * @return \App\Models\User|null + * @static */ public static function getUser() { @@ -2776,8 +2810,8 @@ public static function getUser() * Set the current user. * * @param \Illuminate\Contracts\Auth\Authenticatable $user - * @return \Illuminate\Auth\SessionGuard - * @static + * @return \Illuminate\Auth\SessionGuard + * @static */ public static function setUser($user) { @@ -2788,8 +2822,8 @@ public static function setUser($user) /** * Get the current request instance. * - * @return \Symfony\Component\HttpFoundation\Request - * @static + * @return \Symfony\Component\HttpFoundation\Request + * @static */ public static function getRequest() { @@ -2801,8 +2835,8 @@ public static function getRequest() * Set the current request instance. * * @param \Symfony\Component\HttpFoundation\Request $request - * @return \Illuminate\Auth\SessionGuard - * @static + * @return \Illuminate\Auth\SessionGuard + * @static */ public static function setRequest($request) { @@ -2813,8 +2847,8 @@ public static function setRequest($request) /** * Get the timebox instance used by the guard. * - * @return \Illuminate\Support\Timebox - * @static + * @return \Illuminate\Support\Timebox + * @static */ public static function getTimebox() { @@ -2825,9 +2859,9 @@ public static function getTimebox() /** * Determine if the current user is authenticated. If not, throw an exception. * - * @return \App\Models\User + * @return \App\Models\User * @throws \Illuminate\Auth\AuthenticationException - * @static + * @static */ public static function authenticate() { @@ -2838,8 +2872,8 @@ public static function authenticate() /** * Determine if the guard has a user instance. * - * @return bool - * @static + * @return bool + * @static */ public static function hasUser() { @@ -2850,8 +2884,8 @@ public static function hasUser() /** * Determine if the current user is authenticated. * - * @return bool - * @static + * @return bool + * @static */ public static function check() { @@ -2862,8 +2896,8 @@ public static function check() /** * Determine if the current user is a guest. * - * @return bool - * @static + * @return bool + * @static */ public static function guest() { @@ -2874,8 +2908,8 @@ public static function guest() /** * Forget the current user. * - * @return \Illuminate\Auth\SessionGuard - * @static + * @return \Illuminate\Auth\SessionGuard + * @static */ public static function forgetUser() { @@ -2886,8 +2920,8 @@ public static function forgetUser() /** * Get the user provider used by the guard. * - * @return \Illuminate\Contracts\Auth\UserProvider - * @static + * @return \Illuminate\Contracts\Auth\UserProvider + * @static */ public static function getProvider() { @@ -2899,8 +2933,8 @@ public static function getProvider() * Set the user provider used by the guard. * * @param \Illuminate\Contracts\Auth\UserProvider $provider - * @return void - * @static + * @return void + * @static */ public static function setProvider($provider) { @@ -2914,8 +2948,8 @@ public static function setProvider($provider) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -2927,9 +2961,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -2940,8 +2974,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -2951,8 +2985,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -2961,8 +2995,6 @@ public static function flushMacros() } /** - * - * * @see \Illuminate\View\Compilers\BladeCompiler */ class Blade { @@ -2970,8 +3002,8 @@ class Blade { * Compile the view at the given path. * * @param string|null $path - * @return void - * @static + * @return void + * @static */ public static function compile($path = null) { @@ -2982,8 +3014,8 @@ public static function compile($path = null) /** * Get the path currently being compiled. * - * @return string - * @static + * @return string + * @static */ public static function getPath() { @@ -2995,8 +3027,8 @@ public static function getPath() * Set the path currently being compiled. * * @param string $path - * @return void - * @static + * @return void + * @static */ public static function setPath($path) { @@ -3008,8 +3040,8 @@ public static function setPath($path) * Compile the given Blade template contents. * * @param string $value - * @return string - * @static + * @return string + * @static */ public static function compileString($value) { @@ -3023,8 +3055,8 @@ public static function compileString($value) * @param string $string * @param array $data * @param bool $deleteCachedView - * @return string - * @static + * @return string + * @static */ public static function render($string, $data = [], $deleteCachedView = false) { @@ -3035,8 +3067,8 @@ public static function render($string, $data = [], $deleteCachedView = false) * Render a component instance to HTML. * * @param \Illuminate\View\Component $component - * @return string - * @static + * @return string + * @static */ public static function renderComponent($component) { @@ -3047,8 +3079,8 @@ public static function renderComponent($component) * Strip the parentheses from the given expression. * * @param string $expression - * @return string - * @static + * @return string + * @static */ public static function stripParentheses($expression) { @@ -3060,8 +3092,8 @@ public static function stripParentheses($expression) * Register a custom Blade compiler. * * @param callable $compiler - * @return void - * @static + * @return void + * @static */ public static function extend($compiler) { @@ -3072,8 +3104,8 @@ public static function extend($compiler) /** * Get the extensions used by the compiler. * - * @return array - * @static + * @return array + * @static */ public static function getExtensions() { @@ -3086,8 +3118,8 @@ public static function getExtensions() * * @param string $name * @param callable $callback - * @return void - * @static + * @return void + * @static */ public static function if($name, $callback) { @@ -3100,8 +3132,8 @@ public static function if($name, $callback) * * @param string $name * @param mixed $parameters - * @return bool - * @static + * @return bool + * @static */ public static function check($name, ...$parameters) { @@ -3115,8 +3147,8 @@ public static function check($name, ...$parameters) * @param string $class * @param string|null $alias * @param string $prefix - * @return void - * @static + * @return void + * @static */ public static function component($class, $alias = null, $prefix = '') { @@ -3129,8 +3161,8 @@ public static function component($class, $alias = null, $prefix = '') * * @param array $components * @param string $prefix - * @return void - * @static + * @return void + * @static */ public static function components($components, $prefix = '') { @@ -3141,8 +3173,8 @@ public static function components($components, $prefix = '') /** * Get the registered class component aliases. * - * @return array - * @static + * @return array + * @static */ public static function getClassComponentAliases() { @@ -3155,8 +3187,8 @@ public static function getClassComponentAliases() * * @param string $path * @param string|null $prefix - * @return void - * @static + * @return void + * @static */ public static function anonymousComponentPath($path, $prefix = null) { @@ -3169,8 +3201,8 @@ public static function anonymousComponentPath($path, $prefix = null) * * @param string $directory * @param string|null $prefix - * @return void - * @static + * @return void + * @static */ public static function anonymousComponentNamespace($directory, $prefix = null) { @@ -3183,8 +3215,8 @@ public static function anonymousComponentNamespace($directory, $prefix = null) * * @param string $namespace * @param string $prefix - * @return void - * @static + * @return void + * @static */ public static function componentNamespace($namespace, $prefix) { @@ -3195,8 +3227,8 @@ public static function componentNamespace($namespace, $prefix) /** * Get the registered anonymous component paths. * - * @return array - * @static + * @return array + * @static */ public static function getAnonymousComponentPaths() { @@ -3207,8 +3239,8 @@ public static function getAnonymousComponentPaths() /** * Get the registered anonymous component namespaces. * - * @return array - * @static + * @return array + * @static */ public static function getAnonymousComponentNamespaces() { @@ -3219,8 +3251,8 @@ public static function getAnonymousComponentNamespaces() /** * Get the registered class component namespaces. * - * @return array - * @static + * @return array + * @static */ public static function getClassComponentNamespaces() { @@ -3233,8 +3265,8 @@ public static function getClassComponentNamespaces() * * @param string $path * @param string|null $alias - * @return void - * @static + * @return void + * @static */ public static function aliasComponent($path, $alias = null) { @@ -3247,8 +3279,8 @@ public static function aliasComponent($path, $alias = null) * * @param string $path * @param string|null $alias - * @return void - * @static + * @return void + * @static */ public static function include($path, $alias = null) { @@ -3261,8 +3293,8 @@ public static function include($path, $alias = null) * * @param string $path * @param string|null $alias - * @return void - * @static + * @return void + * @static */ public static function aliasInclude($path, $alias = null) { @@ -3275,9 +3307,9 @@ public static function aliasInclude($path, $alias = null) * * @param string $name * @param callable $handler - * @return void + * @return void * @throws \InvalidArgumentException - * @static + * @static */ public static function bindDirective($name, $handler) { @@ -3289,11 +3321,11 @@ public static function bindDirective($name, $handler) * Register a handler for custom directives. * * @param string $name - * @param callable $handler + * @param ($bind is true ? \Closure : callable) $handler * @param bool $bind - * @return void + * @return void * @throws \InvalidArgumentException - * @static + * @static */ public static function directive($name, $handler, $bind = false) { @@ -3304,8 +3336,8 @@ public static function directive($name, $handler, $bind = false) /** * Get the list of custom directives. * - * @return array - * @static + * @return array + * @static */ public static function getCustomDirectives() { @@ -3317,8 +3349,8 @@ public static function getCustomDirectives() * Indicate that the following callable should be used to prepare strings for compilation. * * @param callable $callback - * @return \Illuminate\View\Compilers\BladeCompiler - * @static + * @return \Illuminate\View\Compilers\BladeCompiler + * @static */ public static function prepareStringsForCompilationUsing($callback) { @@ -3330,8 +3362,8 @@ public static function prepareStringsForCompilationUsing($callback) * Register a new precompiler. * * @param callable $precompiler - * @return void - * @static + * @return void + * @static */ public static function precompiler($precompiler) { @@ -3344,8 +3376,8 @@ public static function precompiler($precompiler) * * @param string $format * @param callable $callback - * @return string - * @static + * @return string + * @static */ public static function usingEchoFormat($format, $callback) { @@ -3357,8 +3389,8 @@ public static function usingEchoFormat($format, $callback) * Set the echo format to be used by the compiler. * * @param string $format - * @return void - * @static + * @return void + * @static */ public static function setEchoFormat($format) { @@ -3369,8 +3401,8 @@ public static function setEchoFormat($format) /** * Set the "echo" format to double encode entities. * - * @return void - * @static + * @return void + * @static */ public static function withDoubleEncoding() { @@ -3381,8 +3413,8 @@ public static function withDoubleEncoding() /** * Set the "echo" format to not double encode entities. * - * @return void - * @static + * @return void + * @static */ public static function withoutDoubleEncoding() { @@ -3393,8 +3425,8 @@ public static function withoutDoubleEncoding() /** * Indicate that component tags should not be compiled. * - * @return void - * @static + * @return void + * @static */ public static function withoutComponentTags() { @@ -3406,8 +3438,8 @@ public static function withoutComponentTags() * Get the path to the compiled version of a view. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function getCompiledPath($path) { @@ -3420,9 +3452,9 @@ public static function getCompiledPath($path) * Determine if the view at the given path is expired. * * @param string $path - * @return bool + * @return bool * @throws \ErrorException - * @static + * @static */ public static function isExpired($path) { @@ -3435,8 +3467,8 @@ public static function isExpired($path) * Get a new component hash for a component name. * * @param string $component - * @return string - * @static + * @return string + * @static */ public static function newComponentHash($component) { @@ -3450,8 +3482,8 @@ public static function newComponentHash($component) * @param string $alias * @param string $data * @param string $hash - * @return string - * @static + * @return string + * @static */ public static function compileClassComponentOpening($component, $alias, $data, $hash) { @@ -3461,8 +3493,8 @@ public static function compileClassComponentOpening($component, $alias, $data, $ /** * Compile the end-component statements into valid PHP. * - * @return string - * @static + * @return string + * @static */ public static function compileEndComponentClass() { @@ -3474,8 +3506,8 @@ public static function compileEndComponentClass() * Sanitize the given component attribute value. * * @param mixed $value - * @return mixed - * @static + * @return mixed + * @static */ public static function sanitizeComponentAttribute($value) { @@ -3485,8 +3517,8 @@ public static function sanitizeComponentAttribute($value) /** * Compile an end-once block into valid PHP. * - * @return string - * @static + * @return string + * @static */ public static function compileEndOnce() { @@ -3499,8 +3531,8 @@ public static function compileEndOnce() * * @param string|callable $class * @param callable|null $handler - * @return void - * @static + * @return void + * @static */ public static function stringable($class, $handler = null) { @@ -3512,8 +3544,8 @@ public static function stringable($class, $handler = null) * Compile Blade echos into valid PHP. * * @param string $value - * @return string - * @static + * @return string + * @static */ public static function compileEchos($value) { @@ -3525,8 +3557,8 @@ public static function compileEchos($value) * Apply the echo handler for the value if it exists. * * @param string $value - * @return string - * @static + * @return string + * @static */ public static function applyEchoHandler($value) { @@ -3536,8 +3568,6 @@ public static function applyEchoHandler($value) } /** - * - * * @method static mixed auth(\Illuminate\Http\Request $request) * @method static mixed validAuthenticationResponse(\Illuminate\Http\Request $request, mixed $result) * @method static void broadcast(array $channels, string $event, array $payload = []) @@ -3553,8 +3583,8 @@ class Broadcast { * Register the routes for handling broadcast channel authentication and sockets. * * @param array|null $attributes - * @return void - * @static + * @return void + * @static */ public static function routes($attributes = null) { @@ -3566,8 +3596,8 @@ public static function routes($attributes = null) * Register the routes for handling broadcast user authentication. * * @param array|null $attributes - * @return void - * @static + * @return void + * @static */ public static function userRoutes($attributes = null) { @@ -3577,12 +3607,12 @@ public static function userRoutes($attributes = null) /** * Register the routes for handling broadcast authentication and sockets. - * + * * Alias of "routes" method. * * @param array|null $attributes - * @return void - * @static + * @return void + * @static */ public static function channelRoutes($attributes = null) { @@ -3594,8 +3624,8 @@ public static function channelRoutes($attributes = null) * Get the socket ID for the given request. * * @param \Illuminate\Http\Request|null $request - * @return string|null - * @static + * @return string|null + * @static */ public static function socket($request = null) { @@ -3606,7 +3636,7 @@ public static function socket($request = null) /** * Begin sending an anonymous broadcast to the given channels. * - * @static + * @static */ public static function on($channels) { @@ -3617,7 +3647,7 @@ public static function on($channels) /** * Begin sending an anonymous broadcast to the given private channels. * - * @static + * @static */ public static function private($channel) { @@ -3628,7 +3658,7 @@ public static function private($channel) /** * Begin sending an anonymous broadcast to the given presence channels. * - * @static + * @static */ public static function presence($channel) { @@ -3639,9 +3669,9 @@ public static function presence($channel) /** * Begin broadcasting an event. * - * @param mixed|null $event - * @return \Illuminate\Broadcasting\PendingBroadcast - * @static + * @param mixed $event + * @return \Illuminate\Broadcasting\PendingBroadcast + * @static */ public static function event($event = null) { @@ -3653,8 +3683,8 @@ public static function event($event = null) * Queue the given event for broadcast. * * @param mixed $event - * @return void - * @static + * @return void + * @static */ public static function queue($event) { @@ -3666,8 +3696,8 @@ public static function queue($event) * Get a driver instance. * * @param string|null $driver - * @return mixed - * @static + * @return mixed + * @static */ public static function connection($driver = null) { @@ -3679,8 +3709,8 @@ public static function connection($driver = null) * Get a driver instance. * * @param string|null $name - * @return mixed - * @static + * @return mixed + * @static */ public static function driver($name = null) { @@ -3692,8 +3722,8 @@ public static function driver($name = null) * Get a Pusher instance for the given configuration. * * @param array $config - * @return \Pusher\Pusher - * @static + * @return \Pusher\Pusher + * @static */ public static function pusher($config) { @@ -3705,8 +3735,8 @@ public static function pusher($config) * Get an Ably instance for the given configuration. * * @param array $config - * @return \Ably\AblyRest - * @static + * @return \Ably\AblyRest + * @static */ public static function ably($config) { @@ -3717,8 +3747,8 @@ public static function ably($config) /** * Get the default driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -3730,8 +3760,8 @@ public static function getDefaultDriver() * Set the default driver name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -3740,11 +3770,11 @@ public static function setDefaultDriver($name) } /** - * Disconnect the given disk and remove from local cache. + * Disconnect the given driver / connection and remove it from local cache. * * @param string|null $name - * @return void - * @static + * @return void + * @static */ public static function purge($name = null) { @@ -3757,8 +3787,8 @@ public static function purge($name = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Broadcasting\BroadcastManager - * @static + * @return \Illuminate\Broadcasting\BroadcastManager + * @static */ public static function extend($driver, $callback) { @@ -3769,8 +3799,8 @@ public static function extend($driver, $callback) /** * Get the application instance used by the manager. * - * @return \Illuminate\Contracts\Foundation\Application - * @static + * @return \Illuminate\Contracts\Foundation\Application + * @static */ public static function getApplication() { @@ -3782,8 +3812,8 @@ public static function getApplication() * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Broadcasting\BroadcastManager - * @static + * @return \Illuminate\Broadcasting\BroadcastManager + * @static */ public static function setApplication($app) { @@ -3794,8 +3824,8 @@ public static function setApplication($app) /** * Forget all of the resolved driver instances. * - * @return \Illuminate\Broadcasting\BroadcastManager - * @static + * @return \Illuminate\Broadcasting\BroadcastManager + * @static */ public static function forgetDrivers() { @@ -3805,8 +3835,6 @@ public static function forgetDrivers() } /** - * - * * @see \Illuminate\Bus\Dispatcher * @see \Illuminate\Support\Testing\Fakes\BusFake */ @@ -3815,8 +3843,8 @@ class Bus { * Dispatch a command to its appropriate handler. * * @param mixed $command - * @return mixed - * @static + * @return mixed + * @static */ public static function dispatch($command) { @@ -3826,13 +3854,13 @@ public static function dispatch($command) /** * Dispatch a command to its appropriate handler in the current process. - * + * * Queueable jobs will be dispatched to the "sync" queue. * * @param mixed $command * @param mixed $handler - * @return mixed - * @static + * @return mixed + * @static */ public static function dispatchSync($command, $handler = null) { @@ -3845,8 +3873,8 @@ public static function dispatchSync($command, $handler = null) * * @param mixed $command * @param mixed $handler - * @return mixed - * @static + * @return mixed + * @static */ public static function dispatchNow($command, $handler = null) { @@ -3857,9 +3885,8 @@ public static function dispatchNow($command, $handler = null) /** * Attempt to find the batch with the given ID. * - * @param string $batchId - * @return \Illuminate\Bus\Batch|null - * @static + * @return \Illuminate\Bus\Batch|null + * @static */ public static function findBatch($batchId) { @@ -3870,9 +3897,9 @@ public static function findBatch($batchId) /** * Create a new batch of queueable jobs. * - * @param \Illuminate\Support\Collection|array|mixed $jobs - * @return \Illuminate\Bus\PendingBatch - * @static + * @param \Illuminate\Support\Collection|mixed $jobs + * @return \Illuminate\Bus\PendingBatch + * @static */ public static function batch($jobs) { @@ -3883,11 +3910,11 @@ public static function batch($jobs) /** * Create a new chain of queueable jobs. * - * @param \Illuminate\Support\Collection|array $jobs - * @return \Illuminate\Foundation\Bus\PendingChain - * @static + * @param \Illuminate\Support\Collection|array|null $jobs + * @return \Illuminate\Foundation\Bus\PendingChain + * @static */ - public static function chain($jobs) + public static function chain($jobs = null) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->chain($jobs); @@ -3897,8 +3924,8 @@ public static function chain($jobs) * Determine if the given command has a handler. * * @param mixed $command - * @return bool - * @static + * @return bool + * @static */ public static function hasCommandHandler($command) { @@ -3910,8 +3937,8 @@ public static function hasCommandHandler($command) * Retrieve the handler for a command. * * @param mixed $command - * @return bool|mixed - * @static + * @return mixed + * @static */ public static function getCommandHandler($command) { @@ -3923,9 +3950,9 @@ public static function getCommandHandler($command) * Dispatch a command to its appropriate handler behind a queue. * * @param mixed $command - * @return mixed + * @return mixed * @throws \RuntimeException - * @static + * @static */ public static function dispatchToQueue($command) { @@ -3938,8 +3965,8 @@ public static function dispatchToQueue($command) * * @param mixed $command * @param mixed $handler - * @return void - * @static + * @return void + * @static */ public static function dispatchAfterResponse($command, $handler = null) { @@ -3950,9 +3977,8 @@ public static function dispatchAfterResponse($command, $handler = null) /** * Set the pipes through which commands should be piped before dispatching. * - * @param array $pipes - * @return \Illuminate\Bus\Dispatcher - * @static + * @return \Illuminate\Bus\Dispatcher + * @static */ public static function pipeThrough($pipes) { @@ -3963,9 +3989,8 @@ public static function pipeThrough($pipes) /** * Map a command to a handler. * - * @param array $map - * @return \Illuminate\Bus\Dispatcher - * @static + * @return \Illuminate\Bus\Dispatcher + * @static */ public static function map($map) { @@ -3973,12 +3998,36 @@ public static function map($map) return $instance->map($map); } + /** + * Allow dispatching after responses. + * + * @return \Illuminate\Bus\Dispatcher + * @static + */ + public static function withDispatchingAfterResponses() + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->withDispatchingAfterResponses(); + } + + /** + * Disable dispatching after responses. + * + * @return \Illuminate\Bus\Dispatcher + * @static + */ + public static function withoutDispatchingAfterResponses() + { + /** @var \Illuminate\Bus\Dispatcher $instance */ + return $instance->withoutDispatchingAfterResponses(); + } + /** * Specify the jobs that should be dispatched instead of faked. * * @param array|string $jobsToDispatch - * @return \Illuminate\Support\Testing\Fakes\BusFake - * @static + * @return \Illuminate\Support\Testing\Fakes\BusFake + * @static */ public static function except($jobsToDispatch) { @@ -3991,8 +4040,8 @@ public static function except($jobsToDispatch) * * @param string|\Closure $command * @param callable|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertDispatched($command, $callback = null) { @@ -4000,13 +4049,26 @@ public static function assertDispatched($command, $callback = null) $instance->assertDispatched($command, $callback); } + /** + * Assert if a job was pushed exactly once. + * + * @param string|\Closure $command + * @return void + * @static + */ + public static function assertDispatchedOnce($command) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + $instance->assertDispatchedOnce($command); + } + /** * Assert if a job was pushed a number of times. * * @param string|\Closure $command * @param int $times - * @return void - * @static + * @return void + * @static */ public static function assertDispatchedTimes($command, $times = 1) { @@ -4019,8 +4081,8 @@ public static function assertDispatchedTimes($command, $times = 1) * * @param string|\Closure $command * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotDispatched($command, $callback = null) { @@ -4031,8 +4093,8 @@ public static function assertNotDispatched($command, $callback = null) /** * Assert that no jobs were dispatched. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingDispatched() { @@ -4045,8 +4107,8 @@ public static function assertNothingDispatched() * * @param string|\Closure $command * @param callable|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertDispatchedSync($command, $callback = null) { @@ -4059,8 +4121,8 @@ public static function assertDispatchedSync($command, $callback = null) * * @param string|\Closure $command * @param int $times - * @return void - * @static + * @return void + * @static */ public static function assertDispatchedSyncTimes($command, $times = 1) { @@ -4073,8 +4135,8 @@ public static function assertDispatchedSyncTimes($command, $times = 1) * * @param string|\Closure $command * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotDispatchedSync($command, $callback = null) { @@ -4087,8 +4149,8 @@ public static function assertNotDispatchedSync($command, $callback = null) * * @param string|\Closure $command * @param callable|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertDispatchedAfterResponse($command, $callback = null) { @@ -4101,8 +4163,8 @@ public static function assertDispatchedAfterResponse($command, $callback = null) * * @param string|\Closure $command * @param int $times - * @return void - * @static + * @return void + * @static */ public static function assertDispatchedAfterResponseTimes($command, $times = 1) { @@ -4115,8 +4177,8 @@ public static function assertDispatchedAfterResponseTimes($command, $times = 1) * * @param string|\Closure $command * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotDispatchedAfterResponse($command, $callback = null) { @@ -4128,8 +4190,8 @@ public static function assertNotDispatchedAfterResponse($command, $callback = nu * Assert if a chain of jobs was dispatched. * * @param array $expectedChain - * @return void - * @static + * @return void + * @static */ public static function assertChained($expectedChain) { @@ -4140,8 +4202,8 @@ public static function assertChained($expectedChain) /** * Assert no chained jobs was dispatched. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingChained() { @@ -4154,8 +4216,8 @@ public static function assertNothingChained() * * @param string|\Closure $command * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertDispatchedWithoutChain($command, $callback = null) { @@ -4166,9 +4228,9 @@ public static function assertDispatchedWithoutChain($command, $callback = null) /** * Create a new assertion about a chained batch. * - * @param \Closure $callback - * @return \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest - * @static + * @param \Closure(\Illuminate\Bus\PendingBatch): bool $callback + * @return \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest + * @static */ public static function chainedBatch($callback) { @@ -4179,9 +4241,9 @@ public static function chainedBatch($callback) /** * Assert if a batch was dispatched based on a truth-test callback. * - * @param callable $callback - * @return void - * @static + * @param array|callable(\Illuminate\Bus\PendingBatch): bool $callback + * @return void + * @static */ public static function assertBatched($callback) { @@ -4193,8 +4255,8 @@ public static function assertBatched($callback) * Assert the number of batches that have been dispatched. * * @param int $count - * @return void - * @static + * @return void + * @static */ public static function assertBatchCount($count) { @@ -4205,8 +4267,8 @@ public static function assertBatchCount($count) /** * Assert that no batched jobs were dispatched. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingBatched() { @@ -4217,8 +4279,8 @@ public static function assertNothingBatched() /** * Assert that no jobs were dispatched, chained, or batched. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingPlaced() { @@ -4231,8 +4293,8 @@ public static function assertNothingPlaced() * * @param string $command * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function dispatched($command, $callback = null) { @@ -4245,8 +4307,8 @@ public static function dispatched($command, $callback = null) * * @param string $command * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function dispatchedSync($command, $callback = null) { @@ -4259,8 +4321,8 @@ public static function dispatchedSync($command, $callback = null) * * @param string $command * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function dispatchedAfterResponse($command, $callback = null) { @@ -4271,9 +4333,9 @@ public static function dispatchedAfterResponse($command, $callback = null) /** * Get all of the pending batches matching a truth-test callback. * - * @param callable $callback - * @return \Illuminate\Support\Collection - * @static + * @param callable(\Illuminate\Bus\PendingBatch): bool $callback + * @return \Illuminate\Support\Collection + * @static */ public static function batched($callback) { @@ -4285,8 +4347,8 @@ public static function batched($callback) * Determine if there are any stored commands for a given class. * * @param string $command - * @return bool - * @static + * @return bool + * @static */ public static function hasDispatched($command) { @@ -4298,8 +4360,8 @@ public static function hasDispatched($command) * Determine if there are any stored commands for a given class. * * @param string $command - * @return bool - * @static + * @return bool + * @static */ public static function hasDispatchedSync($command) { @@ -4311,8 +4373,8 @@ public static function hasDispatchedSync($command) * Determine if there are any stored commands for a given class. * * @param string $command - * @return bool - * @static + * @return bool + * @static */ public static function hasDispatchedAfterResponse($command) { @@ -4324,8 +4386,8 @@ public static function hasDispatchedAfterResponse($command) * Dispatch an empty job batch for testing. * * @param string $name - * @return \Illuminate\Bus\Batch - * @static + * @return \Illuminate\Bus\Batch + * @static */ public static function dispatchFakeBatch($name = '') { @@ -4337,8 +4399,8 @@ public static function dispatchFakeBatch($name = '') * Record the fake pending batch dispatch. * * @param \Illuminate\Bus\PendingBatch $pendingBatch - * @return \Illuminate\Bus\Batch - * @static + * @return \Illuminate\Bus\Batch + * @static */ public static function recordPendingBatch($pendingBatch) { @@ -4350,8 +4412,8 @@ public static function recordPendingBatch($pendingBatch) * Specify if commands should be serialized and restored when being batched. * * @param bool $serializeAndRestore - * @return \Illuminate\Support\Testing\Fakes\BusFake - * @static + * @return \Illuminate\Support\Testing\Fakes\BusFake + * @static */ public static function serializeAndRestore($serializeAndRestore = true) { @@ -4362,8 +4424,8 @@ public static function serializeAndRestore($serializeAndRestore = true) /** * Get the batches that have been dispatched. * - * @return array - * @static + * @return array + * @static */ public static function dispatchedBatches() { @@ -4373,8 +4435,6 @@ public static function dispatchedBatches() } /** - * - * * @see \Illuminate\Cache\CacheManager * @see \Illuminate\Cache\Repository */ @@ -4383,8 +4443,8 @@ class Cache { * Get a cache store instance by name, wrapped in a repository. * * @param string|null $name - * @return \Illuminate\Contracts\Cache\Repository - * @static + * @return \Illuminate\Contracts\Cache\Repository + * @static */ public static function store($name = null) { @@ -4396,8 +4456,8 @@ public static function store($name = null) * Get a cache driver instance. * * @param string|null $driver - * @return \Illuminate\Contracts\Cache\Repository - * @static + * @return \Illuminate\Contracts\Cache\Repository + * @static */ public static function driver($driver = null) { @@ -4405,13 +4465,26 @@ public static function driver($driver = null) return $instance->driver($driver); } + /** + * Get a memoized cache driver instance. + * + * @param string|null $driver + * @return \Illuminate\Contracts\Cache\Repository + * @static + */ + public static function memo($driver = null) + { + /** @var \Illuminate\Cache\CacheManager $instance */ + return $instance->memo($driver); + } + /** * Resolve the given store. * * @param string $name - * @return \Illuminate\Contracts\Cache\Repository + * @return \Illuminate\Contracts\Cache\Repository * @throws \InvalidArgumentException - * @static + * @static */ public static function resolve($name) { @@ -4423,8 +4496,9 @@ public static function resolve($name) * Build a cache repository with the given configuration. * * @param array $config - * @return \Illuminate\Cache\Repository - * @static + * @return \Illuminate\Cache\Repository + * @throws \InvalidArgumentException + * @static */ public static function build($config) { @@ -4437,8 +4511,8 @@ public static function build($config) * * @param \Illuminate\Contracts\Cache\Store $store * @param array $config - * @return \Illuminate\Cache\Repository - * @static + * @return \Illuminate\Cache\Repository + * @static */ public static function repository($store, $config = []) { @@ -4449,8 +4523,8 @@ public static function repository($store, $config = []) /** * Re-set the event dispatcher on all resolved cache repositories. * - * @return void - * @static + * @return void + * @static */ public static function refreshEventDispatcher() { @@ -4461,8 +4535,8 @@ public static function refreshEventDispatcher() /** * Get the default cache driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -4474,8 +4548,8 @@ public static function getDefaultDriver() * Set the default cache driver name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -4487,8 +4561,8 @@ public static function setDefaultDriver($name) * Unset the given driver instances. * * @param array|string|null $name - * @return \Illuminate\Cache\CacheManager - * @static + * @return \Illuminate\Cache\CacheManager + * @static */ public static function forgetDriver($name = null) { @@ -4500,8 +4574,8 @@ public static function forgetDriver($name = null) * Disconnect the given driver and remove from local cache. * * @param string|null $name - * @return void - * @static + * @return void + * @static */ public static function purge($name = null) { @@ -4514,8 +4588,9 @@ public static function purge($name = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Cache\CacheManager - * @static + * @param-closure-this $this $callback + * @return \Illuminate\Cache\CacheManager + * @static */ public static function extend($driver, $callback) { @@ -4527,8 +4602,8 @@ public static function extend($driver, $callback) * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Cache\CacheManager - * @static + * @return \Illuminate\Cache\CacheManager + * @static */ public static function setApplication($app) { @@ -4539,9 +4614,9 @@ public static function setApplication($app) /** * Determine if an item exists in the cache. * - * @param array|string $key - * @return bool - * @static + * @param \UnitEnum|array|string $key + * @return bool + * @static */ public static function has($key) { @@ -4552,9 +4627,9 @@ public static function has($key) /** * Determine if an item doesn't exist in the cache. * - * @param string $key - * @return bool - * @static + * @param \UnitEnum|string $key + * @return bool + * @static */ public static function missing($key) { @@ -4565,10 +4640,10 @@ public static function missing($key) /** * Retrieve an item from the cache by key. * - * @param array|string $key + * @param \UnitEnum|array|string $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function get($key, $default = null) { @@ -4578,12 +4653,12 @@ public static function get($key, $default = null) /** * Retrieve multiple items from the cache by key. - * + * * Items not found in the cache will have a null value. * * @param array $keys - * @return array - * @static + * @return array + * @static */ public static function many($keys) { @@ -4594,14 +4669,14 @@ public static function many($keys) /** * Obtains multiple cache items by their unique keys. * - * @return iterable + * @return iterable * @param iterable $keys A list of keys that can be obtained in a single operation. * @param mixed $default Default value to return for keys that do not exist. * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value. * @throws \Psr\SimpleCache\InvalidArgumentException * MUST be thrown if $keys is neither an array nor a Traversable, * or if any of the $keys are not a legal value. - * @static + * @static */ public static function getMultiple($keys, $default = null) { @@ -4612,10 +4687,10 @@ public static function getMultiple($keys, $default = null) /** * Retrieve an item from the cache and delete it. * - * @param array|string $key + * @param \UnitEnum|array|string $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function pull($key, $default = null) { @@ -4623,14 +4698,89 @@ public static function pull($key, $default = null) return $instance->pull($key, $default); } + /** + * Retrieve a string item from the cache. + * + * @param \UnitEnum|string $key + * @param (\Closure():(string|null))|string|null $default + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function string($key, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->string($key, $default); + } + + /** + * Retrieve an integer item from the cache. + * + * @param \UnitEnum|string $key + * @param (\Closure():(int|null))|int|null $default + * @return int + * @throws \InvalidArgumentException + * @static + */ + public static function integer($key, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->integer($key, $default); + } + + /** + * Retrieve a float item from the cache. + * + * @param \UnitEnum|string $key + * @param (\Closure():(float|null))|float|null $default + * @return float + * @throws \InvalidArgumentException + * @static + */ + public static function float($key, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->float($key, $default); + } + + /** + * Retrieve a boolean item from the cache. + * + * @param \UnitEnum|string $key + * @param (\Closure():(bool|null))|bool|null $default + * @return bool + * @throws \InvalidArgumentException + * @static + */ + public static function boolean($key, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->boolean($key, $default); + } + + /** + * Retrieve an array item from the cache. + * + * @param \UnitEnum|string $key + * @param (\Closure():(array|null))|array|null $default + * @return array + * @throws \InvalidArgumentException + * @static + */ + public static function array($key, $default = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->array($key, $default); + } + /** * Store an item in the cache. * - * @param array|string $key + * @param \UnitEnum|array|string $key * @param mixed $value * @param \DateTimeInterface|\DateInterval|int|null $ttl - * @return bool - * @static + * @return bool + * @static */ public static function put($key, $value, $ttl = null) { @@ -4639,18 +4789,13 @@ public static function put($key, $value, $ttl = null) } /** - * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. + * Store an item in the cache. * - * @return bool - * @param string $key The key of the item to store. - * @param mixed $value The value of the item to store, must be serializable. - * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and - * the driver supports TTL then the library may set a default value - * for it or let the driver take care of that. - * @return bool True on success and false on failure. - * @throws \Psr\SimpleCache\InvalidArgumentException - * MUST be thrown if the $key string is not a legal value. - * @static + * @param \UnitEnum|array|string $key + * @param mixed $value + * @param \DateTimeInterface|\DateInterval|int|null $ttl + * @return bool + * @static */ public static function set($key, $value, $ttl = null) { @@ -4663,8 +4808,8 @@ public static function set($key, $value, $ttl = null) * * @param array $values * @param \DateTimeInterface|\DateInterval|int|null $ttl - * @return bool - * @static + * @return bool + * @static */ public static function putMany($values, $ttl = null) { @@ -4675,7 +4820,7 @@ public static function putMany($values, $ttl = null) /** * Persists a set of key => value pairs in the cache, with an optional TTL. * - * @return bool + * @return bool * @param iterable $values A list of key => value pairs for a multiple-set operation. * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and * the driver supports TTL then the library may set a default value @@ -4684,7 +4829,7 @@ public static function putMany($values, $ttl = null) * @throws \Psr\SimpleCache\InvalidArgumentException * MUST be thrown if $values is neither an array nor a Traversable, * or if any of the $values are not a legal value. - * @static + * @static */ public static function setMultiple($values, $ttl = null) { @@ -4695,11 +4840,11 @@ public static function setMultiple($values, $ttl = null) /** * Store an item in the cache if the key does not exist. * - * @param string $key + * @param \UnitEnum|array|string $key * @param mixed $value * @param \DateTimeInterface|\DateInterval|int|null $ttl - * @return bool - * @static + * @return bool + * @static */ public static function add($key, $value, $ttl = null) { @@ -4710,10 +4855,10 @@ public static function add($key, $value, $ttl = null) /** * Increment the value of an item in the cache. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $value - * @return int|bool - * @static + * @return int|bool + * @static */ public static function increment($key, $value = 1) { @@ -4724,10 +4869,10 @@ public static function increment($key, $value = 1) /** * Decrement the value of an item in the cache. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $value - * @return int|bool - * @static + * @return int|bool + * @static */ public static function decrement($key, $value = 1) { @@ -4738,10 +4883,10 @@ public static function decrement($key, $value = 1) /** * Store an item in the cache indefinitely. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $value - * @return bool - * @static + * @return bool + * @static */ public static function forever($key, $value) { @@ -4753,11 +4898,11 @@ public static function forever($key, $value) * Get an item from the cache, or execute the given Closure and store the result. * * @template TCacheValue - * @param string $key + * @param \UnitEnum|string $key * @param \Closure|\DateTimeInterface|\DateInterval|int|null $ttl * @param \Closure(): TCacheValue $callback - * @return TCacheValue - * @static + * @return TCacheValue + * @static */ public static function remember($key, $ttl, $callback) { @@ -4769,10 +4914,10 @@ public static function remember($key, $ttl, $callback) * Get an item from the cache, or execute the given Closure and store the result forever. * * @template TCacheValue - * @param string $key + * @param \UnitEnum|string $key * @param \Closure(): TCacheValue $callback - * @return TCacheValue - * @static + * @return TCacheValue + * @static */ public static function sear($key, $callback) { @@ -4784,10 +4929,10 @@ public static function sear($key, $callback) * Get an item from the cache, or execute the given Closure and store the result forever. * * @template TCacheValue - * @param string $key + * @param \UnitEnum|string $key * @param \Closure(): TCacheValue $callback - * @return TCacheValue - * @static + * @return TCacheValue + * @static */ public static function rememberForever($key, $callback) { @@ -4799,25 +4944,58 @@ public static function rememberForever($key, $callback) * Retrieve an item from the cache by key, refreshing it in the background if it is stale. * * @template TCacheValue - * @param string $key + * @param \UnitEnum|string $key * @param array{ 0: \DateTimeInterface|\DateInterval|int, 1: \DateTimeInterface|\DateInterval|int } $ttl * @param (callable(): TCacheValue) $callback * @param array{ seconds?: int, owner?: string }|null $lock - * @return TCacheValue - * @static + * @param bool $alwaysDefer + * @return TCacheValue + * @static + */ + public static function flexible($key, $ttl, $callback, $lock = null, $alwaysDefer = false) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->flexible($key, $ttl, $callback, $lock, $alwaysDefer); + } + + /** + * Execute a callback while holding an atomic lock on a cache mutex to prevent overlapping calls. + * + * @template TReturn + * @param \UnitEnum|string $key + * @param callable(): TReturn $callback + * @param int $lockFor + * @param int $waitFor + * @param string|null $owner + * @return TReturn + * @throws \Illuminate\Contracts\Cache\LockTimeoutException + * @static + */ + public static function withoutOverlapping($key, $callback, $lockFor = 0, $waitFor = 10, $owner = null) + { + /** @var \Illuminate\Cache\Repository $instance */ + return $instance->withoutOverlapping($key, $callback, $lockFor, $waitFor, $owner); + } + + /** + * Funnel a callback for a maximum number of simultaneous executions. + * + * @param \UnitEnum|string $name + * @return \Illuminate\Cache\Limiters\ConcurrencyLimiterBuilder + * @static */ - public static function flexible($key, $ttl, $callback, $lock = null) + public static function funnel($name) { /** @var \Illuminate\Cache\Repository $instance */ - return $instance->flexible($key, $ttl, $callback, $lock); + return $instance->funnel($name); } /** * Remove an item from the cache. * - * @param string $key - * @return bool - * @static + * @param \UnitEnum|array|string $key + * @return bool + * @static */ public static function forget($key) { @@ -4826,14 +5004,11 @@ public static function forget($key) } /** - * Delete an item from the cache by its unique key. + * Remove an item from the cache. * - * @return bool - * @param string $key The unique cache key of the item to delete. - * @return bool True if the item was successfully removed. False if there was an error. - * @throws \Psr\SimpleCache\InvalidArgumentException - * MUST be thrown if the $key string is not a legal value. - * @static + * @param \UnitEnum|array|string $key + * @return bool + * @static */ public static function delete($key) { @@ -4844,13 +5019,13 @@ public static function delete($key) /** * Deletes multiple cache items in a single operation. * - * @return bool + * @return bool * @param iterable $keys A list of string-based keys to be deleted. * @return bool True if the items were successfully removed. False if there was an error. * @throws \Psr\SimpleCache\InvalidArgumentException * MUST be thrown if $keys is neither an array nor a Traversable, * or if any of the $keys are not a legal value. - * @static + * @static */ public static function deleteMultiple($keys) { @@ -4861,9 +5036,9 @@ public static function deleteMultiple($keys) /** * Wipes clean the entire cache's keys. * - * @return bool + * @return bool * @return bool True on success and false on failure. - * @static + * @static */ public static function clear() { @@ -4874,10 +5049,10 @@ public static function clear() /** * Begin executing a new tags operation if the store supports it. * - * @param array|mixed $names - * @return \Illuminate\Cache\TaggedCache + * @param mixed $names + * @return \Illuminate\Cache\TaggedCache * @throws \BadMethodCallException - * @static + * @static */ public static function tags($names) { @@ -4888,8 +5063,8 @@ public static function tags($names) /** * Get the name of the cache store. * - * @return string|null - * @static + * @return string|null + * @static */ public static function getName() { @@ -4900,8 +5075,8 @@ public static function getName() /** * Determine if the current store supports tags. * - * @return bool - * @static + * @return bool + * @static */ public static function supportsTags() { @@ -4912,8 +5087,8 @@ public static function supportsTags() /** * Get the default cache time. * - * @return int|null - * @static + * @return int|null + * @static */ public static function getDefaultCacheTime() { @@ -4925,8 +5100,8 @@ public static function getDefaultCacheTime() * Set the default cache time in seconds. * * @param int|null $seconds - * @return \Illuminate\Cache\Repository - * @static + * @return \Illuminate\Cache\Repository + * @static */ public static function setDefaultCacheTime($seconds) { @@ -4937,8 +5112,8 @@ public static function setDefaultCacheTime($seconds) /** * Get the cache store implementation. * - * @return \Illuminate\Contracts\Cache\Store - * @static + * @return \Illuminate\Contracts\Cache\Store + * @static */ public static function getStore() { @@ -4950,8 +5125,8 @@ public static function getStore() * Set the cache store implementation. * * @param \Illuminate\Contracts\Cache\Store $store - * @return static - * @static + * @return static + * @static */ public static function setStore($store) { @@ -4962,8 +5137,8 @@ public static function setStore($store) /** * Get the event dispatcher instance. * - * @return \Illuminate\Contracts\Events\Dispatcher|null - * @static + * @return \Illuminate\Contracts\Events\Dispatcher|null + * @static */ public static function getEventDispatcher() { @@ -4975,8 +5150,8 @@ public static function getEventDispatcher() * Set the event dispatcher instance. * * @param \Illuminate\Contracts\Events\Dispatcher $events - * @return void - * @static + * @return void + * @static */ public static function setEventDispatcher($events) { @@ -4987,9 +5162,9 @@ public static function setEventDispatcher($events) /** * Determine if a cached value exists. * - * @param string $key - * @return bool - * @static + * @param \UnitEnum|string $key + * @return bool + * @static */ public static function offsetExists($key) { @@ -5000,9 +5175,9 @@ public static function offsetExists($key) /** * Retrieve an item from the cache by key. * - * @param string $key - * @return mixed - * @static + * @param \UnitEnum|string $key + * @return mixed + * @static */ public static function offsetGet($key) { @@ -5013,10 +5188,10 @@ public static function offsetGet($key) /** * Store an item in the cache for the default time. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function offsetSet($key, $value) { @@ -5027,9 +5202,9 @@ public static function offsetSet($key, $value) /** * Remove an item from the cache. * - * @param string $key - * @return void - * @static + * @param \UnitEnum|string $key + * @return void + * @static */ public static function offsetUnset($key) { @@ -5043,8 +5218,8 @@ public static function offsetUnset($key) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -5056,9 +5231,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -5069,8 +5244,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -5080,8 +5255,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -5093,9 +5268,9 @@ public static function flushMacros() * * @param string $method * @param array $parameters - * @return mixed + * @return mixed * @throws \BadMethodCallException - * @static + * @static */ public static function macroCall($method, $parameters) { @@ -5109,8 +5284,8 @@ public static function macroCall($method, $parameters) * @param string $name * @param int $seconds * @param string|null $owner - * @return \Illuminate\Contracts\Cache\Lock - * @static + * @return \Illuminate\Contracts\Cache\Lock + * @static */ public static function lock($name, $seconds = 0, $owner = null) { @@ -5123,8 +5298,8 @@ public static function lock($name, $seconds = 0, $owner = null) * * @param string $name * @param string $owner - * @return \Illuminate\Contracts\Cache\Lock - * @static + * @return \Illuminate\Contracts\Cache\Lock + * @static */ public static function restoreLock($name, $owner) { @@ -5135,8 +5310,8 @@ public static function restoreLock($name, $owner) /** * Remove all items from the cache. * - * @return bool - * @static + * @return bool + * @static */ public static function flush() { @@ -5147,8 +5322,8 @@ public static function flush() /** * Remove all expired tag set entries. * - * @return void - * @static + * @return void + * @static */ public static function flushStaleTags() { @@ -5159,8 +5334,8 @@ public static function flushStaleTags() /** * Get the Redis connection instance. * - * @return \Illuminate\Redis\Connections\Connection - * @static + * @return \Illuminate\Redis\Connections\Connection + * @static */ public static function connection() { @@ -5171,8 +5346,8 @@ public static function connection() /** * Get the Redis connection instance that should be used to manage locks. * - * @return \Illuminate\Redis\Connections\Connection - * @static + * @return \Illuminate\Redis\Connections\Connection + * @static */ public static function lockConnection() { @@ -5184,8 +5359,8 @@ public static function lockConnection() * Specify the name of the connection that should be used to store data. * * @param string $connection - * @return void - * @static + * @return void + * @static */ public static function setConnection($connection) { @@ -5197,8 +5372,8 @@ public static function setConnection($connection) * Specify the name of the connection that should be used to manage locks. * * @param string $connection - * @return \Illuminate\Cache\RedisStore - * @static + * @return \Illuminate\Cache\RedisStore + * @static */ public static function setLockConnection($connection) { @@ -5209,8 +5384,8 @@ public static function setLockConnection($connection) /** * Get the Redis database instance. * - * @return \Illuminate\Contracts\Redis\Factory - * @static + * @return \Illuminate\Contracts\Redis\Factory + * @static */ public static function getRedis() { @@ -5221,8 +5396,8 @@ public static function getRedis() /** * Get the cache key prefix. * - * @return string - * @static + * @return string + * @static */ public static function getPrefix() { @@ -5234,8 +5409,8 @@ public static function getPrefix() * Set the cache key prefix. * * @param string $prefix - * @return void - * @static + * @return void + * @static */ public static function setPrefix($prefix) { @@ -5245,8 +5420,6 @@ public static function setPrefix($prefix) } /** - * - * * @see \Illuminate\Config\Repository */ class Config { @@ -5254,8 +5427,8 @@ class Config { * Determine if the given configuration value exists. * * @param string $key - * @return bool - * @static + * @return bool + * @static */ public static function has($key) { @@ -5268,8 +5441,8 @@ public static function has($key) * * @param array|string $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function get($key, $default = null) { @@ -5281,8 +5454,8 @@ public static function get($key, $default = null) * Get many configuration values. * * @param array $keys - * @return array - * @static + * @return array + * @static */ public static function getMany($keys) { @@ -5295,8 +5468,9 @@ public static function getMany($keys) * * @param string $key * @param (\Closure():(string|null))|string|null $default - * @return string - * @static + * @return string + * @throws \InvalidArgumentException + * @static */ public static function string($key, $default = null) { @@ -5309,8 +5483,9 @@ public static function string($key, $default = null) * * @param string $key * @param (\Closure():(int|null))|int|null $default - * @return int - * @static + * @return int + * @throws \InvalidArgumentException + * @static */ public static function integer($key, $default = null) { @@ -5323,8 +5498,9 @@ public static function integer($key, $default = null) * * @param string $key * @param (\Closure():(float|null))|float|null $default - * @return float - * @static + * @return float + * @throws \InvalidArgumentException + * @static */ public static function float($key, $default = null) { @@ -5337,8 +5513,9 @@ public static function float($key, $default = null) * * @param string $key * @param (\Closure():(bool|null))|bool|null $default - * @return bool - * @static + * @return bool + * @throws \InvalidArgumentException + * @static */ public static function boolean($key, $default = null) { @@ -5351,8 +5528,9 @@ public static function boolean($key, $default = null) * * @param string $key * @param (\Closure():(array|null))|array|null $default - * @return array - * @static + * @return array + * @throws \InvalidArgumentException + * @static */ public static function array($key, $default = null) { @@ -5360,13 +5538,27 @@ public static function array($key, $default = null) return $instance->array($key, $default); } + /** + * Get the specified array configuration value as a collection. + * + * @param string $key + * @param (\Closure():(array|null))|array|null $default + * @return Collection + * @static + */ + public static function collection($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->collection($key, $default); + } + /** * Set a given configuration value. * * @param array|string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function set($key, $value = null) { @@ -5379,8 +5571,8 @@ public static function set($key, $value = null) * * @param string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function prepend($key, $value) { @@ -5393,8 +5585,8 @@ public static function prepend($key, $value) * * @param string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function push($key, $value) { @@ -5405,8 +5597,8 @@ public static function push($key, $value) /** * Get all of the configuration items for the application. * - * @return array - * @static + * @return array + * @static */ public static function all() { @@ -5418,8 +5610,8 @@ public static function all() * Determine if the given configuration option exists. * * @param string $key - * @return bool - * @static + * @return bool + * @static */ public static function offsetExists($key) { @@ -5431,8 +5623,8 @@ public static function offsetExists($key) * Get a configuration option. * * @param string $key - * @return mixed - * @static + * @return mixed + * @static */ public static function offsetGet($key) { @@ -5445,8 +5637,8 @@ public static function offsetGet($key) * * @param string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function offsetSet($key, $value) { @@ -5458,8 +5650,8 @@ public static function offsetSet($key, $value) * Unset a configuration option. * * @param string $key - * @return void - * @static + * @return void + * @static */ public static function offsetUnset($key) { @@ -5473,8 +5665,8 @@ public static function offsetUnset($key) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -5486,9 +5678,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -5499,8 +5691,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -5510,8 +5702,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -5520,8 +5712,6 @@ public static function flushMacros() } /** - * - * * @see \Illuminate\Cookie\CookieJar */ class Cookie { @@ -5537,8 +5727,8 @@ class Cookie { * @param bool $httpOnly * @param bool $raw * @param string|null $sameSite - * @return \Symfony\Component\HttpFoundation\Cookie - * @static + * @return \Symfony\Component\HttpFoundation\Cookie + * @static */ public static function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) { @@ -5557,8 +5747,8 @@ public static function make($name, $value, $minutes = 0, $path = null, $domain = * @param bool $httpOnly * @param bool $raw * @param string|null $sameSite - * @return \Symfony\Component\HttpFoundation\Cookie - * @static + * @return \Symfony\Component\HttpFoundation\Cookie + * @static */ public static function forever($name, $value, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) { @@ -5572,8 +5762,8 @@ public static function forever($name, $value, $path = null, $domain = null, $sec * @param string $name * @param string|null $path * @param string|null $domain - * @return \Symfony\Component\HttpFoundation\Cookie - * @static + * @return \Symfony\Component\HttpFoundation\Cookie + * @static */ public static function forget($name, $path = null, $domain = null) { @@ -5586,8 +5776,8 @@ public static function forget($name, $path = null, $domain = null) * * @param string $key * @param string|null $path - * @return bool - * @static + * @return bool + * @static */ public static function hasQueued($key, $path = null) { @@ -5601,8 +5791,8 @@ public static function hasQueued($key, $path = null) * @param string $key * @param mixed $default * @param string|null $path - * @return \Symfony\Component\HttpFoundation\Cookie|null - * @static + * @return \Symfony\Component\HttpFoundation\Cookie|null + * @static */ public static function queued($key, $default = null, $path = null) { @@ -5614,8 +5804,8 @@ public static function queued($key, $default = null, $path = null) * Queue a cookie to send with the next response. * * @param mixed $parameters - * @return void - * @static + * @return void + * @static */ public static function queue(...$parameters) { @@ -5629,8 +5819,8 @@ public static function queue(...$parameters) * @param string $name * @param string|null $path * @param string|null $domain - * @return void - * @static + * @return void + * @static */ public static function expire($name, $path = null, $domain = null) { @@ -5643,8 +5833,8 @@ public static function expire($name, $path = null, $domain = null) * * @param string $name * @param string|null $path - * @return void - * @static + * @return void + * @static */ public static function unqueue($name, $path = null) { @@ -5659,8 +5849,8 @@ public static function unqueue($name, $path = null) * @param string|null $domain * @param bool|null $secure * @param string|null $sameSite - * @return \Illuminate\Cookie\CookieJar - * @static + * @return \Illuminate\Cookie\CookieJar + * @static */ public static function setDefaultPathAndDomain($path, $domain, $secure = false, $sameSite = null) { @@ -5671,8 +5861,8 @@ public static function setDefaultPathAndDomain($path, $domain, $secure = false, /** * Get the cookies which have been queued for the next request. * - * @return \Symfony\Component\HttpFoundation\Cookie[] - * @static + * @return \Symfony\Component\HttpFoundation\Cookie[] + * @static */ public static function getQueuedCookies() { @@ -5683,8 +5873,8 @@ public static function getQueuedCookies() /** * Flush the cookies which have been queued for the next request. * - * @return \Illuminate\Cookie\CookieJar - * @static + * @return \Illuminate\Cookie\CookieJar + * @static */ public static function flushQueuedCookies() { @@ -5698,8 +5888,8 @@ public static function flushQueuedCookies() * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -5711,9 +5901,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -5724,8 +5914,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -5735,8 +5925,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -5745,8 +5935,6 @@ public static function flushMacros() } /** - * - * * @see \Illuminate\Encryption\Encrypter */ class Crypt { @@ -5755,8 +5943,8 @@ class Crypt { * * @param string $key * @param string $cipher - * @return bool - * @static + * @return bool + * @static */ public static function supported($key, $cipher) { @@ -5767,8 +5955,8 @@ public static function supported($key, $cipher) * Create a new encryption key for the given cipher. * * @param string $cipher - * @return string - * @static + * @return string + * @static */ public static function generateKey($cipher) { @@ -5780,9 +5968,9 @@ public static function generateKey($cipher) * * @param mixed $value * @param bool $serialize - * @return string + * @return string * @throws \Illuminate\Contracts\Encryption\EncryptException - * @static + * @static */ public static function encrypt($value, $serialize = true) { @@ -5794,9 +5982,9 @@ public static function encrypt($value, $serialize = true) * Encrypt a string without serialization. * * @param string $value - * @return string + * @return string * @throws \Illuminate\Contracts\Encryption\EncryptException - * @static + * @static */ public static function encryptString($value) { @@ -5809,9 +5997,9 @@ public static function encryptString($value) * * @param string $payload * @param bool $unserialize - * @return mixed + * @return mixed * @throws \Illuminate\Contracts\Encryption\DecryptException - * @static + * @static */ public static function decrypt($payload, $unserialize = true) { @@ -5823,9 +6011,9 @@ public static function decrypt($payload, $unserialize = true) * Decrypt the given string without unserialization. * * @param string $payload - * @return string + * @return string * @throws \Illuminate\Contracts\Encryption\DecryptException - * @static + * @static */ public static function decryptString($payload) { @@ -5833,11 +6021,23 @@ public static function decryptString($payload) return $instance->decryptString($payload); } + /** + * Determine if the given value appears to be encrypted by this encrypter. + * + * @param mixed $value + * @return bool + * @static + */ + public static function appearsEncrypted($value) + { + return \Illuminate\Encryption\Encrypter::appearsEncrypted($value); + } + /** * Get the encryption key that the encrypter is currently using. * - * @return string - * @static + * @return string + * @static */ public static function getKey() { @@ -5848,8 +6048,8 @@ public static function getKey() /** * Get the current encryption key and all previous encryption keys. * - * @return array - * @static + * @return array + * @static */ public static function getAllKeys() { @@ -5860,8 +6060,8 @@ public static function getAllKeys() /** * Get the previous encryption keys. * - * @return array - * @static + * @return array + * @static */ public static function getPreviousKeys() { @@ -5873,8 +6073,9 @@ public static function getPreviousKeys() * Set the previous / legacy encryption keys that should be utilized if decryption fails. * * @param array $keys - * @return \Illuminate\Encryption\Encrypter - * @static + * @return \Illuminate\Encryption\Encrypter + * @throws \RuntimeException + * @static */ public static function previousKeys($keys) { @@ -5884,17 +6085,15 @@ public static function previousKeys($keys) } /** - * - * * @see \Illuminate\Database\DatabaseManager */ class DB { /** * Get a database connection instance. * - * @param string|null $name - * @return \Illuminate\Database\Connection - * @static + * @param \UnitEnum|string|null $name + * @return \Illuminate\Database\Connection + * @static */ public static function connection($name = null) { @@ -5906,8 +6105,8 @@ public static function connection($name = null) * Build a database connection instance from the given configuration. * * @param array $config - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function build($config) { @@ -5919,8 +6118,8 @@ public static function build($config) * Calculate the dynamic connection name for an on-demand connection based on its configuration. * * @param array $config - * @return string - * @static + * @return string + * @static */ public static function calculateDynamicConnectionName($config) { @@ -5930,11 +6129,11 @@ public static function calculateDynamicConnectionName($config) /** * Get a database connection instance from the given configuration. * - * @param string $name + * @param \UnitEnum|string $name * @param array $config * @param bool $force - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function connectUsing($name, $config, $force = false) { @@ -5945,9 +6144,9 @@ public static function connectUsing($name, $config, $force = false) /** * Disconnect from the given database and remove from local cache. * - * @param string|null $name - * @return void - * @static + * @param \UnitEnum|string|null $name + * @return void + * @static */ public static function purge($name = null) { @@ -5958,9 +6157,9 @@ public static function purge($name = null) /** * Disconnect from the given database. * - * @param string|null $name - * @return void - * @static + * @param \UnitEnum|string|null $name + * @return void + * @static */ public static function disconnect($name = null) { @@ -5971,9 +6170,9 @@ public static function disconnect($name = null) /** * Reconnect to the given database. * - * @param string|null $name - * @return \Illuminate\Database\Connection - * @static + * @param \UnitEnum|string|null $name + * @return \Illuminate\Database\Connection + * @static */ public static function reconnect($name = null) { @@ -5984,10 +6183,10 @@ public static function reconnect($name = null) /** * Set the default database connection for the callback execution. * - * @param string $name + * @param \UnitEnum|string $name * @param callable $callback - * @return mixed - * @static + * @return mixed + * @static */ public static function usingConnection($name, $callback) { @@ -5998,8 +6197,8 @@ public static function usingConnection($name, $callback) /** * Get the default connection name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultConnection() { @@ -6011,8 +6210,8 @@ public static function getDefaultConnection() * Set the default connection name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultConnection($name) { @@ -6023,8 +6222,8 @@ public static function setDefaultConnection($name) /** * Get all of the supported drivers. * - * @return string[] - * @static + * @return string[] + * @static */ public static function supportedDrivers() { @@ -6035,8 +6234,8 @@ public static function supportedDrivers() /** * Get all of the drivers that are actually available. * - * @return string[] - * @static + * @return string[] + * @static */ public static function availableDrivers() { @@ -6049,8 +6248,8 @@ public static function availableDrivers() * * @param string $name * @param callable $resolver - * @return void - * @static + * @return void + * @static */ public static function extend($name, $resolver) { @@ -6062,8 +6261,8 @@ public static function extend($name, $resolver) * Remove an extension connection resolver. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function forgetExtension($name) { @@ -6074,8 +6273,8 @@ public static function forgetExtension($name) /** * Return all of the created connections. * - * @return array - * @static + * @return array + * @static */ public static function getConnections() { @@ -6087,8 +6286,8 @@ public static function getConnections() * Set the database reconnector callback. * * @param callable $reconnector - * @return void - * @static + * @return void + * @static */ public static function setReconnector($reconnector) { @@ -6100,8 +6299,8 @@ public static function setReconnector($reconnector) * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Database\DatabaseManager - * @static + * @return \Illuminate\Database\DatabaseManager + * @static */ public static function setApplication($app) { @@ -6115,8 +6314,8 @@ public static function setApplication($app) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -6128,9 +6327,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -6141,8 +6340,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -6152,8 +6351,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -6165,9 +6364,9 @@ public static function flushMacros() * * @param string $method * @param array $parameters - * @return mixed + * @return mixed * @throws \BadMethodCallException - * @static + * @static */ public static function macroCall($method, $parameters) { @@ -6178,8 +6377,8 @@ public static function macroCall($method, $parameters) /** * Get a human-readable name for the given connection driver. * - * @return string - * @static + * @return string + * @static */ public static function getDriverTitle() { @@ -6193,8 +6392,8 @@ public static function getDriverTitle() * @param string $query * @param array $bindings * @param string|null $sequence - * @return bool - * @static + * @return bool + * @static */ public static function insert($query, $bindings = [], $sequence = null) { @@ -6205,8 +6404,8 @@ public static function insert($query, $bindings = [], $sequence = null) /** * Get the connection's last insert ID. * - * @return string|int|null - * @static + * @return string|int|null + * @static */ public static function getLastInsertId() { @@ -6217,8 +6416,8 @@ public static function getLastInsertId() /** * Determine if the connected database is a MariaDB database. * - * @return bool - * @static + * @return bool + * @static */ public static function isMaria() { @@ -6229,8 +6428,8 @@ public static function isMaria() /** * Get the server version for the connection. * - * @return string - * @static + * @return string + * @static */ public static function getServerVersion() { @@ -6241,8 +6440,8 @@ public static function getServerVersion() /** * Get a schema builder instance for the connection. * - * @return \Illuminate\Database\Schema\MySqlBuilder - * @static + * @return \Illuminate\Database\Schema\MySqlBuilder + * @static */ public static function getSchemaBuilder() { @@ -6255,8 +6454,8 @@ public static function getSchemaBuilder() * * @param \Illuminate\Filesystem\Filesystem|null $files * @param callable|null $processFactory - * @return \Illuminate\Database\Schema\MySqlSchemaState - * @static + * @return \Illuminate\Database\Schema\MySqlSchemaState + * @static */ public static function getSchemaState($files = null, $processFactory = null) { @@ -6267,8 +6466,8 @@ public static function getSchemaState($files = null, $processFactory = null) /** * Set the query grammar to the default implementation. * - * @return void - * @static + * @return void + * @static */ public static function useDefaultQueryGrammar() { @@ -6280,8 +6479,8 @@ public static function useDefaultQueryGrammar() /** * Set the schema grammar to the default implementation. * - * @return void - * @static + * @return void + * @static */ public static function useDefaultSchemaGrammar() { @@ -6293,8 +6492,8 @@ public static function useDefaultSchemaGrammar() /** * Set the query post processor to the default implementation. * - * @return void - * @static + * @return void + * @static */ public static function useDefaultPostProcessor() { @@ -6306,10 +6505,10 @@ public static function useDefaultPostProcessor() /** * Begin a fluent query against a database table. * - * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string $table + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|\UnitEnum|string $table * @param string|null $as - * @return \Illuminate\Database\Query\Builder - * @static + * @return \Illuminate\Database\Query\Builder + * @static */ public static function table($table, $as = null) { @@ -6321,8 +6520,8 @@ public static function table($table, $as = null) /** * Get a new query builder instance. * - * @return \Illuminate\Database\Query\Builder - * @static + * @return \Illuminate\Database\Query\Builder + * @static */ public static function query() { @@ -6337,8 +6536,8 @@ public static function query() * @param string $query * @param array $bindings * @param bool $useReadPdo - * @return mixed - * @static + * @return mixed + * @static */ public static function selectOne($query, $bindings = [], $useReadPdo = true) { @@ -6353,9 +6552,9 @@ public static function selectOne($query, $bindings = [], $useReadPdo = true) * @param string $query * @param array $bindings * @param bool $useReadPdo - * @return mixed + * @return mixed * @throws \Illuminate\Database\MultipleColumnsSelectedException - * @static + * @static */ public static function scalar($query, $bindings = [], $useReadPdo = true) { @@ -6369,8 +6568,8 @@ public static function scalar($query, $bindings = [], $useReadPdo = true) * * @param string $query * @param array $bindings - * @return array - * @static + * @return array + * @static */ public static function selectFromWriteConnection($query, $bindings = []) { @@ -6385,8 +6584,8 @@ public static function selectFromWriteConnection($query, $bindings = []) * @param string $query * @param array $bindings * @param bool $useReadPdo - * @return array - * @static + * @return array + * @static */ public static function select($query, $bindings = [], $useReadPdo = true) { @@ -6401,8 +6600,8 @@ public static function select($query, $bindings = [], $useReadPdo = true) * @param string $query * @param array $bindings * @param bool $useReadPdo - * @return array - * @static + * @return array + * @static */ public static function selectResultSets($query, $bindings = [], $useReadPdo = true) { @@ -6417,8 +6616,8 @@ public static function selectResultSets($query, $bindings = [], $useReadPdo = tr * @param string $query * @param array $bindings * @param bool $useReadPdo - * @return \Generator - * @static + * @return \Generator + * @static */ public static function cursor($query, $bindings = [], $useReadPdo = true) { @@ -6432,8 +6631,8 @@ public static function cursor($query, $bindings = [], $useReadPdo = true) * * @param string $query * @param array $bindings - * @return int - * @static + * @return int + * @static */ public static function update($query, $bindings = []) { @@ -6447,8 +6646,8 @@ public static function update($query, $bindings = []) * * @param string $query * @param array $bindings - * @return int - * @static + * @return int + * @static */ public static function delete($query, $bindings = []) { @@ -6462,8 +6661,8 @@ public static function delete($query, $bindings = []) * * @param string $query * @param array $bindings - * @return bool - * @static + * @return bool + * @static */ public static function statement($query, $bindings = []) { @@ -6477,8 +6676,8 @@ public static function statement($query, $bindings = []) * * @param string $query * @param array $bindings - * @return int - * @static + * @return int + * @static */ public static function affectingStatement($query, $bindings = []) { @@ -6491,8 +6690,8 @@ public static function affectingStatement($query, $bindings = []) * Run a raw, unprepared query against the PDO connection. * * @param string $query - * @return bool - * @static + * @return bool + * @static */ public static function unprepared($query) { @@ -6504,8 +6703,8 @@ public static function unprepared($query) /** * Get the number of open connections for the database. * - * @return int|null - * @static + * @return int|null + * @static */ public static function threadCount() { @@ -6517,9 +6716,9 @@ public static function threadCount() /** * Execute the given callback in "dry run" mode. * - * @param \Closure $callback - * @return array - * @static + * @param (\Closure(\Illuminate\Database\Connection): mixed) $callback + * @return \Illuminate\Database\array{query: string, bindings: array, time: float|null}[] + * @static */ public static function pretend($callback) { @@ -6532,8 +6731,8 @@ public static function pretend($callback) * Execute the given callback without "pretending". * * @param \Closure $callback - * @return mixed - * @static + * @return mixed + * @static */ public static function withoutPretending($callback) { @@ -6547,8 +6746,8 @@ public static function withoutPretending($callback) * * @param \PDOStatement $statement * @param array $bindings - * @return void - * @static + * @return void + * @static */ public static function bindValues($statement, $bindings) { @@ -6561,8 +6760,8 @@ public static function bindValues($statement, $bindings) * Prepare the query bindings for execution. * * @param array $bindings - * @return array - * @static + * @return array + * @static */ public static function prepareBindings($bindings) { @@ -6577,8 +6776,8 @@ public static function prepareBindings($bindings) * @param string $query * @param array $bindings * @param float|null $time - * @return void - * @static + * @return void + * @static */ public static function logQuery($query, $bindings, $time = null) { @@ -6591,9 +6790,9 @@ public static function logQuery($query, $bindings, $time = null) * Register a callback to be invoked when the connection queries for longer than a given amount of time. * * @param \DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold - * @param callable $handler - * @return void - * @static + * @param (callable(\Illuminate\Database\Connection, \Illuminate\Database\Events\QueryExecuted): mixed) $handler + * @return void + * @static */ public static function whenQueryingForLongerThan($threshold, $handler) { @@ -6605,8 +6804,8 @@ public static function whenQueryingForLongerThan($threshold, $handler) /** * Allow all the query duration handlers to run again, even if they have already run. * - * @return void - * @static + * @return void + * @static */ public static function allowQueryDurationHandlersToRunAgain() { @@ -6618,8 +6817,8 @@ public static function allowQueryDurationHandlersToRunAgain() /** * Get the duration of all run queries in milliseconds. * - * @return float - * @static + * @return float + * @static */ public static function totalQueryDuration() { @@ -6631,8 +6830,8 @@ public static function totalQueryDuration() /** * Reset the duration of all run queries. * - * @return void - * @static + * @return void + * @static */ public static function resetTotalQueryDuration() { @@ -6644,8 +6843,8 @@ public static function resetTotalQueryDuration() /** * Reconnect to the database if a PDO connection is missing. * - * @return void - * @static + * @return void + * @static */ public static function reconnectIfMissingConnection() { @@ -6658,8 +6857,8 @@ public static function reconnectIfMissingConnection() * Register a hook to be run just before a database transaction is started. * * @param \Closure $callback - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function beforeStartingTransaction($callback) { @@ -6672,8 +6871,8 @@ public static function beforeStartingTransaction($callback) * Register a hook to be run just before a database query is executed. * * @param \Closure $callback - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function beforeExecuting($callback) { @@ -6685,9 +6884,9 @@ public static function beforeExecuting($callback) /** * Register a database query listener with the connection. * - * @param \Closure $callback - * @return void - * @static + * @param \Closure(\Illuminate\Database\Events\QueryExecuted) $callback + * @return void + * @static */ public static function listen($callback) { @@ -6700,8 +6899,8 @@ public static function listen($callback) * Get a new raw query expression. * * @param mixed $value - * @return \Illuminate\Contracts\Database\Query\Expression - * @static + * @return \Illuminate\Contracts\Database\Query\Expression + * @static */ public static function raw($value) { @@ -6715,8 +6914,9 @@ public static function raw($value) * * @param string|float|int|bool|null $value * @param bool $binary - * @return string - * @static + * @return string + * @throws \RuntimeException + * @static */ public static function escape($value, $binary = false) { @@ -6728,8 +6928,8 @@ public static function escape($value, $binary = false) /** * Determine if the database connection has modified any database records. * - * @return bool - * @static + * @return bool + * @static */ public static function hasModifiedRecords() { @@ -6742,8 +6942,8 @@ public static function hasModifiedRecords() * Indicate if any records have been modified. * * @param bool $value - * @return void - * @static + * @return void + * @static */ public static function recordsHaveBeenModified($value = true) { @@ -6756,8 +6956,8 @@ public static function recordsHaveBeenModified($value = true) * Set the record modification state. * * @param bool $value - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setRecordModificationState($value) { @@ -6769,8 +6969,8 @@ public static function setRecordModificationState($value) /** * Reset the record modification state. * - * @return void - * @static + * @return void + * @static */ public static function forgetRecordModificationState() { @@ -6783,8 +6983,8 @@ public static function forgetRecordModificationState() * Indicate that the connection should use the write PDO connection for reads. * * @param bool $value - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function useWriteConnectionWhenReading($value = true) { @@ -6796,8 +6996,8 @@ public static function useWriteConnectionWhenReading($value = true) /** * Get the current PDO connection. * - * @return \PDO - * @static + * @return \PDO + * @static */ public static function getPdo() { @@ -6809,8 +7009,8 @@ public static function getPdo() /** * Get the current PDO connection parameter without executing any reconnect logic. * - * @return \PDO|\Closure|null - * @static + * @return \PDO|\Closure|null + * @static */ public static function getRawPdo() { @@ -6822,8 +7022,8 @@ public static function getRawPdo() /** * Get the current PDO connection used for reading. * - * @return \PDO - * @static + * @return \PDO + * @static */ public static function getReadPdo() { @@ -6835,8 +7035,8 @@ public static function getReadPdo() /** * Get the current read PDO connection parameter without executing any reconnect logic. * - * @return \PDO|\Closure|null - * @static + * @return \PDO|\Closure|null + * @static */ public static function getRawReadPdo() { @@ -6849,8 +7049,8 @@ public static function getRawReadPdo() * Set the PDO connection. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setPdo($pdo) { @@ -6863,8 +7063,8 @@ public static function setPdo($pdo) * Set the PDO connection used for reading. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setReadPdo($pdo) { @@ -6873,11 +7073,25 @@ public static function setReadPdo($pdo) return $instance->setReadPdo($pdo); } + /** + * Set the read PDO connection configuration. + * + * @param array $config + * @return \Illuminate\Database\MySqlConnection + * @static + */ + public static function setReadPdoConfig($config) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->setReadPdoConfig($config); + } + /** * Get the database connection name. * - * @return string|null - * @static + * @return string|null + * @static */ public static function getName() { @@ -6887,10 +7101,10 @@ public static function getName() } /** - * Get the database connection full name. + * Get the database connection with its read / write type. * - * @return string|null - * @static + * @return string|null + * @static */ public static function getNameWithReadWriteType() { @@ -6903,8 +7117,8 @@ public static function getNameWithReadWriteType() * Get an option from the configuration options. * * @param string|null $option - * @return mixed - * @static + * @return mixed + * @static */ public static function getConfig($option = null) { @@ -6916,8 +7130,8 @@ public static function getConfig($option = null) /** * Get the PDO driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDriverName() { @@ -6929,8 +7143,8 @@ public static function getDriverName() /** * Get the query grammar used by the connection. * - * @return \Illuminate\Database\Query\Grammars\Grammar - * @static + * @return \Illuminate\Database\Query\Grammars\Grammar + * @static */ public static function getQueryGrammar() { @@ -6943,8 +7157,8 @@ public static function getQueryGrammar() * Set the query grammar used by the connection. * * @param \Illuminate\Database\Query\Grammars\Grammar $grammar - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setQueryGrammar($grammar) { @@ -6956,8 +7170,8 @@ public static function setQueryGrammar($grammar) /** * Get the schema grammar used by the connection. * - * @return \Illuminate\Database\Schema\Grammars\Grammar - * @static + * @return \Illuminate\Database\Schema\Grammars\Grammar + * @static */ public static function getSchemaGrammar() { @@ -6970,8 +7184,8 @@ public static function getSchemaGrammar() * Set the schema grammar used by the connection. * * @param \Illuminate\Database\Schema\Grammars\Grammar $grammar - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setSchemaGrammar($grammar) { @@ -6983,8 +7197,8 @@ public static function setSchemaGrammar($grammar) /** * Get the query post processor used by the connection. * - * @return \Illuminate\Database\Query\Processors\Processor - * @static + * @return \Illuminate\Database\Query\Processors\Processor + * @static */ public static function getPostProcessor() { @@ -6997,8 +7211,8 @@ public static function getPostProcessor() * Set the query post processor used by the connection. * * @param \Illuminate\Database\Query\Processors\Processor $processor - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setPostProcessor($processor) { @@ -7010,8 +7224,8 @@ public static function setPostProcessor($processor) /** * Get the event dispatcher used by the connection. * - * @return \Illuminate\Contracts\Events\Dispatcher - * @static + * @return \Illuminate\Contracts\Events\Dispatcher|null + * @static */ public static function getEventDispatcher() { @@ -7024,8 +7238,8 @@ public static function getEventDispatcher() * Set the event dispatcher instance on the connection. * * @param \Illuminate\Contracts\Events\Dispatcher $events - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setEventDispatcher($events) { @@ -7037,8 +7251,8 @@ public static function setEventDispatcher($events) /** * Unset the event dispatcher for this connection. * - * @return void - * @static + * @return void + * @static */ public static function unsetEventDispatcher() { @@ -7051,8 +7265,8 @@ public static function unsetEventDispatcher() * Set the transaction manager instance on the connection. * * @param \Illuminate\Database\DatabaseTransactionsManager $manager - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setTransactionManager($manager) { @@ -7064,8 +7278,8 @@ public static function setTransactionManager($manager) /** * Unset the transaction manager for this connection. * - * @return void - * @static + * @return void + * @static */ public static function unsetTransactionManager() { @@ -7077,8 +7291,8 @@ public static function unsetTransactionManager() /** * Determine if the connection is in a "dry run". * - * @return bool - * @static + * @return bool + * @static */ public static function pretending() { @@ -7090,8 +7304,8 @@ public static function pretending() /** * Get the connection query log. * - * @return array - * @static + * @return \Illuminate\Database\array{query: string, bindings: array, time: float|null}[] + * @static */ public static function getQueryLog() { @@ -7103,8 +7317,8 @@ public static function getQueryLog() /** * Get the connection query log with embedded bindings. * - * @return array - * @static + * @return array + * @static */ public static function getRawQueryLog() { @@ -7116,8 +7330,8 @@ public static function getRawQueryLog() /** * Clear the query log. * - * @return void - * @static + * @return void + * @static */ public static function flushQueryLog() { @@ -7129,8 +7343,8 @@ public static function flushQueryLog() /** * Enable the query log on the connection. * - * @return void - * @static + * @return void + * @static */ public static function enableQueryLog() { @@ -7142,8 +7356,8 @@ public static function enableQueryLog() /** * Disable the query log on the connection. * - * @return void - * @static + * @return void + * @static */ public static function disableQueryLog() { @@ -7155,8 +7369,8 @@ public static function disableQueryLog() /** * Determine whether we're logging queries. * - * @return bool - * @static + * @return bool + * @static */ public static function logging() { @@ -7168,8 +7382,8 @@ public static function logging() /** * Get the name of the connected database. * - * @return string - * @static + * @return string + * @static */ public static function getDatabaseName() { @@ -7182,8 +7396,8 @@ public static function getDatabaseName() * Set the name of the connected database. * * @param string $database - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setDatabaseName($database) { @@ -7196,8 +7410,8 @@ public static function setDatabaseName($database) * Set the read / write type of the connection. * * @param string|null $readWriteType - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setReadWriteType($readWriteType) { @@ -7209,8 +7423,8 @@ public static function setReadWriteType($readWriteType) /** * Get the table prefix for the connection. * - * @return string - * @static + * @return string + * @static */ public static function getTablePrefix() { @@ -7223,8 +7437,8 @@ public static function getTablePrefix() * Set the table prefix in use by the connection. * * @param string $prefix - * @return \Illuminate\Database\MySqlConnection - * @static + * @return \Illuminate\Database\MySqlConnection + * @static */ public static function setTablePrefix($prefix) { @@ -7233,33 +7447,18 @@ public static function setTablePrefix($prefix) return $instance->setTablePrefix($prefix); } - /** - * Set the table prefix and return the grammar. - * - * @template TGrammar of \Illuminate\Database\Grammar - * @param TGrammar $grammar - * @return TGrammar - * @static - */ - public static function withTablePrefix($grammar) - { - //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ - return $instance->withTablePrefix($grammar); - } - /** * Execute the given callback without table prefix. * * @param \Closure $callback - * @return void - * @static + * @return mixed + * @static */ public static function withoutTablePrefix($callback) { //Method inherited from \Illuminate\Database\Connection /** @var \Illuminate\Database\MySqlConnection $instance */ - $instance->withoutTablePrefix($callback); + return $instance->withoutTablePrefix($callback); } /** @@ -7267,8 +7466,8 @@ public static function withoutTablePrefix($callback) * * @param string $driver * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function resolverFor($driver, $callback) { @@ -7280,8 +7479,8 @@ public static function resolverFor($driver, $callback) * Get the connection resolver for the given driver. * * @param string $driver - * @return \Closure|null - * @static + * @return \Closure|null + * @static */ public static function getResolver($driver) { @@ -7290,16 +7489,14 @@ public static function getResolver($driver) } /** - * - * * @template TReturn of mixed - * + * * Execute a Closure within a transaction. * @param (\Closure(static): TReturn) $callback * @param int $attempts - * @return TReturn + * @return TReturn * @throws \Throwable - * @static + * @static */ public static function transaction($callback, $attempts = 1) { @@ -7311,9 +7508,9 @@ public static function transaction($callback, $attempts = 1) /** * Start a new database transaction. * - * @return void + * @return void * @throws \Throwable - * @static + * @static */ public static function beginTransaction() { @@ -7325,9 +7522,9 @@ public static function beginTransaction() /** * Commit the active database transaction. * - * @return void + * @return void * @throws \Throwable - * @static + * @static */ public static function commit() { @@ -7340,9 +7537,9 @@ public static function commit() * Rollback the active database transaction. * * @param int|null $toLevel - * @return void + * @return void * @throws \Throwable - * @static + * @static */ public static function rollBack($toLevel = null) { @@ -7354,8 +7551,8 @@ public static function rollBack($toLevel = null) /** * Get the number of active transactions. * - * @return int - * @static + * @return int + * @static */ public static function transactionLevel() { @@ -7368,9 +7565,9 @@ public static function transactionLevel() * Execute the callback after a transaction commits. * * @param callable $callback - * @return void + * @return void * @throws \RuntimeException - * @static + * @static */ public static function afterCommit($callback) { @@ -7379,21 +7576,34 @@ public static function afterCommit($callback) $instance->afterCommit($callback); } - } - /** - * - * - * @see \Illuminate\Events\Dispatcher - * @see \Illuminate\Support\Testing\Fakes\EventFake - */ - class Event { + /** + * Execute the callback after a transaction rolls back. + * + * @param callable $callback + * @return void + * @throws \RuntimeException + * @static + */ + public static function afterRollBack($callback) + { + //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + $instance->afterRollBack($callback); + } + + } + /** + * @see \Illuminate\Events\Dispatcher + * @see \Illuminate\Support\Testing\Fakes\EventFake + */ + class Event { /** * Register an event listener with the dispatcher. * * @param \Illuminate\Events\Queued\Closure|callable|array|class-string|string $events * @param \Illuminate\Events\Queued\Closure|callable|array|class-string|null $listener - * @return void - * @static + * @return void + * @static */ public static function listen($events, $listener = null) { @@ -7405,8 +7615,8 @@ public static function listen($events, $listener = null) * Determine if a given event has listeners. * * @param string $eventName - * @return bool - * @static + * @return bool + * @static */ public static function hasListeners($eventName) { @@ -7418,8 +7628,8 @@ public static function hasListeners($eventName) * Determine if the given event has any wildcard listeners. * * @param string $eventName - * @return bool - * @static + * @return bool + * @static */ public static function hasWildcardListeners($eventName) { @@ -7432,8 +7642,8 @@ public static function hasWildcardListeners($eventName) * * @param string $event * @param object|array $payload - * @return void - * @static + * @return void + * @static */ public static function push($event, $payload = []) { @@ -7445,8 +7655,8 @@ public static function push($event, $payload = []) * Flush a set of pushed events. * * @param string $event - * @return void - * @static + * @return void + * @static */ public static function flush($event) { @@ -7458,8 +7668,8 @@ public static function flush($event) * Register an event subscriber with the dispatcher. * * @param object|string $subscriber - * @return void - * @static + * @return void + * @static */ public static function subscribe($subscriber) { @@ -7472,8 +7682,8 @@ public static function subscribe($subscriber) * * @param string|object $event * @param mixed $payload - * @return mixed - * @static + * @return array|null + * @static */ public static function until($event, $payload = []) { @@ -7487,8 +7697,8 @@ public static function until($event, $payload = []) * @param string|object $event * @param mixed $payload * @param bool $halt - * @return array|null - * @static + * @return array|null + * @static */ public static function dispatch($event, $payload = [], $halt = false) { @@ -7500,8 +7710,8 @@ public static function dispatch($event, $payload = [], $halt = false) * Get all of the listeners for a given event name. * * @param string $eventName - * @return array - * @static + * @return array + * @static */ public static function getListeners($eventName) { @@ -7512,10 +7722,10 @@ public static function getListeners($eventName) /** * Register an event listener with the dispatcher. * - * @param \Closure|string|array $listener + * @param \Closure|string|array{class-string, string} $listener * @param bool $wildcard - * @return \Closure - * @static + * @return \Closure + * @static */ public static function makeListener($listener, $wildcard = false) { @@ -7528,8 +7738,8 @@ public static function makeListener($listener, $wildcard = false) * * @param string $listener * @param bool $wildcard - * @return \Closure - * @static + * @return \Closure + * @static */ public static function createClassListener($listener, $wildcard = false) { @@ -7541,8 +7751,8 @@ public static function createClassListener($listener, $wildcard = false) * Remove a set of listeners from the dispatcher. * * @param string $event - * @return void - * @static + * @return void + * @static */ public static function forget($event) { @@ -7553,8 +7763,8 @@ public static function forget($event) /** * Forget all of the pushed listeners. * - * @return void - * @static + * @return void + * @static */ public static function forgetPushed() { @@ -7565,9 +7775,9 @@ public static function forgetPushed() /** * Set the queue resolver implementation. * - * @param callable $resolver - * @return \Illuminate\Events\Dispatcher - * @static + * @param callable(): \Illuminate\Contracts\Queue\Queue $resolver + * @return \Illuminate\Events\Dispatcher + * @static */ public static function setQueueResolver($resolver) { @@ -7578,9 +7788,9 @@ public static function setQueueResolver($resolver) /** * Set the database transaction manager resolver implementation. * - * @param callable $resolver - * @return \Illuminate\Events\Dispatcher - * @static + * @param (callable(): (\Illuminate\Database\DatabaseTransactionsManager|null)) $resolver + * @return \Illuminate\Events\Dispatcher + * @static */ public static function setTransactionManagerResolver($resolver) { @@ -7588,11 +7798,26 @@ public static function setTransactionManagerResolver($resolver) return $instance->setTransactionManagerResolver($resolver); } + /** + * Execute the given callback while deferring events, then dispatch all deferred events. + * + * @template TResult + * @param callable(): TResult $callback + * @param string[]|null $events + * @return TResult + * @static + */ + public static function defer($callback, $events = null) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->defer($callback, $events); + } + /** * Gets the raw, unprepared listeners. * - * @return array - * @static + * @return array + * @static */ public static function getRawListeners() { @@ -7606,8 +7831,8 @@ public static function getRawListeners() * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -7619,9 +7844,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -7632,8 +7857,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -7643,8 +7868,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -7655,8 +7880,8 @@ public static function flushMacros() * Specify the events that should be dispatched instead of faked. * * @param array|string $eventsToDispatch - * @return \Illuminate\Support\Testing\Fakes\EventFake - * @static + * @return \Illuminate\Support\Testing\Fakes\EventFake + * @static */ public static function except($eventsToDispatch) { @@ -7669,8 +7894,8 @@ public static function except($eventsToDispatch) * * @param string $expectedEvent * @param string|array $expectedListener - * @return void - * @static + * @return void + * @static */ public static function assertListening($expectedEvent, $expectedListener) { @@ -7683,8 +7908,8 @@ public static function assertListening($expectedEvent, $expectedListener) * * @param string|\Closure $event * @param callable|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertDispatched($event, $callback = null) { @@ -7692,13 +7917,26 @@ public static function assertDispatched($event, $callback = null) $instance->assertDispatched($event, $callback); } + /** + * Assert if an event was dispatched exactly once. + * + * @param string $event + * @return void + * @static + */ + public static function assertDispatchedOnce($event) + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + $instance->assertDispatchedOnce($event); + } + /** * Assert if an event was dispatched a number of times. * * @param string $event * @param int $times - * @return void - * @static + * @return void + * @static */ public static function assertDispatchedTimes($event, $times = 1) { @@ -7711,8 +7949,8 @@ public static function assertDispatchedTimes($event, $times = 1) * * @param string|\Closure $event * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotDispatched($event, $callback = null) { @@ -7723,8 +7961,8 @@ public static function assertNotDispatched($event, $callback = null) /** * Assert that no events were dispatched. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingDispatched() { @@ -7737,8 +7975,8 @@ public static function assertNothingDispatched() * * @param string $event * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function dispatched($event, $callback = null) { @@ -7750,8 +7988,8 @@ public static function dispatched($event, $callback = null) * Determine if the given event has been dispatched. * * @param string $event - * @return bool - * @static + * @return bool + * @static */ public static function hasDispatched($event) { @@ -7762,8 +8000,8 @@ public static function hasDispatched($event) /** * Get the events that have been dispatched. * - * @return array - * @static + * @return array + * @static */ public static function dispatchedEvents() { @@ -7773,8 +8011,6 @@ public static function dispatchedEvents() } /** - * - * * @see \Illuminate\Filesystem\Filesystem */ class File { @@ -7782,8 +8018,8 @@ class File { * Determine if a file or directory exists. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function exists($path) { @@ -7795,8 +8031,8 @@ public static function exists($path) * Determine if a file or directory is missing. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function missing($path) { @@ -7809,9 +8045,9 @@ public static function missing($path) * * @param string $path * @param bool $lock - * @return string + * @return string * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException - * @static + * @static */ public static function get($path, $lock = false) { @@ -7825,9 +8061,9 @@ public static function get($path, $lock = false) * @param string $path * @param int $flags * @param bool $lock - * @return array + * @return array * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException - * @static + * @static */ public static function json($path, $flags = 0, $lock = false) { @@ -7839,8 +8075,8 @@ public static function json($path, $flags = 0, $lock = false) * Get contents of a file with shared access. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function sharedGet($path) { @@ -7853,9 +8089,9 @@ public static function sharedGet($path) * * @param string $path * @param array $data - * @return mixed + * @return mixed * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException - * @static + * @static */ public static function getRequire($path, $data = []) { @@ -7868,9 +8104,9 @@ public static function getRequire($path, $data = []) * * @param string $path * @param array $data - * @return mixed + * @return mixed * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException - * @static + * @static */ public static function requireOnce($path, $data = []) { @@ -7882,9 +8118,9 @@ public static function requireOnce($path, $data = []) * Get the contents of a file one line at a time. * * @param string $path - * @return \Illuminate\Support\LazyCollection + * @return \Illuminate\Support\LazyCollection * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException - * @static + * @static */ public static function lines($path) { @@ -7897,8 +8133,8 @@ public static function lines($path) * * @param string $path * @param string $algorithm - * @return string|false - * @static + * @return string|false + * @static */ public static function hash($path, $algorithm = 'md5') { @@ -7912,8 +8148,8 @@ public static function hash($path, $algorithm = 'md5') * @param string $path * @param string $contents * @param bool $lock - * @return int|bool - * @static + * @return int|bool + * @static */ public static function put($path, $contents, $lock = false) { @@ -7927,8 +8163,8 @@ public static function put($path, $contents, $lock = false) * @param string $path * @param string $content * @param int|null $mode - * @return void - * @static + * @return void + * @static */ public static function replace($path, $content, $mode = null) { @@ -7942,8 +8178,8 @@ public static function replace($path, $content, $mode = null) * @param array|string $search * @param array|string $replace * @param string $path - * @return void - * @static + * @return void + * @static */ public static function replaceInFile($search, $replace, $path) { @@ -7956,8 +8192,8 @@ public static function replaceInFile($search, $replace, $path) * * @param string $path * @param string $data - * @return int - * @static + * @return int + * @static */ public static function prepend($path, $data) { @@ -7971,8 +8207,8 @@ public static function prepend($path, $data) * @param string $path * @param string $data * @param bool $lock - * @return int - * @static + * @return int + * @static */ public static function append($path, $data, $lock = false) { @@ -7985,8 +8221,8 @@ public static function append($path, $data, $lock = false) * * @param string $path * @param int|null $mode - * @return mixed - * @static + * @return mixed + * @static */ public static function chmod($path, $mode = null) { @@ -7998,8 +8234,8 @@ public static function chmod($path, $mode = null) * Delete the file at a given path. * * @param string|array $paths - * @return bool - * @static + * @return bool + * @static */ public static function delete($paths) { @@ -8012,8 +8248,8 @@ public static function delete($paths) * * @param string $path * @param string $target - * @return bool - * @static + * @return bool + * @static */ public static function move($path, $target) { @@ -8026,8 +8262,8 @@ public static function move($path, $target) * * @param string $path * @param string $target - * @return bool - * @static + * @return bool + * @static */ public static function copy($path, $target) { @@ -8040,8 +8276,8 @@ public static function copy($path, $target) * * @param string $target * @param string $link - * @return bool|null - * @static + * @return bool|null + * @static */ public static function link($target, $link) { @@ -8054,9 +8290,9 @@ public static function link($target, $link) * * @param string $target * @param string $link - * @return void + * @return void * @throws \RuntimeException - * @static + * @static */ public static function relativeLink($target, $link) { @@ -8068,8 +8304,8 @@ public static function relativeLink($target, $link) * Extract the file name from a file path. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function name($path) { @@ -8081,8 +8317,8 @@ public static function name($path) * Extract the trailing name component from a file path. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function basename($path) { @@ -8094,8 +8330,8 @@ public static function basename($path) * Extract the parent directory from a file path. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function dirname($path) { @@ -8107,8 +8343,8 @@ public static function dirname($path) * Extract the file extension from a file path. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function extension($path) { @@ -8117,12 +8353,12 @@ public static function extension($path) } /** - * Guess the file extension from the mime-type of a given file. + * Guess the file extension from the MIME type of a given file. * * @param string $path - * @return string|null + * @return string|null * @throws \RuntimeException - * @static + * @static */ public static function guessExtension($path) { @@ -8134,8 +8370,8 @@ public static function guessExtension($path) * Get the file type of a given file. * * @param string $path - * @return string - * @static + * @return string|false + * @static */ public static function type($path) { @@ -8144,11 +8380,11 @@ public static function type($path) } /** - * Get the mime-type of a given file. + * Get the MIME type of a given file. * * @param string $path - * @return string|false - * @static + * @return string|false + * @static */ public static function mimeType($path) { @@ -8160,8 +8396,8 @@ public static function mimeType($path) * Get the file size of a given file. * * @param string $path - * @return int - * @static + * @return int + * @static */ public static function size($path) { @@ -8173,8 +8409,8 @@ public static function size($path) * Get the file's last modification time. * * @param string $path - * @return int - * @static + * @return int + * @static */ public static function lastModified($path) { @@ -8186,8 +8422,8 @@ public static function lastModified($path) * Determine if the given path is a directory. * * @param string $directory - * @return bool - * @static + * @return bool + * @static */ public static function isDirectory($directory) { @@ -8200,8 +8436,8 @@ public static function isDirectory($directory) * * @param string $directory * @param bool $ignoreDotFiles - * @return bool - * @static + * @return bool + * @static */ public static function isEmptyDirectory($directory, $ignoreDotFiles = false) { @@ -8213,8 +8449,8 @@ public static function isEmptyDirectory($directory, $ignoreDotFiles = false) * Determine if the given path is readable. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function isReadable($path) { @@ -8226,8 +8462,8 @@ public static function isReadable($path) * Determine if the given path is writable. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function isWritable($path) { @@ -8240,8 +8476,8 @@ public static function isWritable($path) * * @param string $firstFile * @param string $secondFile - * @return bool - * @static + * @return bool + * @static */ public static function hasSameHash($firstFile, $secondFile) { @@ -8253,8 +8489,8 @@ public static function hasSameHash($firstFile, $secondFile) * Determine if the given path is a file. * * @param string $file - * @return bool - * @static + * @return bool + * @static */ public static function isFile($file) { @@ -8267,8 +8503,8 @@ public static function isFile($file) * * @param string $pattern * @param int $flags - * @return array - * @static + * @return array + * @static */ public static function glob($pattern, $flags = 0) { @@ -8281,13 +8517,13 @@ public static function glob($pattern, $flags = 0) * * @param string $directory * @param bool $hidden - * @return \Symfony\Component\Finder\SplFileInfo[] - * @static + * @return \Symfony\Component\Finder\SplFileInfo[] + * @static */ - public static function files($directory, $hidden = false) + public static function files($directory, $hidden = false, $depth = 0) { /** @var \Illuminate\Filesystem\Filesystem $instance */ - return $instance->files($directory, $hidden); + return $instance->files($directory, $hidden, $depth); } /** @@ -8295,8 +8531,8 @@ public static function files($directory, $hidden = false) * * @param string $directory * @param bool $hidden - * @return \Symfony\Component\Finder\SplFileInfo[] - * @static + * @return \Symfony\Component\Finder\SplFileInfo[] + * @static */ public static function allFiles($directory, $hidden = false) { @@ -8308,13 +8544,25 @@ public static function allFiles($directory, $hidden = false) * Get all of the directories within a given directory. * * @param string $directory - * @return array - * @static + * @return array + * @static + */ + public static function directories($directory, $depth = 0) + { + /** @var \Illuminate\Filesystem\Filesystem $instance */ + return $instance->directories($directory, $depth); + } + + /** + * Get all the directories within a given directory (recursive). + * + * @return array + * @static */ - public static function directories($directory) + public static function allDirectories($directory) { /** @var \Illuminate\Filesystem\Filesystem $instance */ - return $instance->directories($directory); + return $instance->allDirectories($directory); } /** @@ -8323,8 +8571,8 @@ public static function directories($directory) * @param string $path * @param int $mode * @param bool $recursive - * @return void - * @static + * @return void + * @static */ public static function ensureDirectoryExists($path, $mode = 493, $recursive = true) { @@ -8339,8 +8587,8 @@ public static function ensureDirectoryExists($path, $mode = 493, $recursive = tr * @param int $mode * @param bool $recursive * @param bool $force - * @return bool - * @static + * @return bool + * @static */ public static function makeDirectory($path, $mode = 493, $recursive = false, $force = false) { @@ -8354,8 +8602,8 @@ public static function makeDirectory($path, $mode = 493, $recursive = false, $fo * @param string $from * @param string $to * @param bool $overwrite - * @return bool - * @static + * @return bool + * @static */ public static function moveDirectory($from, $to, $overwrite = false) { @@ -8369,8 +8617,8 @@ public static function moveDirectory($from, $to, $overwrite = false) * @param string $directory * @param string $destination * @param int|null $options - * @return bool - * @static + * @return bool + * @static */ public static function copyDirectory($directory, $destination, $options = null) { @@ -8380,13 +8628,13 @@ public static function copyDirectory($directory, $destination, $options = null) /** * Recursively delete a directory. - * + * * The directory itself may be optionally preserved. * * @param string $directory * @param bool $preserve - * @return bool - * @static + * @return bool + * @static */ public static function deleteDirectory($directory, $preserve = false) { @@ -8398,8 +8646,8 @@ public static function deleteDirectory($directory, $preserve = false) * Remove all of the directories within a given directory. * * @param string $directory - * @return bool - * @static + * @return bool + * @static */ public static function deleteDirectories($directory) { @@ -8411,8 +8659,8 @@ public static function deleteDirectories($directory) * Empty the specified directory of all files and folders. * * @param string $directory - * @return bool - * @static + * @return bool + * @static */ public static function cleanDirectory($directory) { @@ -8428,8 +8676,8 @@ public static function cleanDirectory($directory) * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default - * @return $this|TWhenReturnType - * @static + * @return $this|TWhenReturnType + * @static */ public static function when($value = null, $callback = null, $default = null) { @@ -8445,8 +8693,8 @@ public static function when($value = null, $callback = null, $default = null) * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default - * @return $this|TUnlessReturnType - * @static + * @return $this|TUnlessReturnType + * @static */ public static function unless($value = null, $callback = null, $default = null) { @@ -8460,8 +8708,8 @@ public static function unless($value = null, $callback = null, $default = null) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -8473,9 +8721,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -8486,8 +8734,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -8497,8 +8745,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -8507,17 +8755,15 @@ public static function flushMacros() } /** - * - * * @see \Illuminate\Auth\Access\Gate */ class Gate { /** * Determine if a given ability has been defined. * - * @param string|array $ability - * @return bool - * @static + * @param \UnitEnum|array|string $ability + * @return bool + * @static */ public static function has($ability) { @@ -8531,9 +8777,9 @@ public static function has($ability) * @param \Illuminate\Auth\Access\Response|\Closure|bool $condition * @param string|null $message * @param string|null $code - * @return \Illuminate\Auth\Access\Response + * @return \Illuminate\Auth\Access\Response * @throws \Illuminate\Auth\Access\AuthorizationException - * @static + * @static */ public static function allowIf($condition, $message = null, $code = null) { @@ -8547,9 +8793,9 @@ public static function allowIf($condition, $message = null, $code = null) * @param \Illuminate\Auth\Access\Response|\Closure|bool $condition * @param string|null $message * @param string|null $code - * @return \Illuminate\Auth\Access\Response + * @return \Illuminate\Auth\Access\Response * @throws \Illuminate\Auth\Access\AuthorizationException - * @static + * @static */ public static function denyIf($condition, $message = null, $code = null) { @@ -8562,9 +8808,9 @@ public static function denyIf($condition, $message = null, $code = null) * * @param \UnitEnum|string $ability * @param callable|array|string $callback - * @return \Illuminate\Auth\Access\Gate + * @return \Illuminate\Auth\Access\Gate * @throws \InvalidArgumentException - * @static + * @static */ public static function define($ability, $callback) { @@ -8578,8 +8824,8 @@ public static function define($ability, $callback) * @param string $name * @param string $class * @param array|null $abilities - * @return \Illuminate\Auth\Access\Gate - * @static + * @return \Illuminate\Auth\Access\Gate + * @static */ public static function resource($name, $class, $abilities = null) { @@ -8592,8 +8838,8 @@ public static function resource($name, $class, $abilities = null) * * @param string $class * @param string $policy - * @return \Illuminate\Auth\Access\Gate - * @static + * @return \Illuminate\Auth\Access\Gate + * @static */ public static function policy($class, $policy) { @@ -8605,8 +8851,8 @@ public static function policy($class, $policy) * Register a callback to run before all Gate checks. * * @param callable $callback - * @return \Illuminate\Auth\Access\Gate - * @static + * @return \Illuminate\Auth\Access\Gate + * @static */ public static function before($callback) { @@ -8618,8 +8864,8 @@ public static function before($callback) * Register a callback to run after all Gate checks. * * @param callable $callback - * @return \Illuminate\Auth\Access\Gate - * @static + * @return \Illuminate\Auth\Access\Gate + * @static */ public static function after($callback) { @@ -8631,9 +8877,9 @@ public static function after($callback) * Determine if all of the given abilities should be granted for the current user. * * @param iterable|\UnitEnum|string $ability - * @param array|mixed $arguments - * @return bool - * @static + * @param mixed $arguments + * @return bool + * @static */ public static function allows($ability, $arguments = []) { @@ -8645,9 +8891,9 @@ public static function allows($ability, $arguments = []) * Determine if any of the given abilities should be denied for the current user. * * @param iterable|\UnitEnum|string $ability - * @param array|mixed $arguments - * @return bool - * @static + * @param mixed $arguments + * @return bool + * @static */ public static function denies($ability, $arguments = []) { @@ -8659,9 +8905,9 @@ public static function denies($ability, $arguments = []) * Determine if all of the given abilities should be granted for the current user. * * @param iterable|\UnitEnum|string $abilities - * @param array|mixed $arguments - * @return bool - * @static + * @param mixed $arguments + * @return bool + * @static */ public static function check($abilities, $arguments = []) { @@ -8673,9 +8919,9 @@ public static function check($abilities, $arguments = []) * Determine if any one of the given abilities should be granted for the current user. * * @param iterable|\UnitEnum|string $abilities - * @param array|mixed $arguments - * @return bool - * @static + * @param mixed $arguments + * @return bool + * @static */ public static function any($abilities, $arguments = []) { @@ -8687,9 +8933,9 @@ public static function any($abilities, $arguments = []) * Determine if all of the given abilities should be denied for the current user. * * @param iterable|\UnitEnum|string $abilities - * @param array|mixed $arguments - * @return bool - * @static + * @param mixed $arguments + * @return bool + * @static */ public static function none($abilities, $arguments = []) { @@ -8701,10 +8947,10 @@ public static function none($abilities, $arguments = []) * Determine if the given ability should be granted for the current user. * * @param \UnitEnum|string $ability - * @param array|mixed $arguments - * @return \Illuminate\Auth\Access\Response + * @param mixed $arguments + * @return \Illuminate\Auth\Access\Response * @throws \Illuminate\Auth\Access\AuthorizationException - * @static + * @static */ public static function authorize($ability, $arguments = []) { @@ -8716,9 +8962,9 @@ public static function authorize($ability, $arguments = []) * Inspect the user for the given ability. * * @param \UnitEnum|string $ability - * @param array|mixed $arguments - * @return \Illuminate\Auth\Access\Response - * @static + * @param mixed $arguments + * @return \Illuminate\Auth\Access\Response + * @static */ public static function inspect($ability, $arguments = []) { @@ -8730,10 +8976,10 @@ public static function inspect($ability, $arguments = []) * Get the raw result from the authorization callback. * * @param string $ability - * @param array|mixed $arguments - * @return mixed + * @param mixed $arguments + * @return mixed * @throws \Illuminate\Auth\Access\AuthorizationException - * @static + * @static */ public static function raw($ability, $arguments = []) { @@ -8745,8 +8991,8 @@ public static function raw($ability, $arguments = []) * Get a policy instance for a given class. * * @param object|string $class - * @return mixed - * @static + * @return mixed + * @static */ public static function getPolicyFor($class) { @@ -8758,8 +9004,8 @@ public static function getPolicyFor($class) * Specify a callback to be used to guess policy names. * * @param callable $callback - * @return \Illuminate\Auth\Access\Gate - * @static + * @return \Illuminate\Auth\Access\Gate + * @static */ public static function guessPolicyNamesUsing($callback) { @@ -8771,9 +9017,9 @@ public static function guessPolicyNamesUsing($callback) * Build a policy class instance of the given type. * * @param object|string $class - * @return mixed + * @return mixed * @throws \Illuminate\Contracts\Container\BindingResolutionException - * @static + * @static */ public static function resolvePolicy($class) { @@ -8785,8 +9031,8 @@ public static function resolvePolicy($class) * Get a gate instance for the given user. * * @param \Illuminate\Contracts\Auth\Authenticatable|mixed $user - * @return static - * @static + * @return static + * @static */ public static function forUser($user) { @@ -8797,8 +9043,8 @@ public static function forUser($user) /** * Get all of the defined abilities. * - * @return array - * @static + * @return array + * @static */ public static function abilities() { @@ -8809,8 +9055,8 @@ public static function abilities() /** * Get all of the defined policies. * - * @return array - * @static + * @return array + * @static */ public static function policies() { @@ -8822,8 +9068,8 @@ public static function policies() * Set the default denial response for gates and policies. * * @param \Illuminate\Auth\Access\Response $response - * @return \Illuminate\Auth\Access\Gate - * @static + * @return \Illuminate\Auth\Access\Gate + * @static */ public static function defaultDenialResponse($response) { @@ -8835,8 +9081,8 @@ public static function defaultDenialResponse($response) * Set the container instance used by the gate. * * @param \Illuminate\Contracts\Container\Container $container - * @return \Illuminate\Auth\Access\Gate - * @static + * @return \Illuminate\Auth\Access\Gate + * @static */ public static function setContainer($container) { @@ -8850,8 +9096,8 @@ public static function setContainer($container) * @param int $status * @param string|null $message * @param int|null $code - * @return \Illuminate\Auth\Access\Response - * @static + * @return \Illuminate\Auth\Access\Response + * @static */ public static function denyWithStatus($status, $message = null, $code = null) { @@ -8864,8 +9110,8 @@ public static function denyWithStatus($status, $message = null, $code = null) * * @param string|null $message * @param int|null $code - * @return \Illuminate\Auth\Access\Response - * @static + * @return \Illuminate\Auth\Access\Response + * @static */ public static function denyAsNotFound($message = null, $code = null) { @@ -8875,8 +9121,6 @@ public static function denyAsNotFound($message = null, $code = null) } /** - * - * * @see \Illuminate\Hashing\HashManager * @see \Illuminate\Hashing\AbstractHasher */ @@ -8884,8 +9128,8 @@ class Hash { /** * Create an instance of the Bcrypt hash Driver. * - * @return \Illuminate\Hashing\BcryptHasher - * @static + * @return \Illuminate\Hashing\BcryptHasher + * @static */ public static function createBcryptDriver() { @@ -8896,8 +9140,8 @@ public static function createBcryptDriver() /** * Create an instance of the Argon2i hash Driver. * - * @return \Illuminate\Hashing\ArgonHasher - * @static + * @return \Illuminate\Hashing\ArgonHasher + * @static */ public static function createArgonDriver() { @@ -8908,8 +9152,8 @@ public static function createArgonDriver() /** * Create an instance of the Argon2id hash Driver. * - * @return \Illuminate\Hashing\Argon2IdHasher - * @static + * @return \Illuminate\Hashing\Argon2IdHasher + * @static */ public static function createArgon2idDriver() { @@ -8921,8 +9165,8 @@ public static function createArgon2idDriver() * Get information about the given hashed value. * * @param string $hashedValue - * @return array - * @static + * @return array + * @static */ public static function info($hashedValue) { @@ -8935,8 +9179,8 @@ public static function info($hashedValue) * * @param string $value * @param array $options - * @return string - * @static + * @return string + * @static */ public static function make($value, $options = []) { @@ -8950,8 +9194,8 @@ public static function make($value, $options = []) * @param string $value * @param string $hashedValue * @param array $options - * @return bool - * @static + * @return bool + * @static */ public static function check($value, $hashedValue, $options = []) { @@ -8964,8 +9208,8 @@ public static function check($value, $hashedValue, $options = []) * * @param string $hashedValue * @param array $options - * @return bool - * @static + * @return bool + * @static */ public static function needsRehash($hashedValue, $options = []) { @@ -8977,8 +9221,8 @@ public static function needsRehash($hashedValue, $options = []) * Determine if a given string is already hashed. * * @param string $value - * @return bool - * @static + * @return bool + * @static */ public static function isHashed($value) { @@ -8989,8 +9233,8 @@ public static function isHashed($value) /** * Get the default driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -9002,9 +9246,9 @@ public static function getDefaultDriver() * Verifies that the configuration is less than or equal to what is configured. * * @param array $value - * @return bool - * @internal - * @static + * @return bool + * @internal + * @static */ public static function verifyConfiguration($value) { @@ -9016,9 +9260,9 @@ public static function verifyConfiguration($value) * Get a driver instance. * * @param string|null $driver - * @return mixed + * @return mixed * @throws \InvalidArgumentException - * @static + * @static */ public static function driver($driver = null) { @@ -9032,8 +9276,8 @@ public static function driver($driver = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Hashing\HashManager - * @static + * @return \Illuminate\Hashing\HashManager + * @static */ public static function extend($driver, $callback) { @@ -9045,8 +9289,8 @@ public static function extend($driver, $callback) /** * Get all of the created "drivers". * - * @return array - * @static + * @return array + * @static */ public static function getDrivers() { @@ -9058,8 +9302,8 @@ public static function getDrivers() /** * Get the container instance used by the manager. * - * @return \Illuminate\Contracts\Container\Container - * @static + * @return \Illuminate\Contracts\Container\Container + * @static */ public static function getContainer() { @@ -9072,8 +9316,8 @@ public static function getContainer() * Set the container instance used by the manager. * * @param \Illuminate\Contracts\Container\Container $container - * @return \Illuminate\Hashing\HashManager - * @static + * @return \Illuminate\Hashing\HashManager + * @static */ public static function setContainer($container) { @@ -9085,8 +9329,8 @@ public static function setContainer($container) /** * Forget all of the resolved driver instances. * - * @return \Illuminate\Hashing\HashManager - * @static + * @return \Illuminate\Hashing\HashManager + * @static */ public static function forgetDrivers() { @@ -9097,8 +9341,6 @@ public static function forgetDrivers() } /** - * - * * @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url) * @method static \Illuminate\Http\Client\PendingRequest withBody(\Psr\Http\Message\StreamInterface|string $content, string $contentType = 'application/json') * @method static \Illuminate\Http\Client\PendingRequest asJson() @@ -9115,6 +9357,7 @@ public static function forgetDrivers() * @method static \Illuminate\Http\Client\PendingRequest replaceHeaders(array $headers) * @method static \Illuminate\Http\Client\PendingRequest withBasicAuth(string $username, string $password) * @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password) + * @method static \Illuminate\Http\Client\PendingRequest withNtlmAuth(string $username, string $password) * @method static \Illuminate\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer') * @method static \Illuminate\Http\Client\PendingRequest withUserAgent(string|bool $userAgent) * @method static \Illuminate\Http\Client\PendingRequest withUrlParameters(array $parameters = []) @@ -9130,20 +9373,23 @@ public static function forgetDrivers() * @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware) * @method static \Illuminate\Http\Client\PendingRequest withRequestMiddleware(callable $middleware) * @method static \Illuminate\Http\Client\PendingRequest withResponseMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest withAttributes(array $attributes) * @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest afterResponse(callable|null $callback) * @method static \Illuminate\Http\Client\PendingRequest throw(callable|null $callback = null) * @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition) * @method static \Illuminate\Http\Client\PendingRequest throwUnless(callable|bool $condition) * @method static \Illuminate\Http\Client\PendingRequest dump() * @method static \Illuminate\Http\Client\PendingRequest dd() - * @method static \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null) - * @method static \Illuminate\Http\Client\Response head(string $url, array|string|null $query = null) - * @method static \Illuminate\Http\Client\Response post(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response patch(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response put(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response delete(string $url, array $data = []) - * @method static array pool(callable $callback) - * @method static \Illuminate\Http\Client\Response send(string $method, string $url, array $options = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface get(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface head(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface post(string $url, array|\JsonSerializable|\Illuminate\Contracts\Support\Arrayable $data = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface patch(string $url, array|\JsonSerializable|\Illuminate\Contracts\Support\Arrayable $data = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface put(string $url, array|\JsonSerializable|\Illuminate\Contracts\Support\Arrayable $data = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface delete(string $url, array|\JsonSerializable|\Illuminate\Contracts\Support\Arrayable $data = []) + * @method static array pool(callable $callback, int|null $concurrency = null) + * @method static \Illuminate\Http\Client\Batch batch(callable $callback) + * @method static \Illuminate\Http\Client\Response|\Illuminate\Http\Client\Promises\LazyPromise send(string $method, string $url, array $options = []) * @method static \GuzzleHttp\Client buildClient() * @method static \GuzzleHttp\Client createClient(\GuzzleHttp\HandlerStack $handlerStack) * @method static \GuzzleHttp\HandlerStack buildHandlerStack() @@ -9151,11 +9397,14 @@ public static function forgetDrivers() * @method static \Closure buildBeforeSendingHandler() * @method static \Closure buildRecorderHandler() * @method static \Closure buildStubHandler() - * @method static \GuzzleHttp\Psr7\RequestInterface runBeforeSendingCallbacks(\GuzzleHttp\Psr7\RequestInterface $request, array $options) + * @method static \Psr\Http\Message\RequestInterface runBeforeSendingCallbacks(\Psr\Http\Message\RequestInterface $request, array $options) * @method static array mergeOptions(array ...$options) * @method static \Illuminate\Http\Client\PendingRequest stub(callable $callback) + * @method static bool isAllowedRequestUrl(string $url) * @method static \Illuminate\Http\Client\PendingRequest async(bool $async = true) * @method static \GuzzleHttp\Promise\PromiseInterface|null getPromise() + * @method static \Illuminate\Http\Client\PendingRequest truncateExceptionsAt(int $length) + * @method static \Illuminate\Http\Client\PendingRequest dontTruncateExceptions() * @method static \Illuminate\Http\Client\PendingRequest setClient(\GuzzleHttp\Client $client) * @method static \Illuminate\Http\Client\PendingRequest setHandler(callable $handler) * @method static array getOptions() @@ -9168,8 +9417,8 @@ class Http { * Add middleware to apply to every request. * * @param callable $middleware - * @return \Illuminate\Http\Client\Factory - * @static + * @return \Illuminate\Http\Client\Factory + * @static */ public static function globalMiddleware($middleware) { @@ -9181,8 +9430,8 @@ public static function globalMiddleware($middleware) * Add request middleware to apply to every request. * * @param callable $middleware - * @return \Illuminate\Http\Client\Factory - * @static + * @return \Illuminate\Http\Client\Factory + * @static */ public static function globalRequestMiddleware($middleware) { @@ -9194,8 +9443,8 @@ public static function globalRequestMiddleware($middleware) * Add response middleware to apply to every request. * * @param callable $middleware - * @return \Illuminate\Http\Client\Factory - * @static + * @return \Illuminate\Http\Client\Factory + * @static */ public static function globalResponseMiddleware($middleware) { @@ -9207,8 +9456,8 @@ public static function globalResponseMiddleware($middleware) * Set the options to apply to every request. * * @param \Closure|array $options - * @return \Illuminate\Http\Client\Factory - * @static + * @return \Illuminate\Http\Client\Factory + * @static */ public static function globalOptions($options) { @@ -9222,20 +9471,48 @@ public static function globalOptions($options) * @param array|string|null $body * @param int $status * @param array $headers - * @return \GuzzleHttp\Promise\PromiseInterface - * @static + * @return \GuzzleHttp\Promise\PromiseInterface + * @static */ public static function response($body = null, $status = 200, $headers = []) { return \Illuminate\Http\Client\Factory::response($body, $status, $headers); } + /** + * Create a new PSR-7 response instance for use during stubbing. + * + * @param array|string|null $body + * @param int $status + * @param array $headers + * @return \GuzzleHttp\Psr7\Response + * @static + */ + public static function psr7Response($body = null, $status = 200, $headers = []) + { + return \Illuminate\Http\Client\Factory::psr7Response($body, $status, $headers); + } + + /** + * Create a new RequestException instance for use during stubbing. + * + * @param array|string|null $body + * @param int $status + * @param array $headers + * @return \Illuminate\Http\Client\RequestException + * @static + */ + public static function failedRequest($body = null, $status = 200, $headers = []) + { + return \Illuminate\Http\Client\Factory::failedRequest($body, $status, $headers); + } + /** * Create a new connection exception for use during stubbing. * * @param string|null $message - * @return \GuzzleHttp\Promise\PromiseInterface - * @static + * @return \Closure(\Illuminate\Http\Client\Request): \GuzzleHttp\Promise\PromiseInterface + * @static */ public static function failedConnection($message = null) { @@ -9246,8 +9523,8 @@ public static function failedConnection($message = null) * Get an invokable object that returns a sequence of responses in order for use during stubbing. * * @param array $responses - * @return \Illuminate\Http\Client\ResponseSequence - * @static + * @return \Illuminate\Http\Client\ResponseSequence + * @static */ public static function sequence($responses = []) { @@ -9258,9 +9535,9 @@ public static function sequence($responses = []) /** * Register a stub callable that will intercept requests and be able to return stub responses. * - * @param callable|array|null $callback - * @return \Illuminate\Http\Client\Factory - * @static + * @param callable|array|null $callback + * @return \Illuminate\Http\Client\Factory + * @static */ public static function fake($callback = null) { @@ -9272,8 +9549,8 @@ public static function fake($callback = null) * Register a response sequence for the given URL pattern. * * @param string $url - * @return \Illuminate\Http\Client\ResponseSequence - * @static + * @return \Illuminate\Http\Client\ResponseSequence + * @static */ public static function fakeSequence($url = '*') { @@ -9285,9 +9562,9 @@ public static function fakeSequence($url = '*') * Stub the given URL using the given callback. * * @param string $url - * @param \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface|callable|int|string|array $callback - * @return \Illuminate\Http\Client\Factory - * @static + * @param \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface|callable|int|string|array|\Illuminate\Http\Client\ResponseSequence $callback + * @return \Illuminate\Http\Client\Factory + * @static */ public static function stubUrl($url, $callback) { @@ -9299,8 +9576,8 @@ public static function stubUrl($url, $callback) * Indicate that an exception should be thrown if any request is not faked. * * @param bool $prevent - * @return \Illuminate\Http\Client\Factory - * @static + * @return \Illuminate\Http\Client\Factory + * @static */ public static function preventStrayRequests($prevent = true) { @@ -9311,8 +9588,8 @@ public static function preventStrayRequests($prevent = true) /** * Determine if stray requests are being prevented. * - * @return bool - * @static + * @return bool + * @static */ public static function preventingStrayRequests() { @@ -9321,15 +9598,28 @@ public static function preventingStrayRequests() } /** - * Indicate that an exception should not be thrown if any request is not faked. + * Allow stray, unfaked requests entirely, or optionally allow only specific URLs. + * + * @param array|null $only + * @return \Illuminate\Http\Client\Factory + * @static + */ + public static function allowStrayRequests($only = null) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->allowStrayRequests($only); + } + + /** + * Begin recording request / response pairs. * - * @return \Illuminate\Http\Client\Factory - * @static + * @return \Illuminate\Http\Client\Factory + * @static */ - public static function allowStrayRequests() + public static function record() { /** @var \Illuminate\Http\Client\Factory $instance */ - return $instance->allowStrayRequests(); + return $instance->record(); } /** @@ -9337,8 +9627,8 @@ public static function allowStrayRequests() * * @param \Illuminate\Http\Client\Request $request * @param \Illuminate\Http\Client\Response|null $response - * @return void - * @static + * @return void + * @static */ public static function recordRequestResponsePair($request, $response) { @@ -9349,9 +9639,9 @@ public static function recordRequestResponsePair($request, $response) /** * Assert that a request / response pair was recorded matching a given truth test. * - * @param callable $callback - * @return void - * @static + * @param callable|(\Closure(\Illuminate\Http\Client\Request, \Illuminate\Http\Client\Response|null): bool) $callback + * @return void + * @static */ public static function assertSent($callback) { @@ -9362,9 +9652,9 @@ public static function assertSent($callback) /** * Assert that the given request was sent in the given order. * - * @param array $callbacks - * @return void - * @static + * @param list $callbacks + * @return void + * @static */ public static function assertSentInOrder($callbacks) { @@ -9375,9 +9665,9 @@ public static function assertSentInOrder($callbacks) /** * Assert that a request / response pair was not recorded matching a given truth test. * - * @param callable $callback - * @return void - * @static + * @param callable|(\Closure(\Illuminate\Http\Client\Request, \Illuminate\Http\Client\Response|null): bool) $callback + * @return void + * @static */ public static function assertNotSent($callback) { @@ -9388,8 +9678,8 @@ public static function assertNotSent($callback) /** * Assert that no request / response pair was recorded. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingSent() { @@ -9401,8 +9691,8 @@ public static function assertNothingSent() * Assert how many requests have been recorded. * * @param int $count - * @return void - * @static + * @return void + * @static */ public static function assertSentCount($count) { @@ -9413,8 +9703,8 @@ public static function assertSentCount($count) /** * Assert that every created response sequence is empty. * - * @return void - * @static + * @return void + * @static */ public static function assertSequencesAreEmpty() { @@ -9425,9 +9715,9 @@ public static function assertSequencesAreEmpty() /** * Get a collection of the request / response pairs matching the given truth test. * - * @param callable $callback - * @return \Illuminate\Support\Collection - * @static + * @param (\Closure(\Illuminate\Http\Client\Request, \Illuminate\Http\Client\Response|null): bool)|callable $callback + * @return \Illuminate\Support\Collection + * @static */ public static function recorded($callback = null) { @@ -9438,8 +9728,8 @@ public static function recorded($callback = null) /** * Create a new pending request instance for this factory. * - * @return \Illuminate\Http\Client\PendingRequest - * @static + * @return \Illuminate\Http\Client\PendingRequest + * @static */ public static function createPendingRequest() { @@ -9450,8 +9740,8 @@ public static function createPendingRequest() /** * Get the current event dispatcher implementation. * - * @return \Illuminate\Contracts\Events\Dispatcher|null - * @static + * @return \Illuminate\Contracts\Events\Dispatcher|null + * @static */ public static function getDispatcher() { @@ -9462,8 +9752,8 @@ public static function getDispatcher() /** * Get the array of global middleware. * - * @return array - * @static + * @return array + * @static */ public static function getGlobalMiddleware() { @@ -9477,8 +9767,8 @@ public static function getGlobalMiddleware() * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -9490,9 +9780,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -9503,8 +9793,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -9514,8 +9804,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -9527,9 +9817,9 @@ public static function flushMacros() * * @param string $method * @param array $parameters - * @return mixed + * @return mixed * @throws \BadMethodCallException - * @static + * @static */ public static function macroCall($method, $parameters) { @@ -9539,8 +9829,6 @@ public static function macroCall($method, $parameters) } /** - * - * * @see \Illuminate\Translation\Translator */ class Lang { @@ -9549,8 +9837,8 @@ class Lang { * * @param string $key * @param string|null $locale - * @return bool - * @static + * @return bool + * @static */ public static function hasForLocale($key, $locale = null) { @@ -9564,8 +9852,8 @@ public static function hasForLocale($key, $locale = null) * @param string $key * @param string|null $locale * @param bool $fallback - * @return bool - * @static + * @return bool + * @static */ public static function has($key, $locale = null, $fallback = true) { @@ -9580,8 +9868,8 @@ public static function has($key, $locale = null, $fallback = true) * @param array $replace * @param string|null $locale * @param bool $fallback - * @return string|array - * @static + * @return string|array + * @static */ public static function get($key, $replace = [], $locale = null, $fallback = true) { @@ -9596,8 +9884,8 @@ public static function get($key, $replace = [], $locale = null, $fallback = true * @param \Countable|int|float|array $number * @param array $replace * @param string|null $locale - * @return string - * @static + * @return string + * @static */ public static function choice($key, $number, $replace = [], $locale = null) { @@ -9611,8 +9899,8 @@ public static function choice($key, $number, $replace = [], $locale = null) * @param array $lines * @param string $locale * @param string $namespace - * @return void - * @static + * @return void + * @static */ public static function addLines($lines, $locale, $namespace = '*') { @@ -9626,8 +9914,8 @@ public static function addLines($lines, $locale, $namespace = '*') * @param string $namespace * @param string $group * @param string $locale - * @return void - * @static + * @return void + * @static */ public static function load($namespace, $group, $locale) { @@ -9639,8 +9927,8 @@ public static function load($namespace, $group, $locale) * Register a callback that is responsible for handling missing translation keys. * * @param callable|null $callback - * @return static - * @static + * @return static + * @static */ public static function handleMissingKeysUsing($callback) { @@ -9653,8 +9941,8 @@ public static function handleMissingKeysUsing($callback) * * @param string $namespace * @param string $hint - * @return void - * @static + * @return void + * @static */ public static function addNamespace($namespace, $hint) { @@ -9666,8 +9954,8 @@ public static function addNamespace($namespace, $hint) * Add a new path to the loader. * * @param string $path - * @return void - * @static + * @return void + * @static */ public static function addPath($path) { @@ -9679,8 +9967,8 @@ public static function addPath($path) * Add a new JSON path to the loader. * * @param string $path - * @return void - * @static + * @return void + * @static */ public static function addJsonPath($path) { @@ -9692,8 +9980,8 @@ public static function addJsonPath($path) * Parse a key into namespace, group, and item. * * @param string $key - * @return array - * @static + * @return array + * @static */ public static function parseKey($key) { @@ -9705,8 +9993,8 @@ public static function parseKey($key) * Specify a callback that should be invoked to determined the applicable locale array. * * @param callable $callback - * @return void - * @static + * @return void + * @static */ public static function determineLocalesUsing($callback) { @@ -9717,8 +10005,8 @@ public static function determineLocalesUsing($callback) /** * Get the message selector instance. * - * @return \Illuminate\Translation\MessageSelector - * @static + * @return \Illuminate\Translation\MessageSelector + * @static */ public static function getSelector() { @@ -9730,8 +10018,8 @@ public static function getSelector() * Set the message selector instance. * * @param \Illuminate\Translation\MessageSelector $selector - * @return void - * @static + * @return void + * @static */ public static function setSelector($selector) { @@ -9742,8 +10030,8 @@ public static function setSelector($selector) /** * Get the language line loader implementation. * - * @return \Illuminate\Contracts\Translation\Loader - * @static + * @return \Illuminate\Contracts\Translation\Loader + * @static */ public static function getLoader() { @@ -9754,8 +10042,8 @@ public static function getLoader() /** * Get the default locale being used. * - * @return string - * @static + * @return string + * @static */ public static function locale() { @@ -9766,8 +10054,8 @@ public static function locale() /** * Get the default locale being used. * - * @return string - * @static + * @return string + * @static */ public static function getLocale() { @@ -9779,9 +10067,9 @@ public static function getLocale() * Set the default locale. * * @param string $locale - * @return void + * @return void * @throws \InvalidArgumentException - * @static + * @static */ public static function setLocale($locale) { @@ -9792,8 +10080,8 @@ public static function setLocale($locale) /** * Get the fallback locale being used. * - * @return string - * @static + * @return string + * @static */ public static function getFallback() { @@ -9805,8 +10093,8 @@ public static function getFallback() * Set the fallback locale being used. * * @param string $fallback - * @return void - * @static + * @return void + * @static */ public static function setFallback($fallback) { @@ -9818,8 +10106,8 @@ public static function setFallback($fallback) * Set the loaded translation groups. * * @param array $loaded - * @return void - * @static + * @return void + * @static */ public static function setLoaded($loaded) { @@ -9832,8 +10120,8 @@ public static function setLoaded($loaded) * * @param callable|string $class * @param callable|null $handler - * @return void - * @static + * @return void + * @static */ public static function stringable($class, $handler = null) { @@ -9846,8 +10134,8 @@ public static function stringable($class, $handler = null) * * @param string $key * @param array $parsed - * @return void - * @static + * @return void + * @static */ public static function setParsedKey($key, $parsed) { @@ -9859,8 +10147,8 @@ public static function setParsedKey($key, $parsed) /** * Flush the cache of parsed keys. * - * @return void - * @static + * @return void + * @static */ public static function flushParsedKeys() { @@ -9875,8 +10163,8 @@ public static function flushParsedKeys() * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -9888,9 +10176,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -9901,8 +10189,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -9912,8 +10200,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -9922,13 +10210,11 @@ public static function flushMacros() } /** - * - * * @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []) * @method static \Illuminate\Log\Logger withContext(array $context = []) * @method static void listen(\Closure $callback) * @method static \Psr\Log\LoggerInterface getLogger() - * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() + * @method static \Illuminate\Contracts\Events\Dispatcher|null getEventDispatcher() * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher) * @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) @@ -9939,8 +10225,8 @@ class Log { * Build an on-demand log channel. * * @param array $config - * @return \Psr\Log\LoggerInterface - * @static + * @return \Psr\Log\LoggerInterface + * @static */ public static function build($config) { @@ -9953,8 +10239,8 @@ public static function build($config) * * @param array $channels * @param string|null $channel - * @return \Psr\Log\LoggerInterface - * @static + * @return \Psr\Log\LoggerInterface + * @static */ public static function stack($channels, $channel = null) { @@ -9966,8 +10252,8 @@ public static function stack($channels, $channel = null) * Get a log channel instance. * * @param string|null $channel - * @return \Psr\Log\LoggerInterface - * @static + * @return \Psr\Log\LoggerInterface + * @static */ public static function channel($channel = null) { @@ -9979,8 +10265,8 @@ public static function channel($channel = null) * Get a log driver instance. * * @param string|null $driver - * @return \Psr\Log\LoggerInterface - * @static + * @return \Psr\Log\LoggerInterface + * @static */ public static function driver($driver = null) { @@ -9992,8 +10278,8 @@ public static function driver($driver = null) * Share context across channels and stacks. * * @param array $context - * @return \Illuminate\Log\LogManager - * @static + * @return \Illuminate\Log\LogManager + * @static */ public static function shareContext($context) { @@ -10004,8 +10290,8 @@ public static function shareContext($context) /** * The context shared across channels and stacks. * - * @return array - * @static + * @return array + * @static */ public static function sharedContext() { @@ -10016,20 +10302,21 @@ public static function sharedContext() /** * Flush the log context on all currently resolved channels. * - * @return \Illuminate\Log\LogManager - * @static + * @param string[]|null $keys + * @return \Illuminate\Log\LogManager + * @static */ - public static function withoutContext() + public static function withoutContext($keys = null) { /** @var \Illuminate\Log\LogManager $instance */ - return $instance->withoutContext(); + return $instance->withoutContext($keys); } /** * Flush the shared context. * - * @return \Illuminate\Log\LogManager - * @static + * @return \Illuminate\Log\LogManager + * @static */ public static function flushSharedContext() { @@ -10040,8 +10327,8 @@ public static function flushSharedContext() /** * Get the default log driver name. * - * @return string|null - * @static + * @return string|null + * @static */ public static function getDefaultDriver() { @@ -10053,8 +10340,8 @@ public static function getDefaultDriver() * Set the default log driver name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -10067,8 +10354,9 @@ public static function setDefaultDriver($name) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Log\LogManager - * @static + * @param-closure-this $this $callback + * @return \Illuminate\Log\LogManager + * @static */ public static function extend($driver, $callback) { @@ -10080,8 +10368,8 @@ public static function extend($driver, $callback) * Unset the given channel instance. * * @param string|null $driver - * @return void - * @static + * @return void + * @static */ public static function forgetChannel($driver = null) { @@ -10092,8 +10380,8 @@ public static function forgetChannel($driver = null) /** * Get all of the resolved log channels. * - * @return array - * @static + * @return array + * @static */ public static function getChannels() { @@ -10106,8 +10394,8 @@ public static function getChannels() * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function emergency($message, $context = []) { @@ -10117,14 +10405,14 @@ public static function emergency($message, $context = []) /** * Action must be taken immediately. - * + * * Example: Entire website down, database unavailable, etc. This should * trigger the SMS alerts and wake you up. * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function alert($message, $context = []) { @@ -10134,13 +10422,13 @@ public static function alert($message, $context = []) /** * Critical conditions. - * + * * Example: Application component unavailable, unexpected exception. * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function critical($message, $context = []) { @@ -10154,8 +10442,8 @@ public static function critical($message, $context = []) * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function error($message, $context = []) { @@ -10165,14 +10453,14 @@ public static function error($message, $context = []) /** * Exceptional occurrences that are not errors. - * + * * Example: Use of deprecated APIs, poor use of an API, undesirable things * that are not necessarily wrong. * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function warning($message, $context = []) { @@ -10185,8 +10473,8 @@ public static function warning($message, $context = []) * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function notice($message, $context = []) { @@ -10196,13 +10484,13 @@ public static function notice($message, $context = []) /** * Interesting events. - * + * * Example: User logs in, SQL logs. * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function info($message, $context = []) { @@ -10215,8 +10503,8 @@ public static function info($message, $context = []) * * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function debug($message, $context = []) { @@ -10230,8 +10518,8 @@ public static function debug($message, $context = []) * @param mixed $level * @param string|\Stringable $message * @param array $context - * @return void - * @static + * @return void + * @static */ public static function log($level, $message, $context = []) { @@ -10243,8 +10531,8 @@ public static function log($level, $message, $context = []) * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Log\LogManager - * @static + * @return \Illuminate\Log\LogManager + * @static */ public static function setApplication($app) { @@ -10254,8 +10542,6 @@ public static function setApplication($app) } /** - * - * * @method static void alwaysFrom(string $address, string|null $name = null) * @method static void alwaysReplyTo(string $address, string|null $name = null) * @method static void alwaysReturnPath(string $address) @@ -10282,8 +10568,8 @@ class Mail { * Get a mailer instance by name. * * @param string|null $name - * @return \Illuminate\Contracts\Mail\Mailer - * @static + * @return \Illuminate\Contracts\Mail\Mailer + * @static */ public static function mailer($name = null) { @@ -10295,8 +10581,8 @@ public static function mailer($name = null) * Get a mailer driver instance. * * @param string|null $driver - * @return \Illuminate\Mail\Mailer - * @static + * @return \Illuminate\Mail\Mailer + * @static */ public static function driver($driver = null) { @@ -10308,8 +10594,8 @@ public static function driver($driver = null) * Build a new mailer instance. * * @param array $config - * @return \Illuminate\Mail\Mailer - * @static + * @return \Illuminate\Mail\Mailer + * @static */ public static function build($config) { @@ -10321,9 +10607,9 @@ public static function build($config) * Create a new transport instance. * * @param array $config - * @return \Symfony\Component\Mailer\Transport\TransportInterface + * @return \Symfony\Component\Mailer\Transport\TransportInterface * @throws \InvalidArgumentException - * @static + * @static */ public static function createSymfonyTransport($config) { @@ -10334,8 +10620,8 @@ public static function createSymfonyTransport($config) /** * Get the default mail driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -10347,8 +10633,8 @@ public static function getDefaultDriver() * Set the default mail driver name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -10360,8 +10646,8 @@ public static function setDefaultDriver($name) * Disconnect the given mailer and remove from local cache. * * @param string|null $name - * @return void - * @static + * @return void + * @static */ public static function purge($name = null) { @@ -10374,8 +10660,8 @@ public static function purge($name = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Mail\MailManager - * @static + * @return \Illuminate\Mail\MailManager + * @static */ public static function extend($driver, $callback) { @@ -10386,8 +10672,8 @@ public static function extend($driver, $callback) /** * Get the application instance used by the manager. * - * @return \Illuminate\Contracts\Foundation\Application - * @static + * @return \Illuminate\Contracts\Foundation\Application + * @static */ public static function getApplication() { @@ -10399,8 +10685,8 @@ public static function getApplication() * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Mail\MailManager - * @static + * @return \Illuminate\Mail\MailManager + * @static */ public static function setApplication($app) { @@ -10411,8 +10697,8 @@ public static function setApplication($app) /** * Forget all of the resolved mailer instances. * - * @return \Illuminate\Mail\MailManager - * @static + * @return \Illuminate\Mail\MailManager + * @static */ public static function forgetMailers() { @@ -10425,8 +10711,8 @@ public static function forgetMailers() * * @param string|\Closure $mailable * @param callable|array|string|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertSent($mailable, $callback = null) { @@ -10434,13 +10720,27 @@ public static function assertSent($mailable, $callback = null) $instance->assertSent($mailable, $callback); } + /** + * Assert if a mailable was sent a number of times. + * + * @param string $mailable + * @param int $times + * @return void + * @static + */ + public static function assertSentTimes($mailable, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->assertSentTimes($mailable, $times); + } + /** * Determine if a mailable was not sent or queued to be sent based on a truth-test callback. * * @param string|\Closure $mailable * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotOutgoing($mailable, $callback = null) { @@ -10453,8 +10753,8 @@ public static function assertNotOutgoing($mailable, $callback = null) * * @param string|\Closure $mailable * @param callable|array|string|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotSent($mailable, $callback = null) { @@ -10465,8 +10765,8 @@ public static function assertNotSent($mailable, $callback = null) /** * Assert that no mailables were sent or queued to be sent. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingOutgoing() { @@ -10477,8 +10777,8 @@ public static function assertNothingOutgoing() /** * Assert that no mailables were sent. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingSent() { @@ -10491,8 +10791,8 @@ public static function assertNothingSent() * * @param string|\Closure $mailable * @param callable|array|string|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertQueued($mailable, $callback = null) { @@ -10505,8 +10805,8 @@ public static function assertQueued($mailable, $callback = null) * * @param string|\Closure $mailable * @param callable|array|string|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotQueued($mailable, $callback = null) { @@ -10517,8 +10817,8 @@ public static function assertNotQueued($mailable, $callback = null) /** * Assert that no mailables were queued. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingQueued() { @@ -10530,8 +10830,8 @@ public static function assertNothingQueued() * Assert the total number of mailables that were sent. * * @param int $count - * @return void - * @static + * @return void + * @static */ public static function assertSentCount($count) { @@ -10543,8 +10843,8 @@ public static function assertSentCount($count) * Assert the total number of mailables that were queued. * * @param int $count - * @return void - * @static + * @return void + * @static */ public static function assertQueuedCount($count) { @@ -10556,8 +10856,8 @@ public static function assertQueuedCount($count) * Assert the total number of mailables that were sent or queued. * * @param int $count - * @return void - * @static + * @return void + * @static */ public static function assertOutgoingCount($count) { @@ -10570,8 +10870,8 @@ public static function assertOutgoingCount($count) * * @param string|\Closure $mailable * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function sent($mailable, $callback = null) { @@ -10583,8 +10883,8 @@ public static function sent($mailable, $callback = null) * Determine if the given mailable has been sent. * * @param string $mailable - * @return bool - * @static + * @return bool + * @static */ public static function hasSent($mailable) { @@ -10597,8 +10897,8 @@ public static function hasSent($mailable) * * @param string|\Closure $mailable * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function queued($mailable, $callback = null) { @@ -10610,8 +10910,8 @@ public static function queued($mailable, $callback = null) * Determine if the given mailable has been queued. * * @param string $mailable - * @return bool - * @static + * @return bool + * @static */ public static function hasQueued($mailable) { @@ -10623,8 +10923,8 @@ public static function hasQueued($mailable) * Begin the process of mailing a mailable class instance. * * @param mixed $users - * @return \Illuminate\Mail\PendingMail - * @static + * @return \Illuminate\Mail\PendingMail + * @static */ public static function to($users) { @@ -10636,8 +10936,8 @@ public static function to($users) * Begin the process of mailing a mailable class instance. * * @param mixed $users - * @return \Illuminate\Mail\PendingMail - * @static + * @return \Illuminate\Mail\PendingMail + * @static */ public static function cc($users) { @@ -10649,8 +10949,8 @@ public static function cc($users) * Begin the process of mailing a mailable class instance. * * @param mixed $users - * @return \Illuminate\Mail\PendingMail - * @static + * @return \Illuminate\Mail\PendingMail + * @static */ public static function bcc($users) { @@ -10663,8 +10963,8 @@ public static function bcc($users) * * @param string $text * @param \Closure|string $callback - * @return void - * @static + * @return void + * @static */ public static function raw($text, $callback) { @@ -10678,8 +10978,8 @@ public static function raw($text, $callback) * @param \Illuminate\Contracts\Mail\Mailable|string|array $view * @param array $data * @param \Closure|string|null $callback - * @return mixed|void - * @static + * @return mixed|void + * @static */ public static function send($view, $data = [], $callback = null) { @@ -10693,8 +10993,8 @@ public static function send($view, $data = [], $callback = null) * @param \Illuminate\Contracts\Mail\Mailable|string|array $mailable * @param array $data * @param \Closure|string|null $callback - * @return void - * @static + * @return void + * @static */ public static function sendNow($mailable, $data = [], $callback = null) { @@ -10707,8 +11007,8 @@ public static function sendNow($mailable, $data = [], $callback = null) * * @param \Illuminate\Contracts\Mail\Mailable|string|array $view * @param string|null $queue - * @return mixed - * @static + * @return mixed + * @static */ public static function queue($view, $queue = null) { @@ -10722,8 +11022,8 @@ public static function queue($view, $queue = null) * @param \DateTimeInterface|\DateInterval|int $delay * @param \Illuminate\Contracts\Mail\Mailable|string|array $view * @param string|null $queue - * @return mixed - * @static + * @return mixed + * @static */ public static function later($delay, $view, $queue = null) { @@ -10733,8 +11033,6 @@ public static function later($delay, $view, $queue = null) } /** - * - * * @see \Illuminate\Notifications\ChannelManager * @see \Illuminate\Support\Testing\Fakes\NotificationFake */ @@ -10742,10 +11040,10 @@ class Notification { /** * Send the given notification to the given notifiable entities. * - * @param \Illuminate\Support\Collection|array|mixed $notifiables + * @param \Illuminate\Support\Collection|mixed $notifiables * @param mixed $notification - * @return void - * @static + * @return void + * @static */ public static function send($notifiables, $notification) { @@ -10756,11 +11054,11 @@ public static function send($notifiables, $notification) /** * Send the given notification immediately. * - * @param \Illuminate\Support\Collection|array|mixed $notifiables + * @param \Illuminate\Support\Collection|mixed $notifiables * @param mixed $notification * @param array|null $channels - * @return void - * @static + * @return void + * @static */ public static function sendNow($notifiables, $notification, $channels = null) { @@ -10772,8 +11070,8 @@ public static function sendNow($notifiables, $notification, $channels = null) * Get a channel instance. * * @param string|null $name - * @return mixed - * @static + * @return mixed + * @static */ public static function channel($name = null) { @@ -10784,8 +11082,8 @@ public static function channel($name = null) /** * Get the default channel driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -10796,8 +11094,8 @@ public static function getDefaultDriver() /** * Get the default channel driver name. * - * @return string - * @static + * @return string + * @static */ public static function deliversVia() { @@ -10809,8 +11107,8 @@ public static function deliversVia() * Set the default channel driver name. * * @param string $channel - * @return void - * @static + * @return void + * @static */ public static function deliverVia($channel) { @@ -10822,8 +11120,8 @@ public static function deliverVia($channel) * Set the locale of notifications. * * @param string $locale - * @return \Illuminate\Notifications\ChannelManager - * @static + * @return \Illuminate\Notifications\ChannelManager + * @static */ public static function locale($locale) { @@ -10835,9 +11133,9 @@ public static function locale($locale) * Get a driver instance. * * @param string|null $driver - * @return mixed + * @return mixed * @throws \InvalidArgumentException - * @static + * @static */ public static function driver($driver = null) { @@ -10851,8 +11149,8 @@ public static function driver($driver = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Notifications\ChannelManager - * @static + * @return \Illuminate\Notifications\ChannelManager + * @static */ public static function extend($driver, $callback) { @@ -10864,8 +11162,8 @@ public static function extend($driver, $callback) /** * Get all of the created "drivers". * - * @return array - * @static + * @return array + * @static */ public static function getDrivers() { @@ -10877,8 +11175,8 @@ public static function getDrivers() /** * Get the container instance used by the manager. * - * @return \Illuminate\Contracts\Container\Container - * @static + * @return \Illuminate\Contracts\Container\Container + * @static */ public static function getContainer() { @@ -10891,8 +11189,8 @@ public static function getContainer() * Set the container instance used by the manager. * * @param \Illuminate\Contracts\Container\Container $container - * @return \Illuminate\Notifications\ChannelManager - * @static + * @return \Illuminate\Notifications\ChannelManager + * @static */ public static function setContainer($container) { @@ -10904,8 +11202,8 @@ public static function setContainer($container) /** * Forget all of the resolved driver instances. * - * @return \Illuminate\Notifications\ChannelManager - * @static + * @return \Illuminate\Notifications\ChannelManager + * @static */ public static function forgetDrivers() { @@ -10914,14 +11212,65 @@ public static function forgetDrivers() return $instance->forgetDrivers(); } + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Notifications\ChannelManager::macro($name, $macro); + } + + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Notifications\ChannelManager::mixin($mixin, $replace); + } + + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Notifications\ChannelManager::hasMacro($name); + } + + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Notifications\ChannelManager::flushMacros(); + } + /** * Assert if a notification was sent on-demand based on a truth-test callback. * * @param string|\Closure $notification * @param callable|null $callback - * @return void + * @return void * @throws \Exception - * @static + * @static */ public static function assertSentOnDemand($notification, $callback = null) { @@ -10935,9 +11284,9 @@ public static function assertSentOnDemand($notification, $callback = null) * @param mixed $notifiable * @param string|\Closure $notification * @param callable|null $callback - * @return void + * @return void * @throws \Exception - * @static + * @static */ public static function assertSentTo($notifiable, $notification, $callback = null) { @@ -10950,8 +11299,8 @@ public static function assertSentTo($notifiable, $notification, $callback = null * * @param string $notification * @param int $times - * @return void - * @static + * @return void + * @static */ public static function assertSentOnDemandTimes($notification, $times = 1) { @@ -10965,8 +11314,8 @@ public static function assertSentOnDemandTimes($notification, $times = 1) * @param mixed $notifiable * @param string $notification * @param int $times - * @return void - * @static + * @return void + * @static */ public static function assertSentToTimes($notifiable, $notification, $times = 1) { @@ -10980,9 +11329,9 @@ public static function assertSentToTimes($notifiable, $notification, $times = 1) * @param mixed $notifiable * @param string|\Closure $notification * @param callable|null $callback - * @return void + * @return void * @throws \Exception - * @static + * @static */ public static function assertNotSentTo($notifiable, $notification, $callback = null) { @@ -10993,8 +11342,8 @@ public static function assertNotSentTo($notifiable, $notification, $callback = n /** * Assert that no notifications were sent. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingSent() { @@ -11006,9 +11355,9 @@ public static function assertNothingSent() * Assert that no notifications were sent to the given notifiable. * * @param mixed $notifiable - * @return void + * @return void * @throws \Exception - * @static + * @static */ public static function assertNothingSentTo($notifiable) { @@ -11021,8 +11370,8 @@ public static function assertNothingSentTo($notifiable) * * @param string $notification * @param int $expectedCount - * @return void - * @static + * @return void + * @static */ public static function assertSentTimes($notification, $expectedCount) { @@ -11034,8 +11383,8 @@ public static function assertSentTimes($notification, $expectedCount) * Assert the total count of notification that were sent. * * @param int $expectedCount - * @return void - * @static + * @return void + * @static */ public static function assertCount($expectedCount) { @@ -11049,8 +11398,8 @@ public static function assertCount($expectedCount) * @param mixed $notifiable * @param string $notification * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function sent($notifiable, $notification, $callback = null) { @@ -11063,8 +11412,8 @@ public static function sent($notifiable, $notification, $callback = null) * * @param mixed $notifiable * @param string $notification - * @return bool - * @static + * @return bool + * @static */ public static function hasSent($notifiable, $notification) { @@ -11076,8 +11425,8 @@ public static function hasSent($notifiable, $notification) * Specify if notification should be serialized and restored when being "pushed" to the queue. * * @param bool $serializeAndRestore - * @return \Illuminate\Support\Testing\Fakes\NotificationFake - * @static + * @return \Illuminate\Support\Testing\Fakes\NotificationFake + * @static */ public static function serializeAndRestore($serializeAndRestore = true) { @@ -11088,8 +11437,8 @@ public static function serializeAndRestore($serializeAndRestore = true) /** * Get the notifications that have been sent. * - * @return array - * @static + * @return array + * @static */ public static function sentNotifications() { @@ -11097,61 +11446,8 @@ public static function sentNotifications() return $instance->sentNotifications(); } - /** - * Register a custom macro. - * - * @param string $name - * @param object|callable $macro - * @param-closure-this static $macro - * @return void - * @static - */ - public static function macro($name, $macro) - { - \Illuminate\Support\Testing\Fakes\NotificationFake::macro($name, $macro); - } - - /** - * Mix another object into the class. - * - * @param object $mixin - * @param bool $replace - * @return void - * @throws \ReflectionException - * @static - */ - public static function mixin($mixin, $replace = true) - { - \Illuminate\Support\Testing\Fakes\NotificationFake::mixin($mixin, $replace); - } - - /** - * Checks if macro is registered. - * - * @param string $name - * @return bool - * @static - */ - public static function hasMacro($name) - { - return \Illuminate\Support\Testing\Fakes\NotificationFake::hasMacro($name); - } - - /** - * Flush the existing macros. - * - * @return void - * @static - */ - public static function flushMacros() - { - \Illuminate\Support\Testing\Fakes\NotificationFake::flushMacros(); - } - } /** - * - * * @method static string sendResetLink(array $credentials, \Closure|null $callback = null) * @method static mixed reset(array $credentials, \Closure $callback) * @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials) @@ -11168,8 +11464,8 @@ class Password { * Attempt to get the broker from the local cache. * * @param string|null $name - * @return \Illuminate\Contracts\Auth\PasswordBroker - * @static + * @return \Illuminate\Contracts\Auth\PasswordBroker + * @static */ public static function broker($name = null) { @@ -11180,8 +11476,8 @@ public static function broker($name = null) /** * Get the default password broker name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -11193,8 +11489,8 @@ public static function getDefaultDriver() * Set the default password broker name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -11204,8 +11500,6 @@ public static function setDefaultDriver($name) } /** - * - * * @see \Illuminate\Queue\QueueManager * @see \Illuminate\Queue\Queue * @see \Illuminate\Support\Testing\Fakes\QueueFake @@ -11215,8 +11509,8 @@ class Queue { * Register an event listener for the before job event. * * @param mixed $callback - * @return void - * @static + * @return void + * @static */ public static function before($callback) { @@ -11228,8 +11522,8 @@ public static function before($callback) * Register an event listener for the after job event. * * @param mixed $callback - * @return void - * @static + * @return void + * @static */ public static function after($callback) { @@ -11241,8 +11535,8 @@ public static function after($callback) * Register an event listener for the exception occurred job event. * * @param mixed $callback - * @return void - * @static + * @return void + * @static */ public static function exceptionOccurred($callback) { @@ -11254,8 +11548,8 @@ public static function exceptionOccurred($callback) * Register an event listener for the daemon queue loop. * * @param mixed $callback - * @return void - * @static + * @return void + * @static */ public static function looping($callback) { @@ -11267,8 +11561,8 @@ public static function looping($callback) * Register an event listener for the failed job event. * * @param mixed $callback - * @return void - * @static + * @return void + * @static */ public static function failing($callback) { @@ -11276,12 +11570,25 @@ public static function failing($callback) $instance->failing($callback); } + /** + * Register an event listener for the daemon queue starting. + * + * @param mixed $callback + * @return void + * @static + */ + public static function starting($callback) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->starting($callback); + } + /** * Register an event listener for the daemon queue stopping. * * @param mixed $callback - * @return void - * @static + * @return void + * @static */ public static function stopping($callback) { @@ -11293,8 +11600,8 @@ public static function stopping($callback) * Determine if the driver is connected. * * @param string|null $name - * @return bool - * @static + * @return bool + * @static */ public static function connected($name = null) { @@ -11306,8 +11613,8 @@ public static function connected($name = null) * Resolve a queue connection instance. * * @param string|null $name - * @return \Illuminate\Contracts\Queue\Queue - * @static + * @return \Illuminate\Contracts\Queue\Queue + * @static */ public static function connection($name = null) { @@ -11315,13 +11622,84 @@ public static function connection($name = null) return $instance->connection($name); } + /** + * Pause a queue by its connection and name. + * + * @param string $connection + * @param string $queue + * @return void + * @static + */ + public static function pause($connection, $queue) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->pause($connection, $queue); + } + + /** + * Pause a queue by its connection and name for a given amount of time. + * + * @param string $connection + * @param string $queue + * @param \DateTimeInterface|\DateInterval|int $ttl + * @return void + * @static + */ + public static function pauseFor($connection, $queue, $ttl) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->pauseFor($connection, $queue, $ttl); + } + + /** + * Resume a paused queue by its connection and name. + * + * @param string $connection + * @param string $queue + * @return void + * @static + */ + public static function resume($connection, $queue) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->resume($connection, $queue); + } + + /** + * Determine if a queue is paused. + * + * @param string $connection + * @param string $queue + * @return bool + * @static + */ + public static function isPaused($connection, $queue) + { + /** @var \Illuminate\Queue\QueueManager $instance */ + return $instance->isPaused($connection, $queue); + } + + /** + * Indicate that queue workers should not poll for restart or pause signals. + * + * This prevents the workers from hitting the application cache to determine if they need to pause or restart. + * + * @return void + * @static + */ + public static function withoutInterruptionPolling() + { + /** @var \Illuminate\Queue\QueueManager $instance */ + $instance->withoutInterruptionPolling(); + } + /** * Add a queue connection resolver. * * @param string $driver * @param \Closure $resolver - * @return void - * @static + * @return void + * @static */ public static function extend($driver, $resolver) { @@ -11334,8 +11712,8 @@ public static function extend($driver, $resolver) * * @param string $driver * @param \Closure $resolver - * @return void - * @static + * @return void + * @static */ public static function addConnector($driver, $resolver) { @@ -11346,8 +11724,8 @@ public static function addConnector($driver, $resolver) /** * Get the name of the default queue connection. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -11359,8 +11737,8 @@ public static function getDefaultDriver() * Set the name of the default queue connection. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -11372,8 +11750,8 @@ public static function setDefaultDriver($name) * Get the full name for the given connection. * * @param string|null $connection - * @return string - * @static + * @return string + * @static */ public static function getName($connection = null) { @@ -11384,8 +11762,8 @@ public static function getName($connection = null) /** * Get the application instance used by the manager. * - * @return \Illuminate\Contracts\Foundation\Application - * @static + * @return \Illuminate\Contracts\Foundation\Application + * @static */ public static function getApplication() { @@ -11397,8 +11775,8 @@ public static function getApplication() * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Queue\QueueManager - * @static + * @return \Illuminate\Queue\QueueManager + * @static */ public static function setApplication($app) { @@ -11410,8 +11788,8 @@ public static function setApplication($app) * Specify the jobs that should be queued instead of faked. * * @param array|string $jobsToBeQueued - * @return \Illuminate\Support\Testing\Fakes\QueueFake - * @static + * @return \Illuminate\Support\Testing\Fakes\QueueFake + * @static */ public static function except($jobsToBeQueued) { @@ -11424,8 +11802,8 @@ public static function except($jobsToBeQueued) * * @param string|\Closure $job * @param callable|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertPushed($job, $callback = null) { @@ -11433,14 +11811,28 @@ public static function assertPushed($job, $callback = null) $instance->assertPushed($job, $callback); } + /** + * Assert if a job was pushed a number of times. + * + * @param string $job + * @param int $times + * @return void + * @static + */ + public static function assertPushedTimes($job, $times = 1) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertPushedTimes($job, $times); + } + /** * Assert if a job was pushed based on a truth-test callback. * * @param string $queue * @param string|\Closure $job * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertPushedOn($queue, $job, $callback = null) { @@ -11454,8 +11846,8 @@ public static function assertPushedOn($queue, $job, $callback = null) * @param string $job * @param array $expectedChain * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertPushedWithChain($job, $expectedChain = [], $callback = null) { @@ -11468,8 +11860,8 @@ public static function assertPushedWithChain($job, $expectedChain = [], $callbac * * @param string $job * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertPushedWithoutChain($job, $callback = null) { @@ -11481,8 +11873,8 @@ public static function assertPushedWithoutChain($job, $callback = null) * Assert if a closure was pushed based on a truth-test callback. * * @param callable|int|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertClosurePushed($callback = null) { @@ -11494,8 +11886,8 @@ public static function assertClosurePushed($callback = null) * Assert that a closure was not pushed based on a truth-test callback. * * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertClosureNotPushed($callback = null) { @@ -11508,8 +11900,8 @@ public static function assertClosureNotPushed($callback = null) * * @param string|\Closure $job * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function assertNotPushed($job, $callback = null) { @@ -11521,8 +11913,8 @@ public static function assertNotPushed($job, $callback = null) * Assert the total count of jobs that were pushed. * * @param int $expectedCount - * @return void - * @static + * @return void + * @static */ public static function assertCount($expectedCount) { @@ -11533,8 +11925,8 @@ public static function assertCount($expectedCount) /** * Assert that no jobs were pushed. * - * @return void - * @static + * @return void + * @static */ public static function assertNothingPushed() { @@ -11547,8 +11939,8 @@ public static function assertNothingPushed() * * @param string $job * @param callable|null $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function pushed($job, $callback = null) { @@ -11560,8 +11952,8 @@ public static function pushed($job, $callback = null) * Get all of the raw pushes matching a truth-test callback. * * @param null|\Closure(string, ?string, array): bool $callback - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function pushedRaw($callback = null) { @@ -11569,12 +11961,26 @@ public static function pushedRaw($callback = null) return $instance->pushedRaw($callback); } + /** + * Get all of the jobs by listener class, passing an optional truth-test callback. + * + * @param class-string $listenerClass + * @param (\Closure(mixed, \Illuminate\Events\CallQueuedListener, string|null, mixed): bool)|null $callback + * @return \Illuminate\Support\Collection + * @static + */ + public static function listenersPushed($listenerClass, $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->listenersPushed($listenerClass, $callback); + } + /** * Determine if there are any stored jobs for a given class. * * @param string $job - * @return bool - * @static + * @return bool + * @static */ public static function hasPushed($job) { @@ -11586,8 +11992,8 @@ public static function hasPushed($job) * Get the size of the queue. * * @param string|null $queue - * @return int - * @static + * @return int + * @static */ public static function size($queue = null) { @@ -11596,77 +12002,129 @@ public static function size($queue = null) } /** - * Push a new job onto the queue. + * Get the number of pending jobs. * - * @param string|object $job - * @param mixed $data * @param string|null $queue - * @return mixed - * @static + * @return int + * @static */ - public static function push($job, $data = '', $queue = null) + public static function pendingSize($queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ - return $instance->push($job, $data, $queue); + return $instance->pendingSize($queue); } /** - * Determine if a job should be faked or actually dispatched. + * Get the number of delayed jobs. * - * @param object $job - * @return bool - * @static + * @param string|null $queue + * @return int + * @static */ - public static function shouldFakeJob($job) + public static function delayedSize($queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ - return $instance->shouldFakeJob($job); + return $instance->delayedSize($queue); } /** - * Push a raw payload onto the queue. + * Get the number of reserved jobs. * - * @param string $payload * @param string|null $queue - * @param array $options - * @return mixed - * @static + * @return int + * @static */ - public static function pushRaw($payload, $queue = null, $options = []) + public static function reservedSize($queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ - return $instance->pushRaw($payload, $queue, $options); + return $instance->reservedSize($queue); } /** - * Push a new job onto the queue after (n) seconds. + * Get the creation timestamp of the oldest pending job, excluding delayed jobs. * - * @param \DateTimeInterface|\DateInterval|int $delay - * @param string|object $job - * @param mixed $data * @param string|null $queue - * @return mixed - * @static + * @return int|null + * @static */ - public static function later($delay, $job, $data = '', $queue = null) + public static function creationTimeOfOldestPendingJob($queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ - return $instance->later($delay, $job, $data, $queue); + return $instance->creationTimeOfOldestPendingJob($queue); } /** * Push a new job onto the queue. * - * @param string $queue * @param string|object $job * @param mixed $data - * @return mixed - * @static + * @param string|null $queue + * @return mixed + * @static */ - public static function pushOn($queue, $job, $data = '') + public static function push($job, $data = '', $queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ - return $instance->pushOn($queue, $job, $data); + return $instance->push($job, $data, $queue); + } + + /** + * Determine if a job should be faked or actually dispatched. + * + * @param object $job + * @return bool + * @static + */ + public static function shouldFakeJob($job) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->shouldFakeJob($job); + } + + /** + * Push a raw payload onto the queue. + * + * @param string $payload + * @param string|null $queue + * @param array $options + * @return mixed + * @static + */ + public static function pushRaw($payload, $queue = null, $options = []) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pushRaw($payload, $queue, $options); + } + + /** + * Push a new job onto the queue after (n) seconds. + * + * @param \DateTimeInterface|\DateInterval|int $delay + * @param string|object $job + * @param mixed $data + * @param string|null $queue + * @return mixed + * @static + */ + public static function later($delay, $job, $data = '', $queue = null) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->later($delay, $job, $data, $queue); + } + + /** + * Push a new job onto the queue. + * + * @param string $queue + * @param string|object $job + * @param mixed $data + * @return mixed + * @static + */ + public static function pushOn($queue, $job, $data = '') + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->pushOn($queue, $job, $data); } /** @@ -11676,8 +12134,8 @@ public static function pushOn($queue, $job, $data = '') * @param \DateTimeInterface|\DateInterval|int $delay * @param string|object $job * @param mixed $data - * @return mixed - * @static + * @return mixed + * @static */ public static function laterOn($queue, $delay, $job, $data = '') { @@ -11689,8 +12147,8 @@ public static function laterOn($queue, $delay, $job, $data = '') * Pop the next job off of the queue. * * @param string|null $queue - * @return \Illuminate\Contracts\Queue\Job|null - * @static + * @return \Illuminate\Contracts\Queue\Job|null + * @static */ public static function pop($queue = null) { @@ -11704,8 +12162,8 @@ public static function pop($queue = null) * @param array $jobs * @param mixed $data * @param string|null $queue - * @return mixed - * @static + * @return mixed + * @static */ public static function bulk($jobs, $data = '', $queue = null) { @@ -11716,8 +12174,8 @@ public static function bulk($jobs, $data = '', $queue = null) /** * Get the jobs that have been pushed. * - * @return array - * @static + * @return array + * @static */ public static function pushedJobs() { @@ -11728,8 +12186,8 @@ public static function pushedJobs() /** * Get the payloads that were pushed raw. * - * @return list - * @static + * @return list + * @static */ public static function rawPushes() { @@ -11741,8 +12199,8 @@ public static function rawPushes() * Specify if jobs should be serialized and restored when being "pushed" to the queue. * * @param bool $serializeAndRestore - * @return \Illuminate\Support\Testing\Fakes\QueueFake - * @static + * @return \Illuminate\Support\Testing\Fakes\QueueFake + * @static */ public static function serializeAndRestore($serializeAndRestore = true) { @@ -11750,11 +12208,23 @@ public static function serializeAndRestore($serializeAndRestore = true) return $instance->serializeAndRestore($serializeAndRestore); } + /** + * Release the locks for all unique jobs that were pushed. + * + * @return void + * @static + */ + public static function releaseUniqueJobLocks() + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->releaseUniqueJobLocks(); + } + /** * Get the connection name for the queue. * - * @return string - * @static + * @return string + * @static */ public static function getConnectionName() { @@ -11766,8 +12236,8 @@ public static function getConnectionName() * Set the connection name for the queue. * * @param string $name - * @return \Illuminate\Support\Testing\Fakes\QueueFake - * @static + * @return \Illuminate\Support\Testing\Fakes\QueueFake + * @static */ public static function setConnectionName($name) { @@ -11779,8 +12249,8 @@ public static function setConnectionName($name) * Get the number of queue jobs that are ready to process. * * @param string|null $queue - * @return int - * @static + * @return int + * @static */ public static function readyNow($queue = null) { @@ -11793,8 +12263,8 @@ public static function readyNow($queue = null) * * @param string $from * @param string $to - * @return void - * @static + * @return void + * @static */ public static function migrateExpiredJobs($from, $to) { @@ -11807,8 +12277,8 @@ public static function migrateExpiredJobs($from, $to) * * @param string $queue * @param \Illuminate\Queue\Jobs\RedisJob $job - * @return void - * @static + * @return void + * @static */ public static function deleteReserved($queue, $job) { @@ -11822,8 +12292,8 @@ public static function deleteReserved($queue, $job) * @param string $queue * @param \Illuminate\Queue\Jobs\RedisJob $job * @param int $delay - * @return void - * @static + * @return void + * @static */ public static function deleteAndRelease($queue, $job, $delay) { @@ -11835,12 +12305,12 @@ public static function deleteAndRelease($queue, $job, $delay) * Delete all of the jobs from the queue. * * @param string $queue - * @return int - * @static + * @return int + * @static */ public static function clear($queue) { - //Method inherited from \Illuminate\Queue\RedisQueue + //Method inherited from \Illuminate\Queue\RedisQueue /** @var \Laravel\Horizon\RedisQueue $instance */ return $instance->clear($queue); } @@ -11849,12 +12319,12 @@ public static function clear($queue) * Get the queue or return the default. * * @param string|null $queue - * @return string - * @static + * @return string + * @static */ public static function getQueue($queue) { - //Method inherited from \Illuminate\Queue\RedisQueue + //Method inherited from \Illuminate\Queue\RedisQueue /** @var \Laravel\Horizon\RedisQueue $instance */ return $instance->getQueue($queue); } @@ -11862,12 +12332,12 @@ public static function getQueue($queue) /** * Get the connection for the queue. * - * @return \Illuminate\Redis\Connections\Connection - * @static + * @return \Illuminate\Redis\Connections\Connection + * @static */ public static function getConnection() { - //Method inherited from \Illuminate\Queue\RedisQueue + //Method inherited from \Illuminate\Queue\RedisQueue /** @var \Laravel\Horizon\RedisQueue $instance */ return $instance->getConnection(); } @@ -11875,12 +12345,12 @@ public static function getConnection() /** * Get the underlying Redis instance. * - * @return \Illuminate\Contracts\Redis\Factory - * @static + * @return \Illuminate\Contracts\Redis\Factory + * @static */ public static function getRedis() { - //Method inherited from \Illuminate\Queue\RedisQueue + //Method inherited from \Illuminate\Queue\RedisQueue /** @var \Laravel\Horizon\RedisQueue $instance */ return $instance->getRedis(); } @@ -11889,8 +12359,8 @@ public static function getRedis() * Get the maximum number of attempts for an object-based queue handler. * * @param mixed $job - * @return mixed - * @static + * @return mixed + * @static */ public static function getJobTries($job) { @@ -11903,8 +12373,8 @@ public static function getJobTries($job) * Get the backoff for an object-based queue handler. * * @param mixed $job - * @return mixed - * @static + * @return mixed + * @static */ public static function getJobBackoff($job) { @@ -11917,8 +12387,8 @@ public static function getJobBackoff($job) * Get the expiration timestamp for an object-based queue handler. * * @param mixed $job - * @return mixed - * @static + * @return mixed + * @static */ public static function getJobExpiration($job) { @@ -11931,8 +12401,8 @@ public static function getJobExpiration($job) * Register a callback to be executed when creating job payloads. * * @param callable|null $callback - * @return void - * @static + * @return void + * @static */ public static function createPayloadUsing($callback) { @@ -11940,11 +12410,38 @@ public static function createPayloadUsing($callback) \Laravel\Horizon\RedisQueue::createPayloadUsing($callback); } + /** + * Get the queue configuration array. + * + * @return array + * @static + */ + public static function getConfig() + { + //Method inherited from \Illuminate\Queue\Queue + /** @var \Laravel\Horizon\RedisQueue $instance */ + return $instance->getConfig(); + } + + /** + * Set the queue configuration array. + * + * @param array $config + * @return \Laravel\Horizon\RedisQueue + * @static + */ + public static function setConfig($config) + { + //Method inherited from \Illuminate\Queue\Queue + /** @var \Laravel\Horizon\RedisQueue $instance */ + return $instance->setConfig($config); + } + /** * Get the container instance being used by the connection. * - * @return \Illuminate\Container\Container - * @static + * @return \Illuminate\Container\Container + * @static */ public static function getContainer() { @@ -11957,8 +12454,8 @@ public static function getContainer() * Set the IoC container instance. * * @param \Illuminate\Container\Container $container - * @return void - * @static + * @return void + * @static */ public static function setContainer($container) { @@ -11969,8 +12466,6 @@ public static function setContainer($container) } /** - * - * * @see \Illuminate\Routing\Redirector */ class Redirect { @@ -11980,8 +12475,8 @@ class Redirect { * @param int $status * @param array $headers * @param mixed $fallback - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function back($status = 302, $headers = [], $fallback = false) { @@ -11994,8 +12489,8 @@ public static function back($status = 302, $headers = [], $fallback = false) * * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function refresh($status = 302, $headers = []) { @@ -12010,8 +12505,8 @@ public static function refresh($status = 302, $headers = []) * @param int $status * @param array $headers * @param bool|null $secure - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function guest($path, $status = 302, $headers = [], $secure = null) { @@ -12026,8 +12521,8 @@ public static function guest($path, $status = 302, $headers = [], $secure = null * @param int $status * @param array $headers * @param bool|null $secure - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function intended($default = '/', $status = 302, $headers = [], $secure = null) { @@ -12042,8 +12537,8 @@ public static function intended($default = '/', $status = 302, $headers = [], $s * @param int $status * @param array $headers * @param bool|null $secure - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function to($path, $status = 302, $headers = [], $secure = null) { @@ -12057,8 +12552,8 @@ public static function to($path, $status = 302, $headers = [], $secure = null) * @param string $path * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function away($path, $status = 302, $headers = []) { @@ -12072,8 +12567,8 @@ public static function away($path, $status = 302, $headers = []) * @param string $path * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function secure($path, $status = 302, $headers = []) { @@ -12088,8 +12583,8 @@ public static function secure($path, $status = 302, $headers = []) * @param mixed $parameters * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function route($route, $parameters = [], $status = 302, $headers = []) { @@ -12105,8 +12600,8 @@ public static function route($route, $parameters = [], $status = 302, $headers = * @param \DateTimeInterface|\DateInterval|int|null $expiration * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function signedRoute($route, $parameters = [], $expiration = null, $status = 302, $headers = []) { @@ -12122,8 +12617,8 @@ public static function signedRoute($route, $parameters = [], $expiration = null, * @param mixed $parameters * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function temporarySignedRoute($route, $expiration, $parameters = [], $status = 302, $headers = []) { @@ -12138,8 +12633,8 @@ public static function temporarySignedRoute($route, $expiration, $parameters = [ * @param mixed $parameters * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function action($action, $parameters = [], $status = 302, $headers = []) { @@ -12150,8 +12645,8 @@ public static function action($action, $parameters = [], $status = 302, $headers /** * Get the URL generator instance. * - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function getUrlGenerator() { @@ -12163,8 +12658,8 @@ public static function getUrlGenerator() * Set the active session store. * * @param \Illuminate\Session\Store $session - * @return void - * @static + * @return void + * @static */ public static function setSession($session) { @@ -12175,8 +12670,8 @@ public static function setSession($session) /** * Get the "intended" URL from the session. * - * @return string|null - * @static + * @return string|null + * @static */ public static function getIntendedUrl() { @@ -12188,8 +12683,8 @@ public static function getIntendedUrl() * Set the "intended" URL in the session. * * @param string $url - * @return \Illuminate\Routing\Redirector - * @static + * @return \Illuminate\Routing\Redirector + * @static */ public static function setIntendedUrl($url) { @@ -12203,8 +12698,8 @@ public static function setIntendedUrl($url) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -12216,9 +12711,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -12229,8 +12724,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -12240,8 +12735,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -12250,8 +12745,6 @@ public static function flushMacros() } /** - * - * * @method static void createSubscription(array|string $channels, \Closure $callback, string $method = 'subscribe') * @method static \Illuminate\Redis\Limiters\ConcurrencyLimiterBuilder funnel(string $name) * @method static \Illuminate\Redis\Limiters\DurationLimiterBuilder throttle(string $name) @@ -12260,9 +12753,10 @@ public static function flushMacros() * @method static void psubscribe(array|string $channels, \Closure $callback) * @method static mixed command(string $method, array $parameters = []) * @method static void listen(\Closure $callback) + * @method static void listenForFailures(\Closure $callback) * @method static string|null getName() * @method static \Illuminate\Redis\Connections\Connection setName(string $name) - * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() + * @method static \Illuminate\Contracts\Events\Dispatcher|null getEventDispatcher() * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) * @method static void unsetEventDispatcher() * @method static void macro(string $name, object|callable $macro) @@ -12270,15 +12764,288 @@ public static function flushMacros() * @method static bool hasMacro(string $name) * @method static void flushMacros() * @method static mixed macroCall(string $method, array $parameters) + * @method static string _compress(string $value) + * @method static string _uncompress(string $value) + * @method static string _prefix(string $key) + * @method static string _serialize(mixed $value) + * @method static mixed _unserialize(string $value) + * @method static string _pack(mixed $value) + * @method static mixed _unpack(string $value) + * @method static mixed acl(string $subcmd, string ...$args) + * @method static \Redis|int|false append(string $key, mixed $value) + * @method static \Redis|bool auth(mixed $credentials) + * @method static \Redis|bool bgSave() + * @method static \Redis|bool bgrewriteaof() + * @method static \Redis|array|false waitaof(int $numlocal, int $numreplicas, int $timeout) + * @method static \Redis|int|false bitcount(string $key, int $start = 0, int $end = -1, bool $bybit = false) + * @method static \Redis|int|false bitop(string $operation, string $deskey, string $srckey, string ...$other_keys) + * @method static \Redis|int|false bitpos(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false) + * @method static \Redis|array|false|null blPop(array|string $key_or_keys, string|int|float $timeout_or_key, mixed ...$extra_args) + * @method static \Redis|array|false|null brPop(array|string $key_or_keys, string|int|float $timeout_or_key, mixed ...$extra_args) + * @method static \Redis|string|false brpoplpush(string $src, string $dst, int|float $timeout) + * @method static \Redis|array|false bzPopMax(array|string $key, string|int $timeout_or_key, mixed ...$extra_args) + * @method static \Redis|array|false bzPopMin(array|string $key, string|int $timeout_or_key, mixed ...$extra_args) + * @method static \Redis|array|false|null bzmpop(float $timeout, array $keys, string $from, int $count = 1) + * @method static \Redis|array|false|null zmpop(array $keys, string $from, int $count = 1) + * @method static \Redis|array|false|null blmpop(float $timeout, array $keys, string $from, int $count = 1) + * @method static \Redis|array|false|null lmpop(array $keys, string $from, int $count = 1) + * @method static bool clearLastError() + * @method static bool close() + * @method static mixed config(string $operation, array|string|null $key_or_settings = null, string|null $value = null) + * @method static bool connect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null) + * @method static \Redis|bool copy(string $src, string $dst, array|null $options = null) + * @method static \Redis|int|false dbSize() + * @method static \Redis|string debug(string $key) + * @method static \Redis|int|false decr(string $key, int $by = 1) + * @method static \Redis|int|false decrBy(string $key, int $value) + * @method static \Redis|int|false del(array|string $key, string ...$other_keys) + * @method static \Redis|int|false delifeq(string $key, mixed $value) + * @method static \Redis|bool discard() + * @method static \Redis|string|false dump(string $key) + * @method static \Redis|string|false echo(string $str) + * @method static mixed eval(string $script, array $args = [], int $num_keys = 0) + * @method static mixed eval_ro(string $script_sha, array $args = [], int $num_keys = 0) + * @method static mixed evalsha(string $sha1, array $args = [], int $num_keys = 0) + * @method static mixed evalsha_ro(string $sha1, array $args = [], int $num_keys = 0) + * @method static \Redis|array|false exec() + * @method static \Redis|int|bool exists(mixed $key, mixed ...$other_keys) + * @method static \Redis|bool expire(string $key, int $timeout, string|null $mode = null) + * @method static \Redis|bool expireAt(string $key, int $timestamp, string|null $mode = null) + * @method static \Redis|bool failover(array|null $to = null, bool $abort = false, int $timeout = 0) + * @method static \Redis|int|false expiretime(string $key) + * @method static \Redis|int|false pexpiretime(string $key) + * @method static mixed fcall(string $fn, array $keys = [], array $args = []) + * @method static mixed fcall_ro(string $fn, array $keys = [], array $args = []) + * @method static \Redis|bool flushAll(bool|null $sync = null) + * @method static \Redis|bool flushDB(bool|null $sync = null) + * @method static \Redis|array|string|bool function(string $operation, mixed ...$args) + * @method static \Redis|int|false geoadd(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options) + * @method static \Redis|float|false geodist(string $key, string $src, string $dst, string|null $unit = null) + * @method static \Redis|array|false geohash(string $key, string $member, string ...$other_members) + * @method static \Redis|array|false geopos(string $key, string $member, string ...$other_members) + * @method static mixed georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) + * @method static mixed georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = []) + * @method static mixed georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = []) + * @method static mixed georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = []) + * @method static array geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = []) + * @method static \Redis|array|int|false geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = []) + * @method static mixed get(string $key) + * @method static \Redis|array|false getWithMeta(string $key) + * @method static mixed getAuth() + * @method static \Redis|int|false getBit(string $key, int $idx) + * @method static \Redis|string|bool getEx(string $key, array $options = []) + * @method static int getDBNum() + * @method static \Redis|string|bool getDel(string $key) + * @method static string getHost() + * @method static string|null getLastError() + * @method static int getMode() + * @method static mixed getOption(int $option) + * @method static string|null getPersistentID() + * @method static int getPort() + * @method static string|false serverName() + * @method static string|false serverVersion() + * @method static \Redis|string|false getRange(string $key, int $start, int $end) + * @method static \Redis|array|string|int|false lcs(string $key1, string $key2, array|null $options = null) + * @method static float getReadTimeout() + * @method static \Redis|string|false getset(string $key, mixed $value) + * @method static float|false getTimeout() + * @method static array getTransferredBytes() + * @method static void clearTransferredBytes() + * @method static \Redis|int|false hDel(string $key, string $field, string ...$other_fields) + * @method static \Redis|bool hExists(string $key, string $field) + * @method static mixed hGet(string $key, string $member) + * @method static \Redis|array|false hGetAll(string $key) + * @method static mixed hGetWithMeta(string $key, string $member) + * @method static \Redis|int|false hIncrBy(string $key, string $field, int $value) + * @method static \Redis|float|false hIncrByFloat(string $key, string $field, float $value) + * @method static \Redis|array|false hKeys(string $key) + * @method static \Redis|int|false hLen(string $key) + * @method static \Redis|array|false hMget(string $key, array $fields) + * @method static \Redis|array|false hgetex(string $key, array $fields, array|string|null $expiry = null) + * @method static \Redis|int|false hsetex(string $key, array $fields, array|null $expiry = null) + * @method static \Redis|array|false hgetdel(string $key, array $fields) + * @method static \Redis|bool hMset(string $key, array $fieldvals) + * @method static \Redis|array|string|false hRandField(string $key, array|null $options = null) + * @method static \Redis|int|false hSet(string $key, mixed ...$fields_and_vals) + * @method static \Redis|bool hSetNx(string $key, string $field, mixed $value) + * @method static \Redis|int|false hStrLen(string $key, string $field) + * @method static \Redis|array|false hVals(string $key) + * @method static \Redis|array|false hexpire(string $key, int $ttl, array $fields, string|null $mode = null) + * @method static \Redis|array|false hpexpire(string $key, int $ttl, array $fields, string|null $mode = null) + * @method static \Redis|array|false hexpireat(string $key, int $time, array $fields, string|null $mode = null) + * @method static \Redis|array|false hpexpireat(string $key, int $mstime, array $fields, string|null $mode = null) + * @method static \Redis|array|false httl(string $key, array $fields) + * @method static \Redis|array|false hpttl(string $key, array $fields) + * @method static \Redis|array|false hexpiretime(string $key, array $fields) + * @method static \Redis|array|false hpexpiretime(string $key, array $fields) + * @method static \Redis|array|false hpersist(string $key, array $fields) + * @method static \Redis|array|bool hscan(string $key, string|int|null $iterator, string|null $pattern = null, int $count = 0) + * @method static \Redis|int|false expiremember(string $key, string $field, int $ttl, string|null $unit = null) + * @method static \Redis|int|false expirememberat(string $key, string $field, int $timestamp) + * @method static \Redis|int|false incr(string $key, int $by = 1) + * @method static \Redis|int|false incrBy(string $key, int $value) + * @method static \Redis|float|false incrByFloat(string $key, float $value) + * @method static \Redis|array|false info(string ...$sections) + * @method static bool isConnected() + * @method static void keys(string $pattern) + * @method static void lInsert(string $key, string $pos, mixed $pivot, mixed $value) + * @method static \Redis|int|false lLen(string $key) + * @method static \Redis|string|false lMove(string $src, string $dst, string $wherefrom, string $whereto) + * @method static \Redis|string|false blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout) + * @method static \Redis|array|string|bool lPop(string $key, int $count = 0) + * @method static \Redis|array|int|bool|null lPos(string $key, mixed $value, array|null $options = null) + * @method static \Redis|int|false lPush(string $key, mixed ...$elements) + * @method static \Redis|int|false rPush(string $key, mixed ...$elements) + * @method static \Redis|int|false lPushx(string $key, mixed $value) + * @method static \Redis|int|false rPushx(string $key, mixed $value) + * @method static \Redis|bool lSet(string $key, int $index, mixed $value) + * @method static int lastSave() + * @method static mixed lindex(string $key, int $index) + * @method static \Redis|array|false lrange(string $key, int $start, int $end) + * @method static \Redis|int|false lrem(string $key, mixed $value, int $count = 0) + * @method static \Redis|bool ltrim(string $key, int $start, int $end) + * @method static \Redis|array|false mget(array $keys) + * @method static \Redis|bool migrate(string $host, int $port, array|string $key, int $dstdb, int $timeout, bool $copy = false, bool $replace = false, mixed $credentials = null) + * @method static \Redis|bool move(string $key, int $index) + * @method static \Redis|bool mset(array $key_values) + * @method static \Redis|bool msetnx(array $key_values) + * @method static \Redis|bool multi(int $value = 1) + * @method static \Redis|string|int|false object(string $subcommand, string $key) + * @method static bool pconnect(string $host, int $port = 6379, float $timeout = 0, string|null $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0, array|null $context = null) + * @method static \Redis|bool persist(string $key) + * @method static bool pexpire(string $key, int $timeout, string|null $mode = null) + * @method static \Redis|bool pexpireAt(string $key, int $timestamp, string|null $mode = null) + * @method static \Redis|int pfadd(string $key, array $elements) + * @method static \Redis|int|false pfcount(array|string $key_or_keys) + * @method static \Redis|bool pfmerge(string $dst, array $srckeys) + * @method static \Redis|string|bool ping(string|null $message = null) + * @method static \Redis|bool pipeline() + * @method static \Redis|bool psetex(string $key, int $expire, mixed $value) + * @method static \Redis|int|false pttl(string $key) + * @method static \Redis|int|false publish(string $channel, string $message) + * @method static mixed pubsub(string $command, mixed $arg = null) + * @method static \Redis|array|bool punsubscribe(array $patterns) + * @method static \Redis|array|string|bool rPop(string $key, int $count = 0) + * @method static \Redis|string|false randomKey() + * @method static mixed rawcommand(string $command, mixed ...$args) + * @method static \Redis|bool rename(string $old_name, string $new_name) + * @method static \Redis|bool renameNx(string $key_src, string $key_dst) + * @method static \Redis|bool reset() + * @method static \Redis|bool restore(string $key, int $ttl, string $value, array|null $options = null) + * @method static mixed role() + * @method static \Redis|string|false rpoplpush(string $srckey, string $dstkey) + * @method static \Redis|int|false sAdd(string $key, mixed $value, mixed ...$other_values) + * @method static int sAddArray(string $key, array $values) + * @method static \Redis|array|false sDiff(string $key, string ...$other_keys) + * @method static \Redis|int|false sDiffStore(string $dst, string $key, string ...$other_keys) + * @method static \Redis|array|false sInter(array|string $key, string ...$other_keys) + * @method static \Redis|int|false sintercard(array $keys, int $limit = -1) + * @method static \Redis|int|false sInterStore(array|string $key, string ...$other_keys) + * @method static \Redis|array|false sMembers(string $key) + * @method static \Redis|array|false sMisMember(string $key, string $member, string ...$other_members) + * @method static \Redis|bool sMove(string $src, string $dst, mixed $value) + * @method static \Redis|array|string|false sPop(string $key, int $count = 0) + * @method static mixed sRandMember(string $key, int $count = 0) + * @method static \Redis|array|false sUnion(string $key, string ...$other_keys) + * @method static \Redis|int|false sUnionStore(string $dst, string $key, string ...$other_keys) + * @method static \Redis|bool save() + * @method static array|false scan(string|int|null $iterator, string|null $pattern = null, int $count = 0, string|null $type = null) + * @method static \Redis|int|false scard(string $key) + * @method static mixed script(string $command, mixed ...$args) + * @method static \Redis|bool select(int $db) + * @method static \Redis|string|bool set(string $key, mixed $value, mixed $options = null) + * @method static \Redis|int|false setBit(string $key, int $idx, bool $value) + * @method static \Redis|int|false setRange(string $key, int $index, string $value) + * @method static bool setOption(int $option, mixed $value) + * @method static void setex(string $key, int $expire, mixed $value) + * @method static \Redis|bool setnx(string $key, mixed $value) + * @method static \Redis|bool sismember(string $key, mixed $value) + * @method static \Redis|bool replicaof(string|null $host = null, int $port = 6379) + * @method static \Redis|int|false touch(array|string $key_or_array, string ...$more_keys) + * @method static mixed slowlog(string $operation, int $length = 0) + * @method static mixed sort(string $key, array|null $options = null) + * @method static mixed sort_ro(string $key, array|null $options = null) + * @method static \Redis|int|false srem(string $key, mixed $value, mixed ...$other_values) + * @method static array|false sscan(string $key, string|int|null $iterator, string|null $pattern = null, int $count = 0) + * @method static bool ssubscribe(array $channels, callable $cb) + * @method static \Redis|int|false strlen(string $key) + * @method static \Redis|array|bool sunsubscribe(array $channels) + * @method static \Redis|bool swapdb(int $src, int $dst) + * @method static \Redis|array time() + * @method static \Redis|int|false ttl(string $key) + * @method static \Redis|int|false type(string $key) + * @method static \Redis|int|false unlink(array|string $key, string ...$other_keys) + * @method static \Redis|array|bool unsubscribe(array $channels) + * @method static \Redis|bool unwatch() + * @method static \Redis|bool watch(array|string $key, string ...$other_keys) + * @method static int|false wait(int $numreplicas, int $timeout) + * @method static int|false xack(string $key, string $group, array $ids) + * @method static \Redis|string|false xadd(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false, bool $nomkstream = false) + * @method static \Redis|array|bool xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false) + * @method static \Redis|array|bool xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options) + * @method static \Redis|int|false xdel(string $key, array $ids) + * @method static mixed xgroup(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2) + * @method static mixed xinfo(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1) + * @method static \Redis|int|false xlen(string $key) + * @method static \Redis|array|false xpending(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null) + * @method static \Redis|array|bool xrange(string $key, string $start, string $end, int $count = -1) + * @method static \Redis|array|bool xread(array $streams, int $count = -1, int $block = -1) + * @method static \Redis|array|bool xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1) + * @method static \Redis|array|bool xrevrange(string $key, string $end, string $start, int $count = -1) + * @method static \Redis|int|false vadd(string $key, array $values, mixed $element, array|null $options = null) + * @method static \Redis|array|false vsim(string $key, mixed $member, array|null $options = null) + * @method static \Redis|int|false vcard(string $key) + * @method static \Redis|int|false vdim(string $key) + * @method static \Redis|array|false vinfo(string $key) + * @method static \Redis|bool vismember(string $key, mixed $member) + * @method static \Redis|array|false vemb(string $key, mixed $member, bool $raw = false) + * @method static \Redis|array|string|false vrandmember(string $key, int $count = 0) + * @method static \Redis|array|false vrange(string $key, string $min, string $max, int $count = -1) + * @method static \Redis|int|false vrem(string $key, mixed $member) + * @method static \Redis|int|false vsetattr(string $key, mixed $member, array|string $attributes) + * @method static \Redis|array|string|false vgetattr(string $key, mixed $member, bool $decode = true) + * @method static \Redis|array|false vlinks(string $key, mixed $member, bool $withscores = false) + * @method static \Redis|int|false xtrim(string $key, string $threshold, bool $approx = false, bool $minid = false, int $limit = -1) + * @method static \Redis|int|float|false zAdd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems) + * @method static \Redis|int|false zCard(string $key) + * @method static \Redis|int|false zCount(string $key, string|int $start, string|int $end) + * @method static \Redis|float|false zIncrBy(string $key, float $value, mixed $member) + * @method static \Redis|int|false zLexCount(string $key, string $min, string $max) + * @method static \Redis|array|false zMscore(string $key, mixed $member, mixed ...$other_members) + * @method static \Redis|array|false zPopMax(string $key, int|null $count = null) + * @method static \Redis|array|false zPopMin(string $key, int|null $count = null) + * @method static \Redis|array|false zRange(string $key, string|int $start, string|int $end, array|bool|null $options = null) + * @method static \Redis|array|false zRangeByLex(string $key, string $min, string $max, int $offset = -1, int $count = -1) + * @method static \Redis|array|false zRangeByScore(string $key, string $start, string $end, array $options = []) + * @method static \Redis|int|false zrangestore(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = null) + * @method static \Redis|array|string zRandMember(string $key, array|null $options = null) + * @method static \Redis|int|false zRank(string $key, mixed $member) + * @method static \Redis|int|false zRem(mixed $key, mixed $member, mixed ...$other_members) + * @method static \Redis|int|false zRemRangeByLex(string $key, string $min, string $max) + * @method static \Redis|int|false zRemRangeByRank(string $key, int $start, int $end) + * @method static \Redis|int|false zRemRangeByScore(string $key, string $start, string $end) + * @method static \Redis|array|false zRevRange(string $key, int $start, int $end, mixed $scores = null) + * @method static \Redis|array|false zRevRangeByLex(string $key, string $max, string $min, int $offset = -1, int $count = -1) + * @method static \Redis|array|false zRevRangeByScore(string $key, string $max, string $min, array|bool $options = []) + * @method static \Redis|int|false zRevRank(string $key, mixed $member) + * @method static \Redis|float|false zScore(string $key, mixed $member) + * @method static \Redis|array|false zdiff(array $keys, array|null $options = null) + * @method static \Redis|int|false zdiffstore(string $dst, array $keys) + * @method static \Redis|array|false zinter(array $keys, array|null $weights = null, array|null $options = null) + * @method static \Redis|int|false zintercard(array $keys, int $limit = -1) + * @method static \Redis|int|false zinterstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null) + * @method static \Redis|array|false zscan(string $key, string|int|null $iterator, string|null $pattern = null, int $count = 0) + * @method static \Redis|array|false zunion(array $keys, array|null $weights = null, array|null $options = null) + * @method static \Redis|int|false zunionstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null) * @see \Illuminate\Redis\RedisManager */ class Redis { /** * Get a Redis connection by name. * - * @param string|null $name - * @return \Illuminate\Redis\Connections\Connection - * @static + * @param \UnitEnum|string|null $name + * @return \Illuminate\Redis\Connections\Connection + * @static */ public static function connection($name = null) { @@ -12290,9 +13057,9 @@ public static function connection($name = null) * Resolve the given connection by name. * * @param string|null $name - * @return \Illuminate\Redis\Connections\Connection + * @return \Illuminate\Redis\Connections\Connection * @throws \InvalidArgumentException - * @static + * @static */ public static function resolve($name = null) { @@ -12303,8 +13070,8 @@ public static function resolve($name = null) /** * Return all of the created connections. * - * @return array - * @static + * @return array + * @static */ public static function connections() { @@ -12315,8 +13082,8 @@ public static function connections() /** * Enable the firing of Redis command events. * - * @return void - * @static + * @return void + * @static */ public static function enableEvents() { @@ -12327,8 +13094,8 @@ public static function enableEvents() /** * Disable the firing of Redis command events. * - * @return void - * @static + * @return void + * @static */ public static function disableEvents() { @@ -12340,8 +13107,8 @@ public static function disableEvents() * Set the default driver. * * @param string $driver - * @return void - * @static + * @return void + * @static */ public static function setDriver($driver) { @@ -12353,8 +13120,8 @@ public static function setDriver($driver) * Disconnect the given connection and remove from local cache. * * @param string|null $name - * @return void - * @static + * @return void + * @static */ public static function purge($name = null) { @@ -12367,8 +13134,9 @@ public static function purge($name = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Redis\RedisManager - * @static + * @param-closure-this $this $callback + * @return \Illuminate\Redis\RedisManager + * @static */ public static function extend($driver, $callback) { @@ -12378,19 +13146,14 @@ public static function extend($driver, $callback) } /** - * - * - * @method static array validate(array $rules, ...$params) - * @method static array validateWithBag(string $errorBag, array $rules, ...$params) - * @method static bool hasValidSignature(bool $absolute = true) * @see \Illuminate\Http\Request */ class Request { /** * Create a new Illuminate HTTP request from server variables. * - * @return static - * @static + * @return static + * @static */ public static function capture() { @@ -12400,8 +13163,8 @@ public static function capture() /** * Return the Request instance. * - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function instance() { @@ -12412,8 +13175,8 @@ public static function instance() /** * Get the request method. * - * @return string - * @static + * @return string + * @static */ public static function method() { @@ -12424,8 +13187,8 @@ public static function method() /** * Get a URI instance for the request. * - * @return \Illuminate\Support\Uri - * @static + * @return \Illuminate\Support\Uri + * @static */ public static function uri() { @@ -12436,8 +13199,8 @@ public static function uri() /** * Get the root URL for the application. * - * @return string - * @static + * @return string + * @static */ public static function root() { @@ -12448,8 +13211,8 @@ public static function root() /** * Get the URL (no query string) for the request. * - * @return string - * @static + * @return string + * @static */ public static function url() { @@ -12460,8 +13223,8 @@ public static function url() /** * Get the full URL for the request. * - * @return string - * @static + * @return string + * @static */ public static function fullUrl() { @@ -12473,8 +13236,8 @@ public static function fullUrl() * Get the full URL for the request with the added query string parameters. * * @param array $query - * @return string - * @static + * @return string + * @static */ public static function fullUrlWithQuery($query) { @@ -12486,8 +13249,8 @@ public static function fullUrlWithQuery($query) * Get the full URL for the request without the given query string parameters. * * @param array|string $keys - * @return string - * @static + * @return string + * @static */ public static function fullUrlWithoutQuery($keys) { @@ -12498,8 +13261,8 @@ public static function fullUrlWithoutQuery($keys) /** * Get the current path info for the request. * - * @return string - * @static + * @return string + * @static */ public static function path() { @@ -12510,8 +13273,8 @@ public static function path() /** * Get the current decoded path info for the request. * - * @return string - * @static + * @return string + * @static */ public static function decodedPath() { @@ -12524,8 +13287,8 @@ public static function decodedPath() * * @param int $index * @param string|null $default - * @return string|null - * @static + * @return string|null + * @static */ public static function segment($index, $default = null) { @@ -12536,8 +13299,8 @@ public static function segment($index, $default = null) /** * Get all of the segments for the request path. * - * @return array - * @static + * @return array + * @static */ public static function segments() { @@ -12549,8 +13312,8 @@ public static function segments() * Determine if the current request URI matches a pattern. * * @param mixed $patterns - * @return bool - * @static + * @return bool + * @static */ public static function is(...$patterns) { @@ -12562,8 +13325,8 @@ public static function is(...$patterns) * Determine if the route name matches a given pattern. * * @param mixed $patterns - * @return bool - * @static + * @return bool + * @static */ public static function routeIs(...$patterns) { @@ -12575,8 +13338,8 @@ public static function routeIs(...$patterns) * Determine if the current request URL and query string match a pattern. * * @param mixed $patterns - * @return bool - * @static + * @return bool + * @static */ public static function fullUrlIs(...$patterns) { @@ -12587,8 +13350,8 @@ public static function fullUrlIs(...$patterns) /** * Get the host name. * - * @return string - * @static + * @return string + * @static */ public static function host() { @@ -12599,8 +13362,8 @@ public static function host() /** * Get the HTTP host being requested. * - * @return string - * @static + * @return string + * @static */ public static function httpHost() { @@ -12611,8 +13374,8 @@ public static function httpHost() /** * Get the scheme and HTTP host. * - * @return string - * @static + * @return string + * @static */ public static function schemeAndHttpHost() { @@ -12623,8 +13386,8 @@ public static function schemeAndHttpHost() /** * Determine if the request is the result of an AJAX call. * - * @return bool - * @static + * @return bool + * @static */ public static function ajax() { @@ -12635,8 +13398,8 @@ public static function ajax() /** * Determine if the request is the result of a PJAX call. * - * @return bool - * @static + * @return bool + * @static */ public static function pjax() { @@ -12647,8 +13410,8 @@ public static function pjax() /** * Determine if the request is the result of a prefetch call. * - * @return bool - * @static + * @return bool + * @static */ public static function prefetch() { @@ -12659,8 +13422,8 @@ public static function prefetch() /** * Determine if the request is over HTTPS. * - * @return bool - * @static + * @return bool + * @static */ public static function secure() { @@ -12671,8 +13434,8 @@ public static function secure() /** * Get the client IP address. * - * @return string|null - * @static + * @return string|null + * @static */ public static function ip() { @@ -12683,8 +13446,8 @@ public static function ip() /** * Get the client IP addresses. * - * @return array - * @static + * @return array + * @static */ public static function ips() { @@ -12695,8 +13458,8 @@ public static function ips() /** * Get the client user agent. * - * @return string|null - * @static + * @return string|null + * @static */ public static function userAgent() { @@ -12704,12 +13467,24 @@ public static function userAgent() return $instance->userAgent(); } + /** + * Gets a list of content types acceptable by the client browser in preferable order. + * + * @return string[] + * @static + */ + public static function getAcceptableContentTypes() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->getAcceptableContentTypes(); + } + /** * Merge new input into the current request's input array. * * @param array $input - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function merge($input) { @@ -12721,8 +13496,8 @@ public static function merge($input) * Merge new input into the request's input, but only when that key is missing from the request. * * @param array $input - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function mergeIfMissing($input) { @@ -12734,8 +13509,8 @@ public static function mergeIfMissing($input) * Replace the input values for the current request. * * @param array $input - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function replace($input) { @@ -12745,13 +13520,14 @@ public static function replace($input) /** * This method belongs to Symfony HttpFoundation and is not usually needed when using Laravel. - * + * * Instead, you may use the "input" method. * * @param string $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @deprecated use ->input() instead + * @static */ public static function get($key, $default = null) { @@ -12764,8 +13540,8 @@ public static function get($key, $default = null) * * @param string|null $key * @param mixed $default - * @return \Symfony\Component\HttpFoundation\InputBag|mixed - * @static + * @return ($key is null ? \Symfony\Component\HttpFoundation\InputBag : mixed) + * @static */ public static function json($key = null, $default = null) { @@ -12778,8 +13554,8 @@ public static function json($key = null, $default = null) * * @param \Illuminate\Http\Request $from * @param \Illuminate\Http\Request|null $to - * @return static - * @static + * @return static + * @static */ public static function createFrom($from, $to = null) { @@ -12790,8 +13566,8 @@ public static function createFrom($from, $to = null) * Create an Illuminate request from a Symfony instance. * * @param \Symfony\Component\HttpFoundation\Request $request - * @return static - * @static + * @return static + * @static */ public static function createFromBase($request) { @@ -12801,14 +13577,14 @@ public static function createFromBase($request) /** * Clones a request and overrides some of its parameters. * - * @return static + * @return static * @param array|null $query The GET parameters * @param array|null $request The POST parameters * @param array|null $attributes The request attributes (parameters parsed from the PATH_INFO, ...) * @param array|null $cookies The COOKIE parameters * @param array|null $files The FILES parameters * @param array|null $server The SERVER parameters - * @static + * @static */ public static function duplicate($query = null, $request = null, $attributes = null, $cookies = null, $files = null, $server = null) { @@ -12818,13 +13594,13 @@ public static function duplicate($query = null, $request = null, $attributes = n /** * Whether the request contains a Session object. - * + * * This method does not give any information about the state of the session object, * like whether the session is started or not. It is just a way to check if this Request * is associated with a Session instance. * * @param bool $skipIfUninitialized When true, ignores factories injected by `setSessionFactory` - * @static + * @static */ public static function hasSession($skipIfUninitialized = false) { @@ -12835,8 +13611,9 @@ public static function hasSession($skipIfUninitialized = false) /** * Gets the Session. * + * @throws \Symfony\Component\HttpFoundation\Exception\SessionNotFoundException * @throws SessionNotFoundException When session is not set properly - * @static + * @static */ public static function getSession() { @@ -12847,9 +13624,9 @@ public static function getSession() /** * Get the session associated with the request. * - * @return \Illuminate\Contracts\Session\Session + * @return \Illuminate\Contracts\Session\Session * @throws \RuntimeException - * @static + * @static */ public static function session() { @@ -12861,8 +13638,8 @@ public static function session() * Set the session instance on the request. * * @param \Illuminate\Contracts\Session\Session $session - * @return void - * @static + * @return void + * @static */ public static function setLaravelSession($session) { @@ -12874,8 +13651,8 @@ public static function setLaravelSession($session) * Set the locale for the request instance. * * @param string $locale - * @return void - * @static + * @return void + * @static */ public static function setRequestLocale($locale) { @@ -12887,8 +13664,8 @@ public static function setRequestLocale($locale) * Set the default locale for the request instance. * * @param string $locale - * @return void - * @static + * @return void + * @static */ public static function setDefaultRequestLocale($locale) { @@ -12900,8 +13677,8 @@ public static function setDefaultRequestLocale($locale) * Get the user making the request. * * @param string|null $guard - * @return mixed - * @static + * @return mixed + * @static */ public static function user($guard = null) { @@ -12914,8 +13691,8 @@ public static function user($guard = null) * * @param string|null $param * @param mixed $default - * @return \Illuminate\Routing\Route|object|string|null - * @static + * @return ($param is null ? \Illuminate\Routing\Route : object|string|null) + * @static */ public static function route($param = null, $default = null) { @@ -12926,9 +13703,9 @@ public static function route($param = null, $default = null) /** * Get a unique fingerprint for the request / route / IP address. * - * @return string + * @return string * @throws \RuntimeException - * @static + * @static */ public static function fingerprint() { @@ -12940,8 +13717,8 @@ public static function fingerprint() * Set the JSON payload for the request. * * @param \Symfony\Component\HttpFoundation\InputBag $json - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function setJson($json) { @@ -12952,8 +13729,8 @@ public static function setJson($json) /** * Get the user resolver callback. * - * @return \Closure - * @static + * @return \Closure + * @static */ public static function getUserResolver() { @@ -12965,8 +13742,8 @@ public static function getUserResolver() * Set the user resolver callback. * * @param \Closure $callback - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function setUserResolver($callback) { @@ -12977,8 +13754,8 @@ public static function setUserResolver($callback) /** * Get the route resolver callback. * - * @return \Closure - * @static + * @return \Closure + * @static */ public static function getRouteResolver() { @@ -12990,8 +13767,8 @@ public static function getRouteResolver() * Set the route resolver callback. * * @param \Closure $callback - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function setRouteResolver($callback) { @@ -13002,8 +13779,8 @@ public static function setRouteResolver($callback) /** * Get all of the input and files for the request. * - * @return array - * @static + * @return array + * @static */ public static function toArray() { @@ -13015,8 +13792,8 @@ public static function toArray() * Determine if the given offset exists. * * @param string $offset - * @return bool - * @static + * @return bool + * @static */ public static function offsetExists($offset) { @@ -13028,8 +13805,8 @@ public static function offsetExists($offset) * Get the value at the given offset. * * @param string $offset - * @return mixed - * @static + * @return mixed + * @static */ public static function offsetGet($offset) { @@ -13042,8 +13819,8 @@ public static function offsetGet($offset) * * @param string $offset * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function offsetSet($offset, $value) { @@ -13055,8 +13832,8 @@ public static function offsetSet($offset, $value) * Remove the value at the given offset. * * @param string $offset - * @return void - * @static + * @return void + * @static */ public static function offsetUnset($offset) { @@ -13066,7 +13843,7 @@ public static function offsetUnset($offset) /** * Sets the parameters for this request. - * + * * This method also re-initializes all properties. * * @param array $query The GET parameters @@ -13076,7 +13853,7 @@ public static function offsetUnset($offset) * @param array $files The FILES parameters * @param array $server The SERVER parameters * @param string|resource|null $content The raw body data - * @static + * @static */ public static function initialize($query = [], $request = [], $attributes = [], $cookies = [], $files = [], $server = [], $content = null) { @@ -13088,7 +13865,7 @@ public static function initialize($query = [], $request = [], $attributes = [], /** * Creates a new request with values from PHP's super globals. * - * @static + * @static */ public static function createFromGlobals() { @@ -13098,7 +13875,7 @@ public static function createFromGlobals() /** * Creates a Request based on a given URI and configuration. - * + * * The information contained in the URI always take precedence * over the other information (server and parameters). * @@ -13110,7 +13887,7 @@ public static function createFromGlobals() * @param array $server The server parameters ($_SERVER) * @param string|resource|null $content The raw body data * @throws BadRequestException When the URI is invalid - * @static + * @static */ public static function create($uri, $method = 'GET', $parameters = [], $cookies = [], $files = [], $server = [], $content = null) { @@ -13120,12 +13897,12 @@ public static function create($uri, $method = 'GET', $parameters = [], $cookies /** * Sets a callable able to create a Request instance. - * + * * This is mainly useful when you need to override the Request class * to keep BC with an existing system. It should not be used for any * other purpose. * - * @static + * @static */ public static function setFactory($callable) { @@ -13135,11 +13912,11 @@ public static function setFactory($callable) /** * Overrides the PHP global variables according to this request instance. - * + * * It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE. * $_FILES is never overridden, see rfc1867 * - * @static + * @static */ public static function overrideGlobals() { @@ -13150,12 +13927,12 @@ public static function overrideGlobals() /** * Sets a list of trusted proxies. - * + * * You should only list the reverse proxies that you manage directly. * * @param array $proxies A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR'] and 'PRIVATE_SUBNETS' by IpUtils::PRIVATE_SUBNETS * @param int-mask-of $trustedHeaderSet A bit field to set which headers to trust from your proxies - * @static + * @static */ public static function setTrustedProxies($proxies, $trustedHeaderSet) { @@ -13166,8 +13943,8 @@ public static function setTrustedProxies($proxies, $trustedHeaderSet) /** * Gets the list of trusted proxies. * - * @return string[] - * @static + * @return string[] + * @static */ public static function getTrustedProxies() { @@ -13179,7 +13956,7 @@ public static function getTrustedProxies() * Gets the set of trusted headers from trusted proxies. * * @return int A bit field of Request::HEADER_* that defines which headers are trusted from your proxies - * @static + * @static */ public static function getTrustedHeaderSet() { @@ -13189,11 +13966,11 @@ public static function getTrustedHeaderSet() /** * Sets a list of trusted host patterns. - * + * * You should only list the hosts you manage using regexs. * * @param array $hostPatterns A list of trusted host patterns - * @static + * @static */ public static function setTrustedHosts($hostPatterns) { @@ -13204,8 +13981,8 @@ public static function setTrustedHosts($hostPatterns) /** * Gets the list of trusted host patterns. * - * @return string[] - * @static + * @return string[] + * @static */ public static function getTrustedHosts() { @@ -13215,11 +13992,11 @@ public static function getTrustedHosts() /** * Normalizes a query string. - * + * * It builds a normalized query string, where keys/value pairs are alphabetized, * have consistent escaping and unneeded delimiters are removed. * - * @static + * @static */ public static function normalizeQueryString($qs) { @@ -13229,16 +14006,16 @@ public static function normalizeQueryString($qs) /** * Enables support for the _method request parameter to determine the intended HTTP method. - * + * * Be warned that enabling this feature might lead to CSRF issues in your code. * Check that you are using CSRF tokens when required. * If the HTTP method parameter override is enabled, an html-form with method "POST" can be altered * and used to send a "PUT" or "DELETE" request via the _method request parameter. * If these methods are not protected against CSRF, this presents a possible vulnerability. - * + * * The HTTP method can only be overridden when the real HTTP method is POST. * - * @static + * @static */ public static function enableHttpMethodParameterOverride() { @@ -13249,7 +14026,7 @@ public static function enableHttpMethodParameterOverride() /** * Checks whether support for the _method request parameter is enabled. * - * @static + * @static */ public static function getHttpMethodParameterOverride() { @@ -13257,11 +14034,39 @@ public static function getHttpMethodParameterOverride() return \Illuminate\Http\Request::getHttpMethodParameterOverride(); } + /** + * Sets the list of HTTP methods that can be overridden. + * + * Set to null to allow all methods to be overridden (default). Set to an + * empty array to disallow overrides entirely. Otherwise, provide the list + * of uppercased method names that are allowed. + * + * @param \Symfony\Component\HttpFoundation\uppercase-string[]|null $methods + * @static + */ + public static function setAllowedHttpMethodOverride($methods) + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::setAllowedHttpMethodOverride($methods); + } + + /** + * Gets the list of HTTP methods that can be overridden. + * + * @return \Symfony\Component\HttpFoundation\uppercase-string[]|null + * @static + */ + public static function getAllowedHttpMethodOverride() + { + //Method inherited from \Symfony\Component\HttpFoundation\Request + return \Illuminate\Http\Request::getAllowedHttpMethodOverride(); + } + /** * Whether the request contains a Session which was started in one of the * previous requests. * - * @static + * @static */ public static function hasPreviousSession() { @@ -13271,9 +14076,7 @@ public static function hasPreviousSession() } /** - * - * - * @static + * @static */ public static function setSession($session) { @@ -13283,11 +14086,9 @@ public static function setSession($session) } /** - * - * - * @internal + * @internal * @param callable(): SessionInterface $factory - * @static + * @static */ public static function setSessionFactory($factory) { @@ -13298,15 +14099,15 @@ public static function setSessionFactory($factory) /** * Returns the client IP addresses. - * + * * In the returned array the most trusted IP address is first, and the * least trusted one last. The "real" client IP address is the last one, * but this is also the least trusted one. Trusted proxies are stripped. - * + * * Use this method carefully; you should use getClientIp() instead. * * @see getClientIp() - * @static + * @static */ public static function getClientIps() { @@ -13317,20 +14118,16 @@ public static function getClientIps() /** * Returns the client IP address. - * + * * This method can read the client IP address from the "X-Forwarded-For" header * when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-For" * header value is a comma+space separated list of IP addresses, the left-most * being the original client, and each successive proxy that passed the request * adding the IP address where it received the request from. - * - * If your reverse proxy uses a different header name than "X-Forwarded-For", - * ("Client-Ip" for instance), configure it via the $trustedHeaderSet - * argument of the Request::setTrustedProxies() method instead. * * @see getClientIps() * @see https://wikipedia.org/wiki/X-Forwarded-For - * @static + * @static */ public static function getClientIp() { @@ -13342,7 +14139,7 @@ public static function getClientIp() /** * Returns current script name. * - * @static + * @static */ public static function getScriptName() { @@ -13353,18 +14150,18 @@ public static function getScriptName() /** * Returns the path being requested relative to the executed script. - * + * * The path info always starts with a /. - * + * * Suppose this request is instantiated from /mysite on localhost: - * - * * http://localhost/mysite returns an empty string + * + * * http://localhost/mysite returns '/' * * http://localhost/mysite/about returns '/about' * * http://localhost/mysite/enco%20ded returns '/enco%20ded' * * http://localhost/mysite/about?var=1 returns '/about' * * @return string The raw path (i.e. not urldecoded) - * @static + * @static */ public static function getPathInfo() { @@ -13375,16 +14172,16 @@ public static function getPathInfo() /** * Returns the root path from which this request is executed. - * + * * Suppose that an index.php file instantiates this request object: - * + * * * http://localhost/index.php returns an empty string * * http://localhost/index.php/page returns an empty string * * http://localhost/web/index.php returns '/web' * * http://localhost/we%20b/index.php returns '/we%20b' * * @return string The raw path (i.e. not urldecoded) - * @static + * @static */ public static function getBasePath() { @@ -13395,14 +14192,14 @@ public static function getBasePath() /** * Returns the root URL from which this request is executed. - * + * * The base URL never ends with a /. - * + * * This is similar to getBasePath(), except that it also includes the * script filename (e.g. index.php) if one exists. * * @return string The raw URL (i.e. not urldecoded) - * @static + * @static */ public static function getBaseUrl() { @@ -13414,7 +14211,7 @@ public static function getBaseUrl() /** * Gets the request's scheme. * - * @static + * @static */ public static function getScheme() { @@ -13425,14 +14222,14 @@ public static function getScheme() /** * Returns the port on which the request is made. - * + * * This method can read the client port from the "X-Forwarded-Port" header * when trusted proxies were set via "setTrustedProxies()". - * + * * The "X-Forwarded-Port" header must contain the client port. * * @return int|string|null Can be a string if fetched from the server bag - * @static + * @static */ public static function getPort() { @@ -13444,7 +14241,7 @@ public static function getPort() /** * Returns the user. * - * @static + * @static */ public static function getUser() { @@ -13456,7 +14253,7 @@ public static function getUser() /** * Returns the password. * - * @static + * @static */ public static function getPassword() { @@ -13469,7 +14266,7 @@ public static function getPassword() * Gets the user info. * * @return string|null A user name if any and, optionally, scheme-specific information about how to gain authorization to access the server - * @static + * @static */ public static function getUserInfo() { @@ -13480,10 +14277,10 @@ public static function getUserInfo() /** * Returns the HTTP host being requested. - * + * * The port name will be appended to the host if it's non-standard. * - * @static + * @static */ public static function getHttpHost() { @@ -13496,7 +14293,7 @@ public static function getHttpHost() * Returns the requested URI (path and query string). * * @return string The raw URI (i.e. not URI decoded) - * @static + * @static */ public static function getRequestUri() { @@ -13507,11 +14304,11 @@ public static function getRequestUri() /** * Gets the scheme and HTTP host. - * + * * If the URL was called with basic authentication, the user * and the password are not added to the generated string. * - * @static + * @static */ public static function getSchemeAndHttpHost() { @@ -13524,7 +14321,7 @@ public static function getSchemeAndHttpHost() * Generates a normalized URI (URL) for the Request. * * @see getQueryString() - * @static + * @static */ public static function getUri() { @@ -13537,7 +14334,7 @@ public static function getUri() * Generates a normalized URI for the given path. * * @param string $path A path to use instead of the current one - * @static + * @static */ public static function getUriForPath($path) { @@ -13548,12 +14345,12 @@ public static function getUriForPath($path) /** * Returns the path as relative reference from the current Request path. - * + * * Only the URIs path component (no schema, host etc.) is relevant and must be given. * Both paths must be absolute and not contain relative parts. * Relative URLs from one resource to another are useful when generating self-contained downloadable document archives. * Furthermore, they can be used to reduce the link size in documents. - * + * * Example target paths, given a base path of "/a/b/c/d": * - "/a/b/c/d" -> "" * - "/a/b/c/" -> "./" @@ -13561,7 +14358,7 @@ public static function getUriForPath($path) * - "/a/b/c/other" -> "other" * - "/a/x/y" -> "../../x/y" * - * @static + * @static */ public static function getRelativeUriForPath($path) { @@ -13572,11 +14369,11 @@ public static function getRelativeUriForPath($path) /** * Generates the normalized query string for the Request. - * + * * It builds a normalized query string, where keys/value pairs are alphabetized * and have consistent escaping. * - * @static + * @static */ public static function getQueryString() { @@ -13587,13 +14384,13 @@ public static function getQueryString() /** * Checks whether the request is secure or not. - * + * * This method can read the client protocol from the "X-Forwarded-Proto" header * when trusted proxies were set via "setTrustedProxies()". - * + * * The "X-Forwarded-Proto" header must contain the protocol: "https" or "http". * - * @static + * @static */ public static function isSecure() { @@ -13604,14 +14401,14 @@ public static function isSecure() /** * Returns the host name. - * + * * This method can read the client host name from the "X-Forwarded-Host" header * when trusted proxies were set via "setTrustedProxies()". - * + * * The "X-Forwarded-Host" header must contain the client host name. * * @throws SuspiciousOperationException when the host name is invalid or not trusted - * @static + * @static */ public static function getHost() { @@ -13623,7 +14420,7 @@ public static function getHost() /** * Sets the request method. * - * @static + * @static */ public static function setMethod($method) { @@ -13634,17 +14431,17 @@ public static function setMethod($method) /** * Gets the request "intended" method. - * + * * If the X-HTTP-Method-Override header is set, and if the method is a POST, * then it is used to determine the "real" intended HTTP method. - * + * * The _method request parameter can also be used to determine the HTTP method, * but only if enableHttpMethodParameterOverride() has been called. - * + * * The method is always an uppercased string. * * @see getRealMethod() - * @static + * @static */ public static function getMethod() { @@ -13657,7 +14454,7 @@ public static function getMethod() * Gets the "real" request method. * * @see getMethod() - * @static + * @static */ public static function getRealMethod() { @@ -13669,7 +14466,7 @@ public static function getRealMethod() /** * Gets the mime type associated with the format. * - * @static + * @static */ public static function getMimeType($format) { @@ -13681,8 +14478,8 @@ public static function getMimeType($format) /** * Gets the mime types associated with the format. * - * @return string[] - * @static + * @return string[] + * @static */ public static function getMimeTypes($format) { @@ -13693,7 +14490,18 @@ public static function getMimeTypes($format) /** * Gets the format associated with the mime type. * - * @static + * Resolution order: + * 1) Exact match on the full MIME type (e.g. "application/json"). + * 2) Match on the canonical MIME type (i.e. before the first ";" parameter). + * 3) If the type is "application/*+suffix", use the structured syntax suffix + * mapping (e.g. "application/foo+json" → "json"), when available. + * 4) If $subtypeFallback is true and no match was found: + * - return the MIME subtype (without "x-" prefix), provided it does not + * contain a "+" (e.g. "application/x-yaml" → "yaml", "text/csv" → "csv"). + * + * @param string|null $mimeType The mime type to check + * @param bool $subtypeFallback Whether to fall back to the subtype if no exact match is found + * @static */ public static function getFormat($mimeType) { @@ -13705,8 +14513,9 @@ public static function getFormat($mimeType) /** * Associates a format with mime types. * + * @param string $format The format to set * @param string|string[] $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type) - * @static + * @static */ public static function setFormat($format, $mimeTypes) { @@ -13717,15 +14526,15 @@ public static function setFormat($format, $mimeTypes) /** * Gets the request format. - * + * * Here is the process to determine the format: - * + * * * format defined by the user (with setRequestFormat()) * * _format request attribute * * $default * * @see getPreferredFormat - * @static + * @static */ public static function getRequestFormat($default = 'html') { @@ -13737,7 +14546,7 @@ public static function getRequestFormat($default = 'html') /** * Sets the request format. * - * @static + * @static */ public static function setRequestFormat($format) { @@ -13750,7 +14559,7 @@ public static function setRequestFormat($format) * Gets the usual name of the format associated with the request's media type (provided in the Content-Type header). * * @see Request::$formats - * @static + * @static */ public static function getContentTypeFormat() { @@ -13762,7 +14571,7 @@ public static function getContentTypeFormat() /** * Sets the default locale. * - * @static + * @static */ public static function setDefaultLocale($locale) { @@ -13774,7 +14583,7 @@ public static function setDefaultLocale($locale) /** * Get the default locale. * - * @static + * @static */ public static function getDefaultLocale() { @@ -13786,7 +14595,7 @@ public static function getDefaultLocale() /** * Sets the locale. * - * @static + * @static */ public static function setLocale($locale) { @@ -13798,7 +14607,7 @@ public static function setLocale($locale) /** * Get the locale. * - * @static + * @static */ public static function getLocale() { @@ -13811,7 +14620,7 @@ public static function getLocale() * Checks if the request method is of specified type. * * @param string $method Uppercase request method (GET, POST etc) - * @static + * @static */ public static function isMethod($method) { @@ -13824,7 +14633,7 @@ public static function isMethod($method) * Checks whether or not the method is safe. * * @see https://tools.ietf.org/html/rfc7231#section-4.2.1 - * @static + * @static */ public static function isMethodSafe() { @@ -13836,7 +14645,7 @@ public static function isMethodSafe() /** * Checks whether or not the method is idempotent. * - * @static + * @static */ public static function isMethodIdempotent() { @@ -13849,7 +14658,7 @@ public static function isMethodIdempotent() * Checks whether the method is cacheable or not. * * @see https://tools.ietf.org/html/rfc7231#section-4.2.3 - * @static + * @static */ public static function isMethodCacheable() { @@ -13860,14 +14669,14 @@ public static function isMethodCacheable() /** * Returns the protocol version. - * + * * If the application is behind a proxy, the protocol version used in the * requests between the client and the proxy and between the proxy and the * server might be different. This returns the former (from the "Via" header) * if the proxy is trusted (see "setTrustedProxies()"), otherwise it returns * the latter (from the "SERVER_PROTOCOL" server parameter). * - * @static + * @static */ public static function getProtocolVersion() { @@ -13880,9 +14689,9 @@ public static function getProtocolVersion() * Returns the request body content. * * @param bool $asResource If true, a resource will be returned - * @return string|resource + * @return string|resource * @psalm-return ($asResource is true ? resource : string) - * @static + * @static */ public static function getContent($asResource = false) { @@ -13895,7 +14704,7 @@ public static function getContent($asResource = false) * Gets the decoded form or json request body. * * @throws JsonException When the body cannot be decoded to an array - * @static + * @static */ public static function getPayload() { @@ -13907,7 +14716,7 @@ public static function getPayload() /** * Gets the Etags. * - * @static + * @static */ public static function getETags() { @@ -13917,9 +14726,7 @@ public static function getETags() } /** - * - * - * @static + * @static */ public static function isNoCache() { @@ -13932,11 +14739,11 @@ public static function isNoCache() * Gets the preferred format for the response by inspecting, in the following order: * * the request format set using setRequestFormat; * * the values of the Accept HTTP header. - * + * * Note that if you use this method, you should send the "Vary: Accept" header * in the response to prevent any issues with intermediary HTTP caches. * - * @static + * @static */ public static function getPreferredFormat($default = 'html') { @@ -13949,7 +14756,7 @@ public static function getPreferredFormat($default = 'html') * Returns the preferred language. * * @param string[] $locales An array of ordered available locales - * @static + * @static */ public static function getPreferredLanguage($locales = null) { @@ -13961,8 +14768,8 @@ public static function getPreferredLanguage($locales = null) /** * Gets a list of languages acceptable by the client browser ordered in the user browser preferences. * - * @return string[] - * @static + * @return string[] + * @static */ public static function getLanguages() { @@ -13974,8 +14781,8 @@ public static function getLanguages() /** * Gets a list of charsets acceptable by the client browser in preferable order. * - * @return string[] - * @static + * @return string[] + * @static */ public static function getCharsets() { @@ -13987,8 +14794,8 @@ public static function getCharsets() /** * Gets a list of encodings acceptable by the client browser in preferable order. * - * @return string[] - * @static + * @return string[] + * @static */ public static function getEncodings() { @@ -13997,27 +14804,14 @@ public static function getEncodings() return $instance->getEncodings(); } - /** - * Gets a list of content types acceptable by the client browser in preferable order. - * - * @return string[] - * @static - */ - public static function getAcceptableContentTypes() - { - //Method inherited from \Symfony\Component\HttpFoundation\Request - /** @var \Illuminate\Http\Request $instance */ - return $instance->getAcceptableContentTypes(); - } - /** * Returns true if the request is an XMLHttpRequest. - * + * * It works if your JavaScript library sets an X-Requested-With HTTP header. * It is known to work with common JavaScript frameworks: * * @see https://wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript - * @static + * @static */ public static function isXmlHttpRequest() { @@ -14030,7 +14824,7 @@ public static function isXmlHttpRequest() * Checks whether the client browser prefers safe content or not according to RFC8674. * * @see https://tools.ietf.org/html/rfc8674 - * @static + * @static */ public static function preferSafeContent() { @@ -14041,11 +14835,11 @@ public static function preferSafeContent() /** * Indicates whether this request originated from a trusted proxy. - * + * * This can be useful to determine whether or not to trust the * contents of a proxy-specific header. * - * @static + * @static */ public static function isFromTrustedProxy() { @@ -14058,8 +14852,8 @@ public static function isFromTrustedProxy() * Filter the given array of rules into an array of rules that are included in precognitive headers. * * @param array $rules - * @return array - * @static + * @return array + * @static */ public static function filterPrecognitiveRules($rules) { @@ -14070,8 +14864,8 @@ public static function filterPrecognitiveRules($rules) /** * Determine if the request is attempting to be precognitive. * - * @return bool - * @static + * @return bool + * @static */ public static function isAttemptingPrecognition() { @@ -14082,8 +14876,8 @@ public static function isAttemptingPrecognition() /** * Determine if the request is precognitive. * - * @return bool - * @static + * @return bool + * @static */ public static function isPrecognitive() { @@ -14094,8 +14888,8 @@ public static function isPrecognitive() /** * Determine if the request is sending JSON. * - * @return bool - * @static + * @return bool + * @static */ public static function isJson() { @@ -14106,8 +14900,8 @@ public static function isJson() /** * Determine if the current request probably expects a JSON response. * - * @return bool - * @static + * @return bool + * @static */ public static function expectsJson() { @@ -14118,8 +14912,8 @@ public static function expectsJson() /** * Determine if the current request is asking for JSON. * - * @return bool - * @static + * @return bool + * @static */ public static function wantsJson() { @@ -14127,12 +14921,24 @@ public static function wantsJson() return $instance->wantsJson(); } + /** + * Determine if the current request is asking for Markdown. + * + * @return bool + * @static + */ + public static function wantsMarkdown() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->wantsMarkdown(); + } + /** * Determines whether the current requests accepts a given content type. * * @param string|array $contentTypes - * @return bool - * @static + * @return bool + * @static */ public static function accepts($contentTypes) { @@ -14144,8 +14950,8 @@ public static function accepts($contentTypes) * Return the most suitable content type from the given array based on content negotiation. * * @param string|array $contentTypes - * @return string|null - * @static + * @return string|null + * @static */ public static function prefers($contentTypes) { @@ -14156,8 +14962,8 @@ public static function prefers($contentTypes) /** * Determine if the current request accepts any content type. * - * @return bool - * @static + * @return bool + * @static */ public static function acceptsAnyContentType() { @@ -14168,8 +14974,8 @@ public static function acceptsAnyContentType() /** * Determines whether a request accepts JSON. * - * @return bool - * @static + * @return bool + * @static */ public static function acceptsJson() { @@ -14177,11 +14983,23 @@ public static function acceptsJson() return $instance->acceptsJson(); } + /** + * Determines whether a request accepts Markdown. + * + * @return bool + * @static + */ + public static function acceptsMarkdown() + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->acceptsMarkdown(); + } + /** * Determines whether a request accepts HTML. * - * @return bool - * @static + * @return bool + * @static */ public static function acceptsHtml() { @@ -14194,8 +15012,8 @@ public static function acceptsHtml() * * @param string $actual * @param string $type - * @return bool - * @static + * @return bool + * @static */ public static function matchesType($actual, $type) { @@ -14206,8 +15024,8 @@ public static function matchesType($actual, $type) * Get the data format expected in the response. * * @param string $default - * @return string - * @static + * @return string + * @static */ public static function format($default = 'html') { @@ -14220,8 +15038,8 @@ public static function format($default = 'html') * * @param string|null $key * @param \Illuminate\Database\Eloquent\Model|string|array|null $default - * @return string|array|null - * @static + * @return string|array|null + * @static */ public static function old($key = null, $default = null) { @@ -14232,8 +15050,8 @@ public static function old($key = null, $default = null) /** * Flash the input for the current request to the session. * - * @return void - * @static + * @return void + * @static */ public static function flash() { @@ -14244,9 +15062,9 @@ public static function flash() /** * Flash only some of the input to the session. * - * @param array|mixed $keys - * @return void - * @static + * @param mixed $keys + * @return void + * @static */ public static function flashOnly($keys) { @@ -14257,9 +15075,9 @@ public static function flashOnly($keys) /** * Flash only some of the input to the session. * - * @param array|mixed $keys - * @return void - * @static + * @param mixed $keys + * @return void + * @static */ public static function flashExcept($keys) { @@ -14270,8 +15088,8 @@ public static function flashExcept($keys) /** * Flush all of the old input from the session. * - * @return void - * @static + * @return void + * @static */ public static function flush() { @@ -14284,8 +15102,8 @@ public static function flush() * * @param string|null $key * @param string|array|null $default - * @return string|array|null - * @static + * @return string|array|null + * @static */ public static function server($key = null, $default = null) { @@ -14297,8 +15115,8 @@ public static function server($key = null, $default = null) * Determine if a header is set on the request. * * @param string $key - * @return bool - * @static + * @return bool + * @static */ public static function hasHeader($key) { @@ -14311,8 +15129,8 @@ public static function hasHeader($key) * * @param string|null $key * @param string|array|null $default - * @return string|array|null - * @static + * @return string|array|null + * @static */ public static function header($key = null, $default = null) { @@ -14323,8 +15141,8 @@ public static function header($key = null, $default = null) /** * Get the bearer token from the request headers. * - * @return string|null - * @static + * @return string|null + * @static */ public static function bearerToken() { @@ -14335,8 +15153,8 @@ public static function bearerToken() /** * Get the keys for all of the input and files. * - * @return array - * @static + * @return array + * @static */ public static function keys() { @@ -14347,9 +15165,9 @@ public static function keys() /** * Get all of the input and files for the request. * - * @param array|mixed|null $keys - * @return array - * @static + * @param mixed $keys + * @return array + * @static */ public static function all($keys = null) { @@ -14362,8 +15180,8 @@ public static function all($keys = null) * * @param string|null $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function input($key = null, $default = null) { @@ -14375,13 +15193,14 @@ public static function input($key = null, $default = null) * Retrieve input from the request as a Fluent object instance. * * @param array|string|null $key - * @return \Illuminate\Support\Fluent - * @static + * @param array $default + * @return \Illuminate\Support\Fluent + * @static */ - public static function fluent($key = null) + public static function fluent($key = null, $default = []) { /** @var \Illuminate\Http\Request $instance */ - return $instance->fluent($key); + return $instance->fluent($key, $default); } /** @@ -14389,8 +15208,8 @@ public static function fluent($key = null) * * @param string|null $key * @param string|array|null $default - * @return string|array|null - * @static + * @return string|array|null + * @static */ public static function query($key = null, $default = null) { @@ -14403,8 +15222,8 @@ public static function query($key = null, $default = null) * * @param string|null $key * @param string|array|null $default - * @return string|array|null - * @static + * @return string|array|null + * @static */ public static function post($key = null, $default = null) { @@ -14416,8 +15235,8 @@ public static function post($key = null, $default = null) * Determine if a cookie is set on the request. * * @param string $key - * @return bool - * @static + * @return bool + * @static */ public static function hasCookie($key) { @@ -14430,8 +15249,8 @@ public static function hasCookie($key) * * @param string|null $key * @param string|array|null $default - * @return string|array|null - * @static + * @return string|array|null + * @static */ public static function cookie($key = null, $default = null) { @@ -14442,8 +15261,8 @@ public static function cookie($key = null, $default = null) /** * Get an array of all of the files on the request. * - * @return array - * @static + * @return array + * @static */ public static function allFiles() { @@ -14455,8 +15274,8 @@ public static function allFiles() * Determine if the uploaded data contains a file. * * @param string $key - * @return bool - * @static + * @return bool + * @static */ public static function hasFile($key) { @@ -14469,8 +15288,8 @@ public static function hasFile($key) * * @param string|null $key * @param mixed $default - * @return \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null - * @static + * @return ($key is null ? array : \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null) + * @static */ public static function file($key = null, $default = null) { @@ -14482,8 +15301,8 @@ public static function file($key = null, $default = null) * Dump the items. * * @param mixed $keys - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function dump($keys = []) { @@ -14495,8 +15314,8 @@ public static function dump($keys = []) * Dump the given arguments and terminate execution. * * @param mixed $args - * @return never - * @static + * @return never + * @static */ public static function dd(...$args) { @@ -14508,8 +15327,8 @@ public static function dd(...$args) * Determine if the data contains a given key. * * @param string|array $key - * @return bool - * @static + * @return bool + * @static */ public static function exists($key) { @@ -14521,8 +15340,8 @@ public static function exists($key) * Determine if the data contains a given key. * * @param string|array $key - * @return bool - * @static + * @return bool + * @static */ public static function has($key) { @@ -14534,8 +15353,8 @@ public static function has($key) * Determine if the instance contains any of the given keys. * * @param string|array $keys - * @return bool - * @static + * @return bool + * @static */ public static function hasAny($keys) { @@ -14549,8 +15368,8 @@ public static function hasAny($keys) * @param string $key * @param callable $callback * @param callable|null $default - * @return $this|mixed - * @static + * @return $this|mixed + * @static */ public static function whenHas($key, $callback, $default = null) { @@ -14562,8 +15381,8 @@ public static function whenHas($key, $callback, $default = null) * Determine if the instance contains a non-empty value for the given key. * * @param string|array $key - * @return bool - * @static + * @return bool + * @static */ public static function filled($key) { @@ -14575,8 +15394,8 @@ public static function filled($key) * Determine if the instance contains an empty value for the given key. * * @param string|array $key - * @return bool - * @static + * @return bool + * @static */ public static function isNotFilled($key) { @@ -14588,8 +15407,8 @@ public static function isNotFilled($key) * Determine if the instance contains a non-empty value for any of the given keys. * * @param string|array $keys - * @return bool - * @static + * @return bool + * @static */ public static function anyFilled($keys) { @@ -14603,8 +15422,8 @@ public static function anyFilled($keys) * @param string $key * @param callable $callback * @param callable|null $default - * @return $this|mixed - * @static + * @return $this|mixed + * @static */ public static function whenFilled($key, $callback, $default = null) { @@ -14616,8 +15435,8 @@ public static function whenFilled($key, $callback, $default = null) * Determine if the instance is missing a given key. * * @param string|array $key - * @return bool - * @static + * @return bool + * @static */ public static function missing($key) { @@ -14631,8 +15450,8 @@ public static function missing($key) * @param string $key * @param callable $callback * @param callable|null $default - * @return $this|mixed - * @static + * @return $this|mixed + * @static */ public static function whenMissing($key, $callback, $default = null) { @@ -14645,8 +15464,8 @@ public static function whenMissing($key, $callback, $default = null) * * @param string $key * @param mixed $default - * @return \Illuminate\Support\Stringable - * @static + * @return \Illuminate\Support\Stringable + * @static */ public static function str($key, $default = null) { @@ -14659,8 +15478,8 @@ public static function str($key, $default = null) * * @param string $key * @param mixed $default - * @return \Illuminate\Support\Stringable - * @static + * @return \Illuminate\Support\Stringable + * @static */ public static function string($key, $default = null) { @@ -14670,13 +15489,13 @@ public static function string($key, $default = null) /** * Retrieve data as a boolean value. - * + * * Returns true when value is "1", "true", "on", and "yes". Otherwise, returns false. * * @param string|null $key * @param bool $default - * @return bool - * @static + * @return bool + * @static */ public static function boolean($key = null, $default = false) { @@ -14689,8 +15508,8 @@ public static function boolean($key = null, $default = false) * * @param string $key * @param int $default - * @return int - * @static + * @return int + * @static */ public static function integer($key, $default = 0) { @@ -14703,8 +15522,8 @@ public static function integer($key, $default = 0) * * @param string $key * @param float $default - * @return float - * @static + * @return float + * @static */ public static function float($key, $default = 0.0) { @@ -14712,15 +15531,31 @@ public static function float($key, $default = 0.0) return $instance->float($key, $default); } + /** + * Retrieve data clamped between min and max values. + * + * @param string $key + * @param int|float $min + * @param int|float $max + * @param int|float $default + * @return float|int + * @static + */ + public static function clamp($key, $min, $max, $default = 0) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->clamp($key, $min, $max, $default); + } + /** * Retrieve data from the instance as a Carbon instance. * * @param string $key * @param string|null $format - * @param string|null $tz - * @return \Illuminate\Support\Carbon|null + * @param \UnitEnum|string|null $tz + * @return \Illuminate\Support\Carbon|null * @throws \Carbon\Exceptions\InvalidFormatException - * @static + * @static */ public static function date($key, $format = null, $tz = null) { @@ -14728,19 +15563,35 @@ public static function date($key, $format = null, $tz = null) return $instance->date($key, $format, $tz); } + /** + * Retrieve data from the instance as a CarbonInterval instance. + * + * @param string $key + * @param \Carbon\Unit|string|null $unit + * @return \Carbon\CarbonInterval|null + * @static + */ + public static function interval($key, $unit = null) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->interval($key, $unit); + } + /** * Retrieve data from the instance as an enum. * * @template TEnum of \BackedEnum + * @template TDefault of TEnum|null * @param string $key * @param class-string $enumClass - * @return TEnum|null - * @static + * @param TDefault $default + * @return TEnum|TDefault + * @static */ - public static function enum($key, $enumClass) + public static function enum($key, $enumClass, $default = null) { /** @var \Illuminate\Http\Request $instance */ - return $instance->enum($key, $enumClass); + return $instance->enum($key, $enumClass, $default); } /** @@ -14749,8 +15600,8 @@ public static function enum($key, $enumClass) * @template TEnum of \BackedEnum * @param string $key * @param class-string $enumClass - * @return TEnum[] - * @static + * @return TEnum[] + * @static */ public static function enums($key, $enumClass) { @@ -14762,8 +15613,8 @@ public static function enums($key, $enumClass) * Retrieve data from the instance as an array. * * @param array|string|null $key - * @return array - * @static + * @return array + * @static */ public static function array($key = null) { @@ -14775,8 +15626,8 @@ public static function array($key = null) * Retrieve data from the instance as a collection. * * @param array|string|null $key - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function collect($key = null) { @@ -14787,9 +15638,9 @@ public static function collect($key = null) /** * Get a subset containing the provided keys with values from the instance data. * - * @param array|mixed $keys - * @return array - * @static + * @param mixed $keys + * @return array + * @static */ public static function only($keys) { @@ -14800,9 +15651,9 @@ public static function only($keys) /** * Get all of the data except for a specified array of items. * - * @param array|mixed $keys - * @return array - * @static + * @param mixed $keys + * @return array + * @static */ public static function except($keys) { @@ -14818,8 +15669,8 @@ public static function except($keys) * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default - * @return $this|TWhenReturnType - * @static + * @return $this|TWhenReturnType + * @static */ public static function when($value = null, $callback = null, $default = null) { @@ -14835,8 +15686,8 @@ public static function when($value = null, $callback = null, $default = null) * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default - * @return $this|TUnlessReturnType - * @static + * @return $this|TUnlessReturnType + * @static */ public static function unless($value = null, $callback = null, $default = null) { @@ -14850,8 +15701,8 @@ public static function unless($value = null, $callback = null, $default = null) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -14863,9 +15714,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -14876,8 +15727,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -14887,18 +15738,79 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { \Illuminate\Http\Request::flushMacros(); } + /** + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation() + * @param array $rules + * @param mixed $params + * @static + */ + public static function validate($rules, ...$params) + { + return \Illuminate\Http\Request::validate($rules, ...$params); + } + + /** + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation() + * @param string $errorBag + * @param array $rules + * @param mixed $params + * @static + */ + public static function validateWithBag($errorBag, $rules, ...$params) + { + return \Illuminate\Http\Request::validateWithBag($errorBag, $rules, ...$params); + } + + /** + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $absolute + * @static + */ + public static function hasValidSignature($absolute = true) + { + return \Illuminate\Http\Request::hasValidSignature($absolute); + } + + /** + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @static + */ + public static function hasValidRelativeSignature() + { + return \Illuminate\Http\Request::hasValidRelativeSignature(); + } + + /** + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $ignoreQuery + * @param mixed $absolute + * @static + */ + public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) + { + return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute); + } + + /** + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $ignoreQuery + * @static + */ + public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []) + { + return \Illuminate\Http\Request::hasValidRelativeSignatureWhileIgnoring($ignoreQuery); + } + } /** - * - * * @see \Illuminate\Routing\ResponseFactory */ class Response { @@ -14908,8 +15820,8 @@ class Response { * @param mixed $content * @param int $status * @param array $headers - * @return \Illuminate\Http\Response - * @static + * @return \Illuminate\Http\Response + * @static */ public static function make($content = '', $status = 200, $headers = []) { @@ -14922,8 +15834,8 @@ public static function make($content = '', $status = 200, $headers = []) * * @param int $status * @param array $headers - * @return \Illuminate\Http\Response - * @static + * @return \Illuminate\Http\Response + * @static */ public static function noContent($status = 204, $headers = []) { @@ -14938,8 +15850,8 @@ public static function noContent($status = 204, $headers = []) * @param array $data * @param int $status * @param array $headers - * @return \Illuminate\Http\Response - * @static + * @return \Illuminate\Http\Response + * @static */ public static function view($view, $data = [], $status = 200, $headers = []) { @@ -14954,8 +15866,8 @@ public static function view($view, $data = [], $status = 200, $headers = []) * @param int $status * @param array $headers * @param int $options - * @return \Illuminate\Http\JsonResponse - * @static + * @return \Illuminate\Http\JsonResponse + * @static */ public static function json($data = [], $status = 200, $headers = [], $options = 0) { @@ -14971,8 +15883,8 @@ public static function json($data = [], $status = 200, $headers = [], $options = * @param int $status * @param array $headers * @param int $options - * @return \Illuminate\Http\JsonResponse - * @static + * @return \Illuminate\Http\JsonResponse + * @static */ public static function jsonp($callback, $data = [], $status = 200, $headers = [], $options = 0) { @@ -14985,9 +15897,9 @@ public static function jsonp($callback, $data = [], $status = 200, $headers = [] * * @param \Closure $callback * @param array $headers - * @param string $endStreamWith - * @return \Symfony\Component\HttpFoundation\StreamedResponse - * @static + * @param \Illuminate\Http\StreamedEvent|string|null $endStreamWith + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @static */ public static function eventStream($callback, $headers = [], $endStreamWith = '') { @@ -14998,11 +15910,11 @@ public static function eventStream($callback, $headers = [], $endStreamWith = '< /** * Create a new streamed response instance. * - * @param callable $callback + * @param callable|null $callback * @param int $status * @param array $headers - * @return \Symfony\Component\HttpFoundation\StreamedResponse - * @static + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @static */ public static function stream($callback, $status = 200, $headers = []) { @@ -15011,14 +15923,14 @@ public static function stream($callback, $status = 200, $headers = []) } /** - * Create a new streamed response instance. + * Create a new streamed JSON response instance. * * @param array $data * @param int $status * @param array $headers * @param int $encodingOptions - * @return \Symfony\Component\HttpFoundation\StreamedJsonResponse - * @static + * @return \Symfony\Component\HttpFoundation\StreamedJsonResponse + * @static */ public static function streamJson($data, $status = 200, $headers = [], $encodingOptions = 15) { @@ -15033,9 +15945,9 @@ public static function streamJson($data, $status = 200, $headers = [], $encoding * @param string|null $name * @param array $headers * @param string|null $disposition - * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @return \Symfony\Component\HttpFoundation\StreamedResponse * @throws \Illuminate\Routing\Exceptions\StreamedResponseException - * @static + * @static */ public static function streamDownload($callback, $name = null, $headers = [], $disposition = 'attachment') { @@ -15050,8 +15962,8 @@ public static function streamDownload($callback, $name = null, $headers = [], $d * @param string|null $name * @param array $headers * @param string|null $disposition - * @return \Symfony\Component\HttpFoundation\BinaryFileResponse - * @static + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @static */ public static function download($file, $name = null, $headers = [], $disposition = 'attachment') { @@ -15064,8 +15976,8 @@ public static function download($file, $name = null, $headers = [], $disposition * * @param \SplFileInfo|string $file * @param array $headers - * @return \Symfony\Component\HttpFoundation\BinaryFileResponse - * @static + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @static */ public static function file($file, $headers = []) { @@ -15080,8 +15992,8 @@ public static function file($file, $headers = []) * @param int $status * @param array $headers * @param bool|null $secure - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function redirectTo($path, $status = 302, $headers = [], $secure = null) { @@ -15096,8 +16008,8 @@ public static function redirectTo($path, $status = 302, $headers = [], $secure = * @param mixed $parameters * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function redirectToRoute($route, $parameters = [], $status = 302, $headers = []) { @@ -15112,8 +16024,8 @@ public static function redirectToRoute($route, $parameters = [], $status = 302, * @param mixed $parameters * @param int $status * @param array $headers - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function redirectToAction($action, $parameters = [], $status = 302, $headers = []) { @@ -15128,8 +16040,8 @@ public static function redirectToAction($action, $parameters = [], $status = 302 * @param int $status * @param array $headers * @param bool|null $secure - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function redirectGuest($path, $status = 302, $headers = [], $secure = null) { @@ -15144,8 +16056,8 @@ public static function redirectGuest($path, $status = 302, $headers = [], $secur * @param int $status * @param array $headers * @param bool|null $secure - * @return \Illuminate\Http\RedirectResponse - * @static + * @return \Illuminate\Http\RedirectResponse + * @static */ public static function redirectToIntended($default = '/', $status = 302, $headers = [], $secure = null) { @@ -15159,8 +16071,8 @@ public static function redirectToIntended($default = '/', $status = 302, $header * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -15172,9 +16084,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -15185,8 +16097,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -15196,8 +16108,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -15206,8 +16118,6 @@ public static function flushMacros() } /** - * - * * @method static \Illuminate\Routing\RouteRegistrar attribute(string $key, mixed $value) * @method static \Illuminate\Routing\RouteRegistrar whereAlpha(array|string $parameters) * @method static \Illuminate\Routing\RouteRegistrar whereAlphaNumeric(array|string $parameters) @@ -15236,8 +16146,8 @@ class Route { * * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function get($uri, $action = null) { @@ -15250,8 +16160,8 @@ public static function get($uri, $action = null) * * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function post($uri, $action = null) { @@ -15264,8 +16174,8 @@ public static function post($uri, $action = null) * * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function put($uri, $action = null) { @@ -15278,8 +16188,8 @@ public static function put($uri, $action = null) * * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function patch($uri, $action = null) { @@ -15292,8 +16202,8 @@ public static function patch($uri, $action = null) * * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function delete($uri, $action = null) { @@ -15306,8 +16216,8 @@ public static function delete($uri, $action = null) * * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function options($uri, $action = null) { @@ -15320,8 +16230,8 @@ public static function options($uri, $action = null) * * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function any($uri, $action = null) { @@ -15333,8 +16243,8 @@ public static function any($uri, $action = null) * Register a new fallback route with the router. * * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function fallback($action) { @@ -15348,8 +16258,8 @@ public static function fallback($action) * @param string $uri * @param string $destination * @param int $status - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function redirect($uri, $destination, $status = 302) { @@ -15362,8 +16272,8 @@ public static function redirect($uri, $destination, $status = 302) * * @param string $uri * @param string $destination - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function permanentRedirect($uri, $destination) { @@ -15379,8 +16289,8 @@ public static function permanentRedirect($uri, $destination) * @param array $data * @param int|array $status * @param array $headers - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function view($uri, $view, $data = [], $status = 200, $headers = []) { @@ -15394,8 +16304,8 @@ public static function view($uri, $view, $data = [], $status = 200, $headers = [ * @param array|string $methods * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function match($methods, $uri, $action = null) { @@ -15408,8 +16318,8 @@ public static function match($methods, $uri, $action = null) * * @param array $resources * @param array $options - * @return void - * @static + * @return void + * @static */ public static function resources($resources, $options = []) { @@ -15418,13 +16328,27 @@ public static function resources($resources, $options = []) } /** - * Route a resource to a controller. + * Register an array of resource controllers that can be soft deleted. * - * @param string $name - * @param string $controller + * @param array $resources * @param array $options - * @return \Illuminate\Routing\PendingResourceRegistration - * @static + * @return void + * @static + */ + public static function softDeletableResources($resources, $options = []) + { + /** @var \Illuminate\Routing\Router $instance */ + $instance->softDeletableResources($resources, $options); + } + + /** + * Route a resource to a controller. + * + * @param string $name + * @param string $controller + * @param array $options + * @return \Illuminate\Routing\PendingResourceRegistration + * @static */ public static function resource($name, $controller, $options = []) { @@ -15437,8 +16361,8 @@ public static function resource($name, $controller, $options = []) * * @param array $resources * @param array $options - * @return void - * @static + * @return void + * @static */ public static function apiResources($resources, $options = []) { @@ -15452,8 +16376,8 @@ public static function apiResources($resources, $options = []) * @param string $name * @param string $controller * @param array $options - * @return \Illuminate\Routing\PendingResourceRegistration - * @static + * @return \Illuminate\Routing\PendingResourceRegistration + * @static */ public static function apiResource($name, $controller, $options = []) { @@ -15466,8 +16390,8 @@ public static function apiResource($name, $controller, $options = []) * * @param array $singletons * @param array $options - * @return void - * @static + * @return void + * @static */ public static function singletons($singletons, $options = []) { @@ -15481,8 +16405,8 @@ public static function singletons($singletons, $options = []) * @param string $name * @param string $controller * @param array $options - * @return \Illuminate\Routing\PendingSingletonResourceRegistration - * @static + * @return \Illuminate\Routing\PendingSingletonResourceRegistration + * @static */ public static function singleton($name, $controller, $options = []) { @@ -15495,8 +16419,8 @@ public static function singleton($name, $controller, $options = []) * * @param array $singletons * @param array $options - * @return void - * @static + * @return void + * @static */ public static function apiSingletons($singletons, $options = []) { @@ -15510,8 +16434,8 @@ public static function apiSingletons($singletons, $options = []) * @param string $name * @param string $controller * @param array $options - * @return \Illuminate\Routing\PendingSingletonResourceRegistration - * @static + * @return \Illuminate\Routing\PendingSingletonResourceRegistration + * @static */ public static function apiSingleton($name, $controller, $options = []) { @@ -15524,8 +16448,8 @@ public static function apiSingleton($name, $controller, $options = []) * * @param array $attributes * @param \Closure|array|string $routes - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function group($attributes, $routes) { @@ -15538,8 +16462,8 @@ public static function group($attributes, $routes) * * @param array $new * @param bool $prependExistingPrefix - * @return array - * @static + * @return array + * @static */ public static function mergeWithLastGroup($new, $prependExistingPrefix = true) { @@ -15550,8 +16474,8 @@ public static function mergeWithLastGroup($new, $prependExistingPrefix = true) /** * Get the prefix from the last group on the stack. * - * @return string - * @static + * @return string + * @static */ public static function getLastGroupPrefix() { @@ -15565,8 +16489,8 @@ public static function getLastGroupPrefix() * @param array|string $methods * @param string $uri * @param array|string|callable|null $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function addRoute($methods, $uri, $action) { @@ -15580,8 +16504,8 @@ public static function addRoute($methods, $uri, $action) * @param array|string $methods * @param string $uri * @param mixed $action - * @return \Illuminate\Routing\Route - * @static + * @return \Illuminate\Routing\Route + * @static */ public static function newRoute($methods, $uri, $action) { @@ -15593,8 +16517,8 @@ public static function newRoute($methods, $uri, $action) * Return the response returned by the given route. * * @param string $name - * @return \Symfony\Component\HttpFoundation\Response - * @static + * @return \Symfony\Component\HttpFoundation\Response + * @static */ public static function respondWithRoute($name) { @@ -15606,8 +16530,8 @@ public static function respondWithRoute($name) * Dispatch the request to the application. * * @param \Illuminate\Http\Request $request - * @return \Symfony\Component\HttpFoundation\Response - * @static + * @return \Symfony\Component\HttpFoundation\Response + * @static */ public static function dispatch($request) { @@ -15619,8 +16543,8 @@ public static function dispatch($request) * Dispatch the request to a route and return the response. * * @param \Illuminate\Http\Request $request - * @return \Symfony\Component\HttpFoundation\Response - * @static + * @return \Symfony\Component\HttpFoundation\Response + * @static */ public static function dispatchToRoute($request) { @@ -15632,8 +16556,8 @@ public static function dispatchToRoute($request) * Gather the middleware for the given route with resolved class names. * * @param \Illuminate\Routing\Route $route - * @return array - * @static + * @return array + * @static */ public static function gatherRouteMiddleware($route) { @@ -15646,8 +16570,8 @@ public static function gatherRouteMiddleware($route) * * @param array $middleware * @param array $excluded - * @return array - * @static + * @return array + * @static */ public static function resolveMiddleware($middleware, $excluded = []) { @@ -15660,8 +16584,8 @@ public static function resolveMiddleware($middleware, $excluded = []) * * @param \Symfony\Component\HttpFoundation\Request $request * @param mixed $response - * @return \Symfony\Component\HttpFoundation\Response - * @static + * @return \Symfony\Component\HttpFoundation\Response + * @static */ public static function prepareResponse($request, $response) { @@ -15674,8 +16598,8 @@ public static function prepareResponse($request, $response) * * @param \Symfony\Component\HttpFoundation\Request $request * @param mixed $response - * @return \Symfony\Component\HttpFoundation\Response - * @static + * @return \Symfony\Component\HttpFoundation\Response + * @static */ public static function toResponse($request, $response) { @@ -15686,10 +16610,10 @@ public static function toResponse($request, $response) * Substitute the route bindings onto the route. * * @param \Illuminate\Routing\Route $route - * @return \Illuminate\Routing\Route + * @return \Illuminate\Routing\Route * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException - * @static + * @static */ public static function substituteBindings($route) { @@ -15701,10 +16625,10 @@ public static function substituteBindings($route) * Substitute the implicit route bindings for the given route. * * @param \Illuminate\Routing\Route $route - * @return void + * @return void * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException - * @static + * @static */ public static function substituteImplicitBindings($route) { @@ -15716,8 +16640,8 @@ public static function substituteImplicitBindings($route) * Register a callback to run after implicit bindings are substituted. * * @param callable $callback - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function substituteImplicitBindingsUsing($callback) { @@ -15729,8 +16653,8 @@ public static function substituteImplicitBindingsUsing($callback) * Register a route matched event listener. * * @param string|callable $callback - * @return void - * @static + * @return void + * @static */ public static function matched($callback) { @@ -15741,8 +16665,8 @@ public static function matched($callback) /** * Get all of the defined middleware short-hand names. * - * @return array - * @static + * @return array + * @static */ public static function getMiddleware() { @@ -15755,8 +16679,8 @@ public static function getMiddleware() * * @param string $name * @param string $class - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function aliasMiddleware($name, $class) { @@ -15768,8 +16692,8 @@ public static function aliasMiddleware($name, $class) * Check if a middlewareGroup with the given name exists. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMiddlewareGroup($name) { @@ -15780,8 +16704,8 @@ public static function hasMiddlewareGroup($name) /** * Get all of the defined middleware groups. * - * @return array - * @static + * @return array + * @static */ public static function getMiddlewareGroups() { @@ -15794,8 +16718,8 @@ public static function getMiddlewareGroups() * * @param string $name * @param array $middleware - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function middlewareGroup($name, $middleware) { @@ -15805,13 +16729,13 @@ public static function middlewareGroup($name, $middleware) /** * Add a middleware to the beginning of a middleware group. - * + * * If the middleware is already in the group, it will not be added again. * * @param string $group * @param string $middleware - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function prependMiddlewareToGroup($group, $middleware) { @@ -15821,13 +16745,13 @@ public static function prependMiddlewareToGroup($group, $middleware) /** * Add a middleware to the end of a middleware group. - * + * * If the middleware is already in the group, it will not be added again. * * @param string $group * @param string $middleware - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function pushMiddlewareToGroup($group, $middleware) { @@ -15840,8 +16764,8 @@ public static function pushMiddlewareToGroup($group, $middleware) * * @param string $group * @param string $middleware - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function removeMiddlewareFromGroup($group, $middleware) { @@ -15852,8 +16776,8 @@ public static function removeMiddlewareFromGroup($group, $middleware) /** * Flush the router's middleware groups. * - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function flushMiddlewareGroups() { @@ -15866,8 +16790,8 @@ public static function flushMiddlewareGroups() * * @param string $key * @param string|callable $binder - * @return void - * @static + * @return void + * @static */ public static function bind($key, $binder) { @@ -15881,8 +16805,8 @@ public static function bind($key, $binder) * @param string $key * @param string $class * @param \Closure|null $callback - * @return void - * @static + * @return void + * @static */ public static function model($key, $class, $callback = null) { @@ -15894,8 +16818,8 @@ public static function model($key, $class, $callback = null) * Get the binding callback for a given binding. * * @param string $key - * @return \Closure|null - * @static + * @return \Closure|null + * @static */ public static function getBindingCallback($key) { @@ -15906,8 +16830,8 @@ public static function getBindingCallback($key) /** * Get the global "where" patterns. * - * @return array - * @static + * @return array + * @static */ public static function getPatterns() { @@ -15920,8 +16844,8 @@ public static function getPatterns() * * @param string $key * @param string $pattern - * @return void - * @static + * @return void + * @static */ public static function pattern($key, $pattern) { @@ -15933,8 +16857,8 @@ public static function pattern($key, $pattern) * Set a group of global where patterns on all routes. * * @param array $patterns - * @return void - * @static + * @return void + * @static */ public static function patterns($patterns) { @@ -15945,8 +16869,8 @@ public static function patterns($patterns) /** * Determine if the router currently has a group stack. * - * @return bool - * @static + * @return bool + * @static */ public static function hasGroupStack() { @@ -15957,8 +16881,8 @@ public static function hasGroupStack() /** * Get the current group stack for the router. * - * @return array - * @static + * @return array + * @static */ public static function getGroupStack() { @@ -15971,8 +16895,8 @@ public static function getGroupStack() * * @param string $key * @param string|null $default - * @return mixed - * @static + * @return mixed + * @static */ public static function input($key, $default = null) { @@ -15983,8 +16907,8 @@ public static function input($key, $default = null) /** * Get the request currently being dispatched. * - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function getCurrentRequest() { @@ -15995,8 +16919,8 @@ public static function getCurrentRequest() /** * Get the currently dispatched route instance. * - * @return \Illuminate\Routing\Route|null - * @static + * @return \Illuminate\Routing\Route|null + * @static */ public static function getCurrentRoute() { @@ -16007,8 +16931,8 @@ public static function getCurrentRoute() /** * Get the currently dispatched route instance. * - * @return \Illuminate\Routing\Route|null - * @static + * @return \Illuminate\Routing\Route|null + * @static */ public static function current() { @@ -16020,8 +16944,8 @@ public static function current() * Check if a route with the given name exists. * * @param string|array $name - * @return bool - * @static + * @return bool + * @static */ public static function has($name) { @@ -16032,8 +16956,8 @@ public static function has($name) /** * Get the current route name. * - * @return string|null - * @static + * @return string|null + * @static */ public static function currentRouteName() { @@ -16045,8 +16969,8 @@ public static function currentRouteName() * Alias for the "currentRouteNamed" method. * * @param mixed $patterns - * @return bool - * @static + * @return bool + * @static */ public static function is(...$patterns) { @@ -16058,8 +16982,8 @@ public static function is(...$patterns) * Determine if the current route matches a pattern. * * @param mixed $patterns - * @return bool - * @static + * @return bool + * @static */ public static function currentRouteNamed(...$patterns) { @@ -16070,8 +16994,8 @@ public static function currentRouteNamed(...$patterns) /** * Get the current route action. * - * @return string|null - * @static + * @return string|null + * @static */ public static function currentRouteAction() { @@ -16083,8 +17007,8 @@ public static function currentRouteAction() * Alias for the "currentRouteUses" method. * * @param array|string $patterns - * @return bool - * @static + * @return bool + * @static */ public static function uses(...$patterns) { @@ -16096,8 +17020,8 @@ public static function uses(...$patterns) * Determine if the current route action matches a given action. * * @param string $action - * @return bool - * @static + * @return bool + * @static */ public static function currentRouteUses($action) { @@ -16109,8 +17033,8 @@ public static function currentRouteUses($action) * Set the unmapped global resource parameters to singular. * * @param bool $singular - * @return void - * @static + * @return void + * @static */ public static function singularResourceParameters($singular = true) { @@ -16122,8 +17046,8 @@ public static function singularResourceParameters($singular = true) * Set the global resource parameter mapping. * * @param array $parameters - * @return void - * @static + * @return void + * @static */ public static function resourceParameters($parameters = []) { @@ -16135,8 +17059,8 @@ public static function resourceParameters($parameters = []) * Get or set the verbs used in the resource URIs. * * @param array $verbs - * @return array|null - * @static + * @return array|null + * @static */ public static function resourceVerbs($verbs = []) { @@ -16147,8 +17071,8 @@ public static function resourceVerbs($verbs = []) /** * Get the underlying route collection. * - * @return \Illuminate\Routing\RouteCollectionInterface - * @static + * @return \Illuminate\Routing\RouteCollectionInterface + * @static */ public static function getRoutes() { @@ -16160,8 +17084,8 @@ public static function getRoutes() * Set the route collection instance. * * @param \Illuminate\Routing\RouteCollection $routes - * @return void - * @static + * @return void + * @static */ public static function setRoutes($routes) { @@ -16173,8 +17097,8 @@ public static function setRoutes($routes) * Set the compiled route collection instance. * * @param array $routes - * @return void - * @static + * @return void + * @static */ public static function setCompiledRoutes($routes) { @@ -16186,8 +17110,8 @@ public static function setCompiledRoutes($routes) * Remove any duplicate middleware from the given array. * * @param array $middleware - * @return array - * @static + * @return array + * @static */ public static function uniqueMiddleware($middleware) { @@ -16198,8 +17122,8 @@ public static function uniqueMiddleware($middleware) * Set the container instance used by the router. * * @param \Illuminate\Container\Container $container - * @return \Illuminate\Routing\Router - * @static + * @return \Illuminate\Routing\Router + * @static */ public static function setContainer($container) { @@ -16213,8 +17137,8 @@ public static function setContainer($container) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -16226,9 +17150,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -16239,8 +17163,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -16250,8 +17174,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -16263,9 +17187,9 @@ public static function flushMacros() * * @param string $method * @param array $parameters - * @return mixed + * @return mixed * @throws \BadMethodCallException - * @static + * @static */ public static function macroCall($method, $parameters) { @@ -16278,7 +17202,7 @@ public static function macroCall($method, $parameters) * * @param (callable($this): mixed)|null $callback * @return ($callback is null ? \Illuminate\Support\HigherOrderTapProxy : $this) - * @static + * @static */ public static function tap($callback = null) { @@ -16286,228 +17210,270 @@ public static function tap($callback = null) return $instance->tap($callback); } + /** + * @see \Laravel\Ui\AuthRouteMethods::auth() + * @param mixed $options + * @static + */ + public static function auth($options = []) + { + return \Illuminate\Routing\Router::auth($options); + } + + /** + * @see \Laravel\Ui\AuthRouteMethods::resetPassword() + * @static + */ + public static function resetPassword() + { + return \Illuminate\Routing\Router::resetPassword(); + } + + /** + * @see \Laravel\Ui\AuthRouteMethods::confirmPassword() + * @static + */ + public static function confirmPassword() + { + return \Illuminate\Routing\Router::confirmPassword(); + } + + /** + * @see \Laravel\Ui\AuthRouteMethods::emailVerification() + * @static + */ + public static function emailVerification() + { + return \Illuminate\Routing\Router::emailVerification(); + } + } /** - * - * * @see \Illuminate\Database\Schema\Builder */ class Schema { /** - * Create a database in the schema. + * Drop all tables from the database. * - * @param string $name - * @return bool - * @static + * @return void + * @static */ - public static function createDatabase($name) + public static function dropAllTables() { /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->createDatabase($name); + $instance->dropAllTables(); } /** - * Drop a database from the schema if the database exists. + * Drop all views from the database. * - * @param string $name - * @return bool - * @static + * @return void + * @static */ - public static function dropDatabaseIfExists($name) + public static function dropAllViews() { /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->dropDatabaseIfExists($name); + $instance->dropAllViews(); } /** - * Determine if the given table exists. + * Get the names of current schemas for the connection. * - * @param string $table - * @return bool - * @static + * @return string[]|null + * @static */ - public static function hasTable($table) + public static function getCurrentSchemaListing() { /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->hasTable($table); + return $instance->getCurrentSchemaListing(); } /** - * Get the tables for the database. + * Set the default string length for migrations. * - * @return array - * @static + * @param non-negative-int $length + * @return void + * @static */ - public static function getTables() + public static function defaultStringLength($length) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getTables(); + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::defaultStringLength($length); } /** - * Get the views for the database. + * Set the default time precision for migrations. * - * @return array - * @static + * @static */ - public static function getViews() + public static function defaultTimePrecision($precision) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getViews(); + //Method inherited from \Illuminate\Database\Schema\Builder + return \Illuminate\Database\Schema\MySqlBuilder::defaultTimePrecision($precision); } /** - * Get the columns for a given table. + * Set the default morph key type for migrations. * - * @param string $table - * @return array - * @static + * @param string $type + * @return void + * @throws \InvalidArgumentException + * @static */ - public static function getColumns($table) + public static function defaultMorphKeyType($type) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getColumns($table); + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::defaultMorphKeyType($type); } /** - * Get the indexes for a given table. + * Set the default morph key type for migrations to UUIDs. * - * @param string $table - * @return array - * @static + * @return void + * @static */ - public static function getIndexes($table) + public static function morphUsingUuids() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getIndexes($table); + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::morphUsingUuids(); } /** - * Get the foreign keys for a given table. + * Set the default morph key type for migrations to ULIDs. * - * @param string $table - * @return array - * @static + * @return void + * @static */ - public static function getForeignKeys($table) + public static function morphUsingUlids() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getForeignKeys($table); + //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::morphUsingUlids(); } /** - * Drop all tables from the database. + * Create a database in the schema. * - * @return void - * @static + * @param string $name + * @return bool + * @static */ - public static function dropAllTables() + public static function createDatabase($name) { + //Method inherited from \Illuminate\Database\Schema\Builder /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - $instance->dropAllTables(); + return $instance->createDatabase($name); } /** - * Drop all views from the database. + * Drop a database from the schema if the database exists. * - * @return void - * @static + * @param string $name + * @return bool + * @static */ - public static function dropAllViews() + public static function dropDatabaseIfExists($name) { + //Method inherited from \Illuminate\Database\Schema\Builder /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - $instance->dropAllViews(); + return $instance->dropDatabaseIfExists($name); } /** - * Set the default string length for migrations. + * Get the schemas that belong to the connection. * - * @param int $length - * @return void - * @static + * @return \Illuminate\Database\Schema\list + * @static */ - public static function defaultStringLength($length) + public static function getSchemas() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::defaultStringLength($length); + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getSchemas(); } /** - * Set the default morph key type for migrations. + * Determine if the given table exists. * - * @param string $type - * @return void - * @throws \InvalidArgumentException - * @static + * @param string $table + * @return bool + * @static */ - public static function defaultMorphKeyType($type) + public static function hasTable($table) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::defaultMorphKeyType($type); + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasTable($table); } /** - * Set the default morph key type for migrations to UUIDs. + * Determine if the given view exists. * - * @return void - * @static + * @param string $view + * @return bool + * @static */ - public static function morphUsingUuids() + public static function hasView($view) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::morphUsingUuids(); + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasView($view); } /** - * Set the default morph key type for migrations to ULIDs. + * Get the tables that belong to the connection. * - * @return void - * @static + * @param string|string[]|null $schema + * @return \Illuminate\Database\Schema\list + * @static */ - public static function morphUsingUlids() + public static function getTables($schema = null) { - //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::morphUsingUlids(); + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getTables($schema); } /** - * Determine if the given view exists. + * Get the names of the tables that belong to the connection. * - * @param string $view - * @return bool - * @static + * @param string|string[]|null $schema + * @param bool $schemaQualified + * @return list + * @static */ - public static function hasView($view) + public static function getTableListing($schema = null, $schemaQualified = true) { - //Method inherited from \Illuminate\Database\Schema\Builder + //Method inherited from \Illuminate\Database\Schema\Builder /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->hasView($view); + return $instance->getTableListing($schema, $schemaQualified); } /** - * Get the names of the tables that belong to the database. + * Get the views that belong to the connection. * - * @return array - * @static + * @param string|string[]|null $schema + * @return \Illuminate\Database\Schema\list + * @static */ - public static function getTableListing() + public static function getViews($schema = null) { //Method inherited from \Illuminate\Database\Schema\Builder /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getTableListing(); + return $instance->getViews($schema); } /** - * Get the user-defined types that belong to the database. + * Get the user-defined types that belong to the connection. * - * @return array - * @static + * @param string|string[]|null $schema + * @return \Illuminate\Database\Schema\list + * @static */ - public static function getTypes() + public static function getTypes($schema = null) { //Method inherited from \Illuminate\Database\Schema\Builder /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getTypes(); + return $instance->getTypes($schema); } /** @@ -16515,8 +17481,8 @@ public static function getTypes() * * @param string $table * @param string $column - * @return bool - * @static + * @return bool + * @static */ public static function hasColumn($table, $column) { @@ -16529,9 +17495,9 @@ public static function hasColumn($table, $column) * Determine if the given table has given columns. * * @param string $table - * @param array $columns - * @return bool - * @static + * @param array $columns + * @return bool + * @static */ public static function hasColumns($table, $columns) { @@ -16546,8 +17512,8 @@ public static function hasColumns($table, $columns) * @param string $table * @param string $column * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function whenTableHasColumn($table, $column, $callback) { @@ -16562,8 +17528,8 @@ public static function whenTableHasColumn($table, $column, $callback) * @param string $table * @param string $column * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function whenTableDoesntHaveColumn($table, $column, $callback) { @@ -16572,14 +17538,48 @@ public static function whenTableDoesntHaveColumn($table, $column, $callback) $instance->whenTableDoesntHaveColumn($table, $column, $callback); } + /** + * Execute a table builder callback if the given table has a given index. + * + * @param string $table + * @param string|array $index + * @param \Closure $callback + * @param string|null $type + * @return void + * @static + */ + public static function whenTableHasIndex($table, $index, $callback, $type = null) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->whenTableHasIndex($table, $index, $callback, $type); + } + + /** + * Execute a table builder callback if the given table doesn't have a given index. + * + * @param string $table + * @param string|array $index + * @param \Closure $callback + * @param string|null $type + * @return void + * @static + */ + public static function whenTableDoesntHaveIndex($table, $index, $callback, $type = null) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->whenTableDoesntHaveIndex($table, $index, $callback, $type); + } + /** * Get the data type for the given column name. * * @param string $table * @param string $column * @param bool $fullDefinition - * @return string - * @static + * @return string + * @static */ public static function getColumnType($table, $column, $fullDefinition = false) { @@ -16592,8 +17592,8 @@ public static function getColumnType($table, $column, $fullDefinition = false) * Get the column listing for a given table. * * @param string $table - * @return array - * @static + * @return list + * @static */ public static function getColumnListing($table) { @@ -16602,12 +17602,40 @@ public static function getColumnListing($table) return $instance->getColumnListing($table); } + /** + * Get the columns for a given table. + * + * @param string $table + * @return \Illuminate\Database\Schema\list + * @static + */ + public static function getColumns($table) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getColumns($table); + } + + /** + * Get the indexes for a given table. + * + * @param string $table + * @return \Illuminate\Database\Schema\list, type: string, unique: bool, primary: bool}> + * @static + */ + public static function getIndexes($table) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getIndexes($table); + } + /** * Get the names of the indexes for a given table. * * @param string $table - * @return array - * @static + * @return list + * @static */ public static function getIndexListing($table) { @@ -16622,8 +17650,8 @@ public static function getIndexListing($table) * @param string $table * @param string|array $index * @param string|null $type - * @return bool - * @static + * @return bool + * @static */ public static function hasIndex($table, $index, $type = null) { @@ -16632,13 +17660,27 @@ public static function hasIndex($table, $index, $type = null) return $instance->hasIndex($table, $index, $type); } + /** + * Get the foreign keys for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getForeignKeys($table) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getForeignKeys($table); + } + /** * Modify a table on the schema. * * @param string $table * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function table($table, $callback) { @@ -16652,8 +17694,8 @@ public static function table($table, $callback) * * @param string $table * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function create($table, $callback) { @@ -16666,8 +17708,8 @@ public static function create($table, $callback) * Drop a table from the schema. * * @param string $table - * @return void - * @static + * @return void + * @static */ public static function drop($table) { @@ -16680,8 +17722,8 @@ public static function drop($table) * Drop a table from the schema if it exists. * * @param string $table - * @return void - * @static + * @return void + * @static */ public static function dropIfExists($table) { @@ -16694,9 +17736,9 @@ public static function dropIfExists($table) * Drop columns from a table schema. * * @param string $table - * @param string|array $columns - * @return void - * @static + * @param string|array $columns + * @return void + * @static */ public static function dropColumns($table, $columns) { @@ -16708,9 +17750,9 @@ public static function dropColumns($table, $columns) /** * Drop all types from the database. * - * @return void + * @return void * @throws \LogicException - * @static + * @static */ public static function dropAllTypes() { @@ -16724,8 +17766,8 @@ public static function dropAllTypes() * * @param string $from * @param string $to - * @return void - * @static + * @return void + * @static */ public static function rename($from, $to) { @@ -16737,8 +17779,8 @@ public static function rename($from, $to) /** * Enable foreign key constraints. * - * @return bool - * @static + * @return bool + * @static */ public static function enableForeignKeyConstraints() { @@ -16750,8 +17792,8 @@ public static function enableForeignKeyConstraints() /** * Disable foreign key constraints. * - * @return bool - * @static + * @return bool + * @static */ public static function disableForeignKeyConstraints() { @@ -16763,9 +17805,10 @@ public static function disableForeignKeyConstraints() /** * Disable foreign key constraints during the execution of a callback. * - * @param \Closure $callback - * @return mixed - * @static + * @template TReturn + * @param (\Closure(): TReturn) $callback + * @return TReturn + * @static */ public static function withoutForeignKeyConstraints($callback) { @@ -16775,38 +17818,81 @@ public static function withoutForeignKeyConstraints($callback) } /** - * Get the database connection instance. + * Create the vector extension on the schema if it does not exist. * - * @return \Illuminate\Database\Connection - * @static + * @param string|null $schema + * @return void + * @static */ - public static function getConnection() + public static function ensureVectorExtensionExists($schema = null) { //Method inherited from \Illuminate\Database\Schema\Builder /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getConnection(); + $instance->ensureVectorExtensionExists($schema); } /** - * Set the database connection instance. + * Create a new extension on the schema if it does not exist. * - * @param \Illuminate\Database\Connection $connection - * @return \Illuminate\Database\Schema\MySqlBuilder - * @static + * @param string $name + * @param string|null $schema + * @return void + * @static */ - public static function setConnection($connection) + public static function ensureExtensionExists($name, $schema = null) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->ensureExtensionExists($name, $schema); + } + + /** + * Get the default schema name for the connection. + * + * @return string|null + * @static + */ + public static function getCurrentSchemaName() + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getCurrentSchemaName(); + } + + /** + * Parse the given database object reference and extract the schema and table. + * + * @param string $reference + * @param string|bool|null $withDefaultSchema + * @return array{string|null, string} + * @static + */ + public static function parseSchemaAndTable($reference, $withDefaultSchema = null) + { + //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->parseSchemaAndTable($reference, $withDefaultSchema); + } + + /** + * Get the database connection instance. + * + * @return \Illuminate\Database\Connection + * @static + */ + public static function getConnection() { //Method inherited from \Illuminate\Database\Schema\Builder /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->setConnection($connection); + return $instance->getConnection(); } /** * Set the Schema Blueprint resolver callback. * - * @param \Closure $resolver - * @return void - * @static + * @param \Closure(\Illuminate\Database\Connection, string, \Closure|null): \Illuminate\Database\Schema\Blueprint $resolver + * @return void + * @static */ public static function blueprintResolver($resolver) { @@ -16821,8 +17907,8 @@ public static function blueprintResolver($resolver) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -16835,9 +17921,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -16849,8 +17935,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -16861,8 +17947,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -16872,16 +17958,14 @@ public static function flushMacros() } /** - * - * * @see \Illuminate\Session\SessionManager */ class Session { /** * Determine if requests for the same session should wait for each to finish before executing. * - * @return bool - * @static + * @return bool + * @static */ public static function shouldBlock() { @@ -16892,8 +17976,8 @@ public static function shouldBlock() /** * Get the name of the cache store / driver that should be used to acquire session locks. * - * @return string|null - * @static + * @return string|null + * @static */ public static function blockDriver() { @@ -16904,8 +17988,8 @@ public static function blockDriver() /** * Get the maximum number of seconds the session lock should be held for. * - * @return int - * @static + * @return int + * @static */ public static function defaultRouteBlockLockSeconds() { @@ -16916,8 +18000,8 @@ public static function defaultRouteBlockLockSeconds() /** * Get the maximum number of seconds to wait while attempting to acquire a route block session lock. * - * @return int - * @static + * @return int + * @static */ public static function defaultRouteBlockWaitSeconds() { @@ -16928,8 +18012,8 @@ public static function defaultRouteBlockWaitSeconds() /** * Get the session configuration. * - * @return array - * @static + * @return array + * @static */ public static function getSessionConfig() { @@ -16940,8 +18024,8 @@ public static function getSessionConfig() /** * Get the default session driver name. * - * @return string - * @static + * @return string|null + * @static */ public static function getDefaultDriver() { @@ -16953,8 +18037,8 @@ public static function getDefaultDriver() * Set the default session driver name. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setDefaultDriver($name) { @@ -16966,9 +18050,9 @@ public static function setDefaultDriver($name) * Get a driver instance. * * @param string|null $driver - * @return mixed + * @return mixed * @throws \InvalidArgumentException - * @static + * @static */ public static function driver($driver = null) { @@ -16982,8 +18066,8 @@ public static function driver($driver = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Session\SessionManager - * @static + * @return \Illuminate\Session\SessionManager + * @static */ public static function extend($driver, $callback) { @@ -16995,8 +18079,8 @@ public static function extend($driver, $callback) /** * Get all of the created "drivers". * - * @return array - * @static + * @return array + * @static */ public static function getDrivers() { @@ -17008,8 +18092,8 @@ public static function getDrivers() /** * Get the container instance used by the manager. * - * @return \Illuminate\Contracts\Container\Container - * @static + * @return \Illuminate\Contracts\Container\Container + * @static */ public static function getContainer() { @@ -17022,8 +18106,8 @@ public static function getContainer() * Set the container instance used by the manager. * * @param \Illuminate\Contracts\Container\Container $container - * @return \Illuminate\Session\SessionManager - * @static + * @return \Illuminate\Session\SessionManager + * @static */ public static function setContainer($container) { @@ -17035,8 +18119,8 @@ public static function setContainer($container) /** * Forget all of the resolved driver instances. * - * @return \Illuminate\Session\SessionManager - * @static + * @return \Illuminate\Session\SessionManager + * @static */ public static function forgetDrivers() { @@ -17048,8 +18132,8 @@ public static function forgetDrivers() /** * Start the session, reading the data from a handler. * - * @return bool - * @static + * @return bool + * @static */ public static function start() { @@ -17060,8 +18144,8 @@ public static function start() /** * Save the session data to storage. * - * @return void - * @static + * @return void + * @static */ public static function save() { @@ -17072,8 +18156,8 @@ public static function save() /** * Age the flash data for the session. * - * @return void - * @static + * @return void + * @static */ public static function ageFlashData() { @@ -17084,8 +18168,8 @@ public static function ageFlashData() /** * Get all of the session data. * - * @return array - * @static + * @return array + * @static */ public static function all() { @@ -17097,8 +18181,8 @@ public static function all() * Get a subset of the session data. * * @param array $keys - * @return array - * @static + * @return array + * @static */ public static function only($keys) { @@ -17110,8 +18194,8 @@ public static function only($keys) * Get all the session data except for a specified array of items. * * @param array $keys - * @return array - * @static + * @return array + * @static */ public static function except($keys) { @@ -17122,9 +18206,9 @@ public static function except($keys) /** * Checks if a key exists. * - * @param string|array $key - * @return bool - * @static + * @param \UnitEnum|string|array $key + * @return bool + * @static */ public static function exists($key) { @@ -17135,9 +18219,9 @@ public static function exists($key) /** * Determine if the given key is missing from the session data. * - * @param string|array $key - * @return bool - * @static + * @param \UnitEnum|string|array $key + * @return bool + * @static */ public static function missing($key) { @@ -17148,9 +18232,9 @@ public static function missing($key) /** * Determine if a key is present and not null. * - * @param string|array $key - * @return bool - * @static + * @param \UnitEnum|string|array $key + * @return bool + * @static */ public static function has($key) { @@ -17161,9 +18245,9 @@ public static function has($key) /** * Determine if any of the given keys are present and not null. * - * @param string|array $key - * @return bool - * @static + * @param \UnitEnum|string|array $key + * @return bool + * @static */ public static function hasAny($key) { @@ -17174,10 +18258,10 @@ public static function hasAny($key) /** * Get an item from the session. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function get($key, $default = null) { @@ -17188,10 +18272,10 @@ public static function get($key, $default = null) /** * Get the value of a given key and then forget it. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function pull($key, $default = null) { @@ -17203,8 +18287,8 @@ public static function pull($key, $default = null) * Determine if the session contains old input. * * @param string|null $key - * @return bool - * @static + * @return bool + * @static */ public static function hasOldInput($key = null) { @@ -17217,8 +18301,8 @@ public static function hasOldInput($key = null) * * @param string|null $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function getOldInput($key = null, $default = null) { @@ -17230,8 +18314,8 @@ public static function getOldInput($key = null, $default = null) * Replace the given session attributes entirely. * * @param array $attributes - * @return void - * @static + * @return void + * @static */ public static function replace($attributes) { @@ -17242,10 +18326,10 @@ public static function replace($attributes) /** * Put a key / value pair or array of key / value pairs in the session. * - * @param string|array $key + * @param \UnitEnum|string|array $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function put($key, $value = null) { @@ -17256,10 +18340,10 @@ public static function put($key, $value = null) /** * Get an item from the session, or store the default value. * - * @param string $key + * @param \UnitEnum|string $key * @param \Closure $callback - * @return mixed - * @static + * @return mixed + * @static */ public static function remember($key, $callback) { @@ -17270,10 +18354,10 @@ public static function remember($key, $callback) /** * Push a value onto a session array. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function push($key, $value) { @@ -17284,10 +18368,10 @@ public static function push($key, $value) /** * Increment the value of an item in the session. * - * @param string $key + * @param \UnitEnum|string $key * @param int $amount - * @return mixed - * @static + * @return mixed + * @static */ public static function increment($key, $amount = 1) { @@ -17298,10 +18382,10 @@ public static function increment($key, $amount = 1) /** * Decrement the value of an item in the session. * - * @param string $key + * @param \UnitEnum|string $key * @param int $amount - * @return int - * @static + * @return int + * @static */ public static function decrement($key, $amount = 1) { @@ -17312,10 +18396,10 @@ public static function decrement($key, $amount = 1) /** * Flash a key / value pair to the session. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function flash($key, $value = true) { @@ -17326,10 +18410,10 @@ public static function flash($key, $value = true) /** * Flash a key / value pair to the session for immediate use. * - * @param string $key + * @param \UnitEnum|string $key * @param mixed $value - * @return void - * @static + * @return void + * @static */ public static function now($key, $value) { @@ -17340,8 +18424,8 @@ public static function now($key, $value) /** * Reflash all of the session flash data. * - * @return void - * @static + * @return void + * @static */ public static function reflash() { @@ -17352,9 +18436,9 @@ public static function reflash() /** * Reflash a subset of the current flash data. * - * @param array|mixed $keys - * @return void - * @static + * @param mixed $keys + * @return void + * @static */ public static function keep($keys = null) { @@ -17366,8 +18450,8 @@ public static function keep($keys = null) * Flash an input array to the session. * * @param array $value - * @return void - * @static + * @return void + * @static */ public static function flashInput($value) { @@ -17375,12 +18459,24 @@ public static function flashInput($value) $instance->flashInput($value); } + /** + * Get the session cache instance. + * + * @return \Illuminate\Contracts\Cache\Repository + * @static + */ + public static function cache() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->cache(); + } + /** * Remove an item from the session, returning its value. * - * @param string $key - * @return mixed - * @static + * @param \UnitEnum|string $key + * @return mixed + * @static */ public static function remove($key) { @@ -17391,9 +18487,9 @@ public static function remove($key) /** * Remove one or many items from the session. * - * @param string|array $keys - * @return void - * @static + * @param \UnitEnum|string|array $keys + * @return void + * @static */ public static function forget($keys) { @@ -17404,8 +18500,8 @@ public static function forget($keys) /** * Remove all of the items from the session. * - * @return void - * @static + * @return void + * @static */ public static function flush() { @@ -17416,8 +18512,8 @@ public static function flush() /** * Flush the session data and regenerate the ID. * - * @return bool - * @static + * @return bool + * @static */ public static function invalidate() { @@ -17429,8 +18525,8 @@ public static function invalidate() * Generate a new session identifier. * * @param bool $destroy - * @return bool - * @static + * @return bool + * @static */ public static function regenerate($destroy = false) { @@ -17442,8 +18538,8 @@ public static function regenerate($destroy = false) * Generate a new session ID for the session. * * @param bool $destroy - * @return bool - * @static + * @return bool + * @static */ public static function migrate($destroy = false) { @@ -17454,8 +18550,8 @@ public static function migrate($destroy = false) /** * Determine if the session has been started. * - * @return bool - * @static + * @return bool + * @static */ public static function isStarted() { @@ -17466,8 +18562,8 @@ public static function isStarted() /** * Get the name of the session. * - * @return string - * @static + * @return string + * @static */ public static function getName() { @@ -17479,8 +18575,8 @@ public static function getName() * Set the name of the session. * * @param string $name - * @return void - * @static + * @return void + * @static */ public static function setName($name) { @@ -17491,8 +18587,8 @@ public static function setName($name) /** * Get the current session ID. * - * @return string - * @static + * @return string + * @static */ public static function id() { @@ -17503,8 +18599,8 @@ public static function id() /** * Get the current session ID. * - * @return string - * @static + * @return string + * @static */ public static function getId() { @@ -17516,8 +18612,8 @@ public static function getId() * Set the session ID. * * @param string|null $id - * @return void - * @static + * @return void + * @static */ public static function setId($id) { @@ -17529,8 +18625,8 @@ public static function setId($id) * Determine if this is a valid session ID. * * @param string|null $id - * @return bool - * @static + * @return bool + * @static */ public static function isValidId($id) { @@ -17542,8 +18638,8 @@ public static function isValidId($id) * Set the existence of the session on the handler if applicable. * * @param bool $value - * @return void - * @static + * @return void + * @static */ public static function setExists($value) { @@ -17554,8 +18650,8 @@ public static function setExists($value) /** * Get the CSRF token value. * - * @return string - * @static + * @return string + * @static */ public static function token() { @@ -17566,8 +18662,8 @@ public static function token() /** * Regenerate the CSRF token value. * - * @return void - * @static + * @return void + * @static */ public static function regenerateToken() { @@ -17578,8 +18674,8 @@ public static function regenerateToken() /** * Determine if the previous URI is available. * - * @return bool - * @static + * @return bool + * @static */ public static function hasPreviousUri() { @@ -17590,9 +18686,9 @@ public static function hasPreviousUri() /** * Get the previous URL from the session as a URI instance. * - * @return \Illuminate\Support\Uri + * @return \Illuminate\Support\Uri * @throws \RuntimeException - * @static + * @static */ public static function previousUri() { @@ -17603,8 +18699,8 @@ public static function previousUri() /** * Get the previous URL from the session. * - * @return string|null - * @static + * @return string|null + * @static */ public static function previousUrl() { @@ -17616,8 +18712,8 @@ public static function previousUrl() * Set the "previous" URL in the session. * * @param string $url - * @return void - * @static + * @return void + * @static */ public static function setPreviousUrl($url) { @@ -17626,22 +18722,47 @@ public static function setPreviousUrl($url) } /** - * Specify that the user has confirmed their password. + * Get the previous route name from the session. * - * @return void - * @static + * @return string|null + * @static */ - public static function passwordConfirmed() + public static function previousRoute() { /** @var \Illuminate\Session\Store $instance */ - $instance->passwordConfirmed(); + return $instance->previousRoute(); } /** - * Get the underlying session handler implementation. + * Set the "previous" route name in the session. * - * @return \SessionHandlerInterface - * @static + * @param string|null $route + * @return void + * @static + */ + public static function setPreviousRoute($route) + { + /** @var \Illuminate\Session\Store $instance */ + $instance->setPreviousRoute($route); + } + + /** + * Specify that the user has confirmed their password. + * + * @return void + * @static + */ + public static function passwordConfirmed() + { + /** @var \Illuminate\Session\Store $instance */ + $instance->passwordConfirmed(); + } + + /** + * Get the underlying session handler implementation. + * + * @return \SessionHandlerInterface + * @static */ public static function getHandler() { @@ -17653,8 +18774,8 @@ public static function getHandler() * Set the underlying session handler implementation. * * @param \SessionHandlerInterface $handler - * @return \SessionHandlerInterface - * @static + * @return \SessionHandlerInterface + * @static */ public static function setHandler($handler) { @@ -17665,8 +18786,8 @@ public static function setHandler($handler) /** * Determine if the session handler needs a request. * - * @return bool - * @static + * @return bool + * @static */ public static function handlerNeedsRequest() { @@ -17678,8 +18799,8 @@ public static function handlerNeedsRequest() * Set the request on the handler instance. * * @param \Illuminate\Http\Request $request - * @return void - * @static + * @return void + * @static */ public static function setRequestOnHandler($request) { @@ -17693,8 +18814,8 @@ public static function setRequestOnHandler($request) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -17706,9 +18827,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -17719,8 +18840,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -17730,8 +18851,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -17740,8 +18861,6 @@ public static function flushMacros() } /** - * - * * @method static bool has(string $location) * @method static string read(string $location) * @method static \League\Flysystem\DirectoryListing listContents(string $location, bool $deep = false) @@ -17756,8 +18875,8 @@ class Storage { * Get a filesystem instance. * * @param string|null $name - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function drive($name = null) { @@ -17768,9 +18887,9 @@ public static function drive($name = null) /** * Get a filesystem instance. * - * @param string|null $name - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @param \UnitEnum|string|null $name + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function disk($name = null) { @@ -17781,8 +18900,8 @@ public static function disk($name = null) /** * Get a default cloud filesystem instance. * - * @return \Illuminate\Contracts\Filesystem\Cloud - * @static + * @return \Illuminate\Contracts\Filesystem\Cloud + * @static */ public static function cloud() { @@ -17794,8 +18913,8 @@ public static function cloud() * Build an on-demand disk. * * @param string|array $config - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function build($config) { @@ -17808,8 +18927,8 @@ public static function build($config) * * @param array $config * @param string $name - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function createLocalDriver($config, $name = 'local') { @@ -17821,8 +18940,8 @@ public static function createLocalDriver($config, $name = 'local') * Create an instance of the ftp driver. * * @param array $config - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function createFtpDriver($config) { @@ -17834,8 +18953,8 @@ public static function createFtpDriver($config) * Create an instance of the sftp driver. * * @param array $config - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function createSftpDriver($config) { @@ -17847,8 +18966,8 @@ public static function createSftpDriver($config) * Create an instance of the Amazon S3 driver. * * @param array $config - * @return \Illuminate\Contracts\Filesystem\Cloud - * @static + * @return \Illuminate\Contracts\Filesystem\Cloud + * @static */ public static function createS3Driver($config) { @@ -17860,8 +18979,9 @@ public static function createS3Driver($config) * Create a scoped driver. * * @param array $config - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @throws \InvalidArgumentException + * @static */ public static function createScopedDriver($config) { @@ -17874,8 +18994,8 @@ public static function createScopedDriver($config) * * @param string $name * @param mixed $disk - * @return \Illuminate\Filesystem\FilesystemManager - * @static + * @return \Illuminate\Filesystem\FilesystemManager + * @static */ public static function set($name, $disk) { @@ -17886,8 +19006,8 @@ public static function set($name, $disk) /** * Get the default driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultDriver() { @@ -17898,8 +19018,8 @@ public static function getDefaultDriver() /** * Get the default cloud driver name. * - * @return string - * @static + * @return string + * @static */ public static function getDefaultCloudDriver() { @@ -17911,8 +19031,8 @@ public static function getDefaultCloudDriver() * Unset the given disk instances. * * @param array|string $disk - * @return \Illuminate\Filesystem\FilesystemManager - * @static + * @return \Illuminate\Filesystem\FilesystemManager + * @static */ public static function forgetDisk($disk) { @@ -17924,8 +19044,8 @@ public static function forgetDisk($disk) * Disconnect the given disk and remove from local cache. * * @param string|null $name - * @return void - * @static + * @return void + * @static */ public static function purge($name = null) { @@ -17938,8 +19058,8 @@ public static function purge($name = null) * * @param string $driver * @param \Closure $callback - * @return \Illuminate\Filesystem\FilesystemManager - * @static + * @return \Illuminate\Filesystem\FilesystemManager + * @static */ public static function extend($driver, $callback) { @@ -17951,8 +19071,8 @@ public static function extend($driver, $callback) * Set the application instance used by the manager. * * @param \Illuminate\Contracts\Foundation\Application $app - * @return \Illuminate\Filesystem\FilesystemManager - * @static + * @return \Illuminate\Filesystem\FilesystemManager + * @static */ public static function setApplication($app) { @@ -17963,8 +19083,8 @@ public static function setApplication($app) /** * Determine if temporary URLs can be generated. * - * @return bool - * @static + * @return bool + * @static */ public static function providesTemporaryUrls() { @@ -17972,14 +19092,26 @@ public static function providesTemporaryUrls() return $instance->providesTemporaryUrls(); } + /** + * Determine if temporary upload URLs can be generated. + * + * @return bool + * @static + */ + public static function providesTemporaryUploadUrls() + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->providesTemporaryUploadUrls(); + } + /** * Get a temporary URL for the file at the given path. * * @param string $path * @param \DateTimeInterface $expiration * @param array $options - * @return string - * @static + * @return string + * @static */ public static function temporaryUrl($path, $expiration, $options = []) { @@ -17987,12 +19119,27 @@ public static function temporaryUrl($path, $expiration, $options = []) return $instance->temporaryUrl($path, $expiration, $options); } + /** + * Get a temporary upload URL for the file at the given path. + * + * @param string $path + * @param \DateTimeInterface $expiration + * @param array $options + * @return array + * @static + */ + public static function temporaryUploadUrl($path, $expiration, $options = []) + { + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + return $instance->temporaryUploadUrl($path, $expiration, $options); + } + /** * Specify the name of the disk the adapter is managing. * * @param string $disk - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function diskName($disk) { @@ -18001,12 +19148,12 @@ public static function diskName($disk) } /** - * Indiate that signed URLs should serve the corresponding files. + * Indicate that signed URLs should serve the corresponding files. * * @param bool $serve * @param \Closure|null $urlGeneratorResolver - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function shouldServeSignedUrls($serve = true, $urlGeneratorResolver = null) { @@ -18019,8 +19166,8 @@ public static function shouldServeSignedUrls($serve = true, $urlGeneratorResolve * * @param string|array $path * @param string|null $content - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function assertExists($path, $content = null) { @@ -18035,8 +19182,8 @@ public static function assertExists($path, $content = null) * @param string $path * @param int $count * @param bool $recursive - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function assertCount($path, $count, $recursive = false) { @@ -18049,8 +19196,8 @@ public static function assertCount($path, $count, $recursive = false) * Assert that the given file or directory does not exist. * * @param string|array $path - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function assertMissing($path) { @@ -18063,8 +19210,8 @@ public static function assertMissing($path) * Assert that the given directory is empty. * * @param string $path - * @return \Illuminate\Filesystem\LocalFilesystemAdapter - * @static + * @return \Illuminate\Filesystem\LocalFilesystemAdapter + * @static */ public static function assertDirectoryEmpty($path) { @@ -18077,8 +19224,8 @@ public static function assertDirectoryEmpty($path) * Determine if a file or directory exists. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function exists($path) { @@ -18091,8 +19238,8 @@ public static function exists($path) * Determine if a file or directory is missing. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function missing($path) { @@ -18105,8 +19252,8 @@ public static function missing($path) * Determine if a file exists. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function fileExists($path) { @@ -18119,8 +19266,8 @@ public static function fileExists($path) * Determine if a file is missing. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function fileMissing($path) { @@ -18133,8 +19280,8 @@ public static function fileMissing($path) * Determine if a directory exists. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function directoryExists($path) { @@ -18147,8 +19294,8 @@ public static function directoryExists($path) * Determine if a directory is missing. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function directoryMissing($path) { @@ -18161,8 +19308,8 @@ public static function directoryMissing($path) * Get the full path to the file that exists at the given relative path. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function path($path) { @@ -18175,8 +19322,8 @@ public static function path($path) * Get the contents of a file. * * @param string $path - * @return string|null - * @static + * @return string|null + * @static */ public static function get($path) { @@ -18190,8 +19337,8 @@ public static function get($path) * * @param string $path * @param int $flags - * @return array|null - * @static + * @return array|null + * @static */ public static function json($path, $flags = 0) { @@ -18207,8 +19354,9 @@ public static function json($path, $flags = 0) * @param string|null $name * @param array $headers * @param string|null $disposition - * @return \Symfony\Component\HttpFoundation\StreamedResponse - * @static + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @throws UnableToRetrieveMetadata + * @static */ public static function response($path, $name = null, $headers = [], $disposition = 'inline') { @@ -18224,8 +19372,9 @@ public static function response($path, $name = null, $headers = [], $disposition * @param string $path * @param string|null $name * @param array $headers - * @return \Symfony\Component\HttpFoundation\StreamedResponse - * @static + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @throws UnableToRetrieveMetadata + * @static */ public static function serve($request, $path, $name = null, $headers = []) { @@ -18240,8 +19389,9 @@ public static function serve($request, $path, $name = null, $headers = []) * @param string $path * @param string|null $name * @param array $headers - * @return \Symfony\Component\HttpFoundation\StreamedResponse - * @static + * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @throws UnableToRetrieveMetadata + * @static */ public static function download($path, $name = null, $headers = []) { @@ -18256,8 +19406,8 @@ public static function download($path, $name = null, $headers = []) * @param string $path * @param \Psr\Http\Message\StreamInterface|\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|resource $contents * @param mixed $options - * @return string|bool - * @static + * @return string|bool + * @static */ public static function put($path, $contents, $options = []) { @@ -18272,8 +19422,8 @@ public static function put($path, $contents, $options = []) * @param \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path * @param \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file * @param mixed $options - * @return string|false - * @static + * @return string|false + * @static */ public static function putFile($path, $file = null, $options = []) { @@ -18289,8 +19439,8 @@ public static function putFile($path, $file = null, $options = []) * @param \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file * @param string|array|null $name * @param mixed $options - * @return string|false - * @static + * @return string|false + * @static */ public static function putFileAs($path, $file, $name = null, $options = []) { @@ -18303,8 +19453,8 @@ public static function putFileAs($path, $file, $name = null, $options = []) * Get the visibility for the given path. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function getVisibility($path) { @@ -18318,8 +19468,8 @@ public static function getVisibility($path) * * @param string $path * @param string $visibility - * @return bool - * @static + * @return bool + * @static */ public static function setVisibility($path, $visibility) { @@ -18334,8 +19484,8 @@ public static function setVisibility($path, $visibility) * @param string $path * @param string $data * @param string $separator - * @return bool - * @static + * @return bool + * @static */ public static function prepend($path, $data, $separator = ' ') @@ -18351,8 +19501,8 @@ public static function prepend($path, $data, $separator = ' * @param string $path * @param string $data * @param string $separator - * @return bool - * @static + * @return bool + * @static */ public static function append($path, $data, $separator = ' ') @@ -18366,8 +19516,8 @@ public static function append($path, $data, $separator = ' * Delete the file at a given path. * * @param string|array $paths - * @return bool - * @static + * @return bool + * @static */ public static function delete($paths) { @@ -18381,8 +19531,8 @@ public static function delete($paths) * * @param string $from * @param string $to - * @return bool - * @static + * @return bool + * @static */ public static function copy($from, $to) { @@ -18396,8 +19546,8 @@ public static function copy($from, $to) * * @param string $from * @param string $to - * @return bool - * @static + * @return bool + * @static */ public static function move($from, $to) { @@ -18410,8 +19560,8 @@ public static function move($from, $to) * Get the file size of a given file. * * @param string $path - * @return int - * @static + * @return int + * @static */ public static function size($path) { @@ -18423,9 +19573,9 @@ public static function size($path) /** * Get the checksum for a file. * - * @return string|false + * @return string|false * @throws UnableToProvideChecksum - * @static + * @static */ public static function checksum($path, $options = []) { @@ -18438,8 +19588,9 @@ public static function checksum($path, $options = []) * Get the mime-type of a given file. * * @param string $path - * @return string|false - * @static + * @return string|false + * @throws UnableToRetrieveMetadata + * @static */ public static function mimeType($path) { @@ -18452,8 +19603,8 @@ public static function mimeType($path) * Get the file's last modification time. * * @param string $path - * @return int - * @static + * @return int + * @static */ public static function lastModified($path) { @@ -18467,7 +19618,7 @@ public static function lastModified($path) * * @param string $path * @return resource|null The path resource or null on failure. - * @static + * @static */ public static function readStream($path) { @@ -18482,8 +19633,8 @@ public static function readStream($path) * @param string $path * @param resource $resource * @param array $options - * @return bool - * @static + * @return bool + * @static */ public static function writeStream($path, $resource, $options = []) { @@ -18496,9 +19647,9 @@ public static function writeStream($path, $resource, $options = []) * Get the URL for the file at the given path. * * @param string $path - * @return string + * @return string * @throws \RuntimeException - * @static + * @static */ public static function url($path) { @@ -18507,30 +19658,13 @@ public static function url($path) return $instance->url($path); } - /** - * Get a temporary upload URL for the file at the given path. - * - * @param string $path - * @param \DateTimeInterface $expiration - * @param array $options - * @return array - * @throws \RuntimeException - * @static - */ - public static function temporaryUploadUrl($path, $expiration, $options = []) - { - //Method inherited from \Illuminate\Filesystem\FilesystemAdapter - /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ - return $instance->temporaryUploadUrl($path, $expiration, $options); - } - /** * Get an array of all files in a directory. * * @param string|null $directory * @param bool $recursive - * @return array - * @static + * @return array + * @static */ public static function files($directory = null, $recursive = false) { @@ -18543,8 +19677,8 @@ public static function files($directory = null, $recursive = false) * Get all of the files from the given directory (recursive). * * @param string|null $directory - * @return array - * @static + * @return array + * @static */ public static function allFiles($directory = null) { @@ -18558,8 +19692,8 @@ public static function allFiles($directory = null) * * @param string|null $directory * @param bool $recursive - * @return array - * @static + * @return array + * @static */ public static function directories($directory = null, $recursive = false) { @@ -18572,8 +19706,8 @@ public static function directories($directory = null, $recursive = false) * Get all the directories within a given directory (recursive). * * @param string|null $directory - * @return array - * @static + * @return array + * @static */ public static function allDirectories($directory = null) { @@ -18586,8 +19720,8 @@ public static function allDirectories($directory = null) * Create a directory. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function makeDirectory($path) { @@ -18600,8 +19734,8 @@ public static function makeDirectory($path) * Recursively delete a directory. * * @param string $directory - * @return bool - * @static + * @return bool + * @static */ public static function deleteDirectory($directory) { @@ -18613,8 +19747,8 @@ public static function deleteDirectory($directory) /** * Get the Flysystem driver. * - * @return \League\Flysystem\FilesystemOperator - * @static + * @return \League\Flysystem\FilesystemOperator + * @static */ public static function getDriver() { @@ -18626,8 +19760,8 @@ public static function getDriver() /** * Get the Flysystem adapter. * - * @return \League\Flysystem\FilesystemAdapter - * @static + * @return \League\Flysystem\FilesystemAdapter + * @static */ public static function getAdapter() { @@ -18639,8 +19773,8 @@ public static function getAdapter() /** * Get the configuration values. * - * @return array - * @static + * @return array + * @static */ public static function getConfig() { @@ -18653,8 +19787,8 @@ public static function getConfig() * Define a custom callback that generates file download responses. * * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function serveUsing($callback) { @@ -18667,8 +19801,8 @@ public static function serveUsing($callback) * Define a custom temporary URL builder callback. * * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function buildTemporaryUrlsUsing($callback) { @@ -18677,6 +19811,20 @@ public static function buildTemporaryUrlsUsing($callback) $instance->buildTemporaryUrlsUsing($callback); } + /** + * Define a custom temporary upload URL builder callback. + * + * @param \Closure $callback + * @return void + * @static + */ + public static function buildTemporaryUploadUrlsUsing($callback) + { + //Method inherited from \Illuminate\Filesystem\FilesystemAdapter + /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */ + $instance->buildTemporaryUploadUrlsUsing($callback); + } + /** * Apply the callback if the given "value" is (or resolves to) truthy. * @@ -18685,8 +19833,8 @@ public static function buildTemporaryUrlsUsing($callback) * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default - * @return $this|TWhenReturnType - * @static + * @return $this|TWhenReturnType + * @static */ public static function when($value = null, $callback = null, $default = null) { @@ -18702,8 +19850,8 @@ public static function when($value = null, $callback = null, $default = null) * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default - * @return $this|TUnlessReturnType - * @static + * @return $this|TUnlessReturnType + * @static */ public static function unless($value = null, $callback = null, $default = null) { @@ -18717,8 +19865,8 @@ public static function unless($value = null, $callback = null, $default = null) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -18731,9 +19879,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -18745,8 +19893,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -18757,8 +19905,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -18771,9 +19919,9 @@ public static function flushMacros() * * @param string $method * @param array $parameters - * @return mixed + * @return mixed * @throws \BadMethodCallException - * @static + * @static */ public static function macroCall($method, $parameters) { @@ -18784,16 +19932,14 @@ public static function macroCall($method, $parameters) } /** - * - * * @see \Illuminate\Routing\UrlGenerator */ class URL { /** * Get the full URL for the current request. * - * @return string - * @static + * @return string + * @static */ public static function full() { @@ -18804,8 +19950,8 @@ public static function full() /** * Get the current URL for the request. * - * @return string - * @static + * @return string + * @static */ public static function current() { @@ -18817,8 +19963,8 @@ public static function current() * Get the URL for the previous request. * * @param mixed $fallback - * @return string - * @static + * @return string + * @static */ public static function previous($fallback = false) { @@ -18830,8 +19976,8 @@ public static function previous($fallback = false) * Get the previous path info for the request. * * @param mixed $fallback - * @return string - * @static + * @return string + * @static */ public static function previousPath($fallback = false) { @@ -18845,8 +19991,8 @@ public static function previousPath($fallback = false) * @param string $path * @param mixed $extra * @param bool|null $secure - * @return string - * @static + * @return string + * @static */ public static function to($path, $extra = [], $secure = null) { @@ -18861,8 +20007,8 @@ public static function to($path, $extra = [], $secure = null) * @param array $query * @param mixed $extra * @param bool|null $secure - * @return string - * @static + * @return string + * @static */ public static function query($path, $query = [], $extra = [], $secure = null) { @@ -18875,8 +20021,8 @@ public static function query($path, $query = [], $extra = [], $secure = null) * * @param string $path * @param array $parameters - * @return string - * @static + * @return string + * @static */ public static function secure($path, $parameters = []) { @@ -18889,8 +20035,8 @@ public static function secure($path, $parameters = []) * * @param string $path * @param bool|null $secure - * @return string - * @static + * @return string + * @static */ public static function asset($path, $secure = null) { @@ -18902,8 +20048,8 @@ public static function asset($path, $secure = null) * Generate the URL to a secure asset. * * @param string $path - * @return string - * @static + * @return string + * @static */ public static function secureAsset($path) { @@ -18917,8 +20063,8 @@ public static function secureAsset($path) * @param string $root * @param string $path * @param bool|null $secure - * @return string - * @static + * @return string + * @static */ public static function assetFrom($root, $path, $secure = null) { @@ -18930,8 +20076,8 @@ public static function assetFrom($root, $path, $secure = null) * Get the default scheme for a raw URL. * * @param bool|null $secure - * @return string - * @static + * @return string + * @static */ public static function formatScheme($secure = null) { @@ -18946,9 +20092,9 @@ public static function formatScheme($secure = null) * @param mixed $parameters * @param \DateTimeInterface|\DateInterval|int|null $expiration * @param bool $absolute - * @return string + * @return string * @throws \InvalidArgumentException - * @static + * @static */ public static function signedRoute($name, $parameters = [], $expiration = null, $absolute = true) { @@ -18963,8 +20109,8 @@ public static function signedRoute($name, $parameters = [], $expiration = null, * @param \DateTimeInterface|\DateInterval|int $expiration * @param array $parameters * @param bool $absolute - * @return string - * @static + * @return string + * @static */ public static function temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true) { @@ -18977,9 +20123,9 @@ public static function temporarySignedRoute($name, $expiration, $parameters = [] * * @param \Illuminate\Http\Request $request * @param bool $absolute - * @param array $ignoreQuery - * @return bool - * @static + * @param \Closure|array $ignoreQuery + * @return bool + * @static */ public static function hasValidSignature($request, $absolute = true, $ignoreQuery = []) { @@ -18991,9 +20137,9 @@ public static function hasValidSignature($request, $absolute = true, $ignoreQuer * Determine if the given request has a valid signature for a relative URL. * * @param \Illuminate\Http\Request $request - * @param array $ignoreQuery - * @return bool - * @static + * @param \Closure|array $ignoreQuery + * @return bool + * @static */ public static function hasValidRelativeSignature($request, $ignoreQuery = []) { @@ -19006,9 +20152,9 @@ public static function hasValidRelativeSignature($request, $ignoreQuery = []) * * @param \Illuminate\Http\Request $request * @param bool $absolute - * @param array $ignoreQuery - * @return bool - * @static + * @param \Closure|array $ignoreQuery + * @return bool + * @static */ public static function hasCorrectSignature($request, $absolute = true, $ignoreQuery = []) { @@ -19020,8 +20166,8 @@ public static function hasCorrectSignature($request, $absolute = true, $ignoreQu * Determine if the expires timestamp from the given request is not from the past. * * @param \Illuminate\Http\Request $request - * @return bool - * @static + * @return bool + * @static */ public static function signatureHasNotExpired($request) { @@ -19035,9 +20181,9 @@ public static function signatureHasNotExpired($request) * @param \BackedEnum|string $name * @param mixed $parameters * @param bool $absolute - * @return string + * @return string * @throws \Symfony\Component\Routing\Exception\RouteNotFoundException|\InvalidArgumentException - * @static + * @static */ public static function route($name, $parameters = [], $absolute = true) { @@ -19051,9 +20197,9 @@ public static function route($name, $parameters = [], $absolute = true) * @param \Illuminate\Routing\Route $route * @param mixed $parameters * @param bool $absolute - * @return string + * @return string * @throws \Illuminate\Routing\Exceptions\UrlGenerationException - * @static + * @static */ public static function toRoute($route, $parameters, $absolute) { @@ -19067,9 +20213,9 @@ public static function toRoute($route, $parameters, $absolute) * @param string|array $action * @param mixed $parameters * @param bool $absolute - * @return string + * @return string * @throws \InvalidArgumentException - * @static + * @static */ public static function action($action, $parameters = [], $absolute = true) { @@ -19081,8 +20227,8 @@ public static function action($action, $parameters = [], $absolute = true) * Format the array of URL parameters. * * @param mixed $parameters - * @return array - * @static + * @return array + * @static */ public static function formatParameters($parameters) { @@ -19095,8 +20241,8 @@ public static function formatParameters($parameters) * * @param string $scheme * @param string|null $root - * @return string - * @static + * @return string + * @static */ public static function formatRoot($scheme, $root = null) { @@ -19110,8 +20256,8 @@ public static function formatRoot($scheme, $root = null) * @param string $root * @param string $path * @param \Illuminate\Routing\Route|null $route - * @return string - * @static + * @return string + * @static */ public static function format($root, $path, $route = null) { @@ -19123,8 +20269,8 @@ public static function format($root, $path, $route = null) * Determine if the given path is a valid URL. * * @param string $path - * @return bool - * @static + * @return bool + * @static */ public static function isValidUrl($path) { @@ -19136,8 +20282,8 @@ public static function isValidUrl($path) * Set the default named parameters used by the URL generator. * * @param array $defaults - * @return void - * @static + * @return void + * @static */ public static function defaults($defaults) { @@ -19148,8 +20294,8 @@ public static function defaults($defaults) /** * Get the default named parameters used by the URL generator. * - * @return array - * @static + * @return array + * @static */ public static function getDefaultParameters() { @@ -19161,8 +20307,8 @@ public static function getDefaultParameters() * Force the scheme for URLs. * * @param string|null $scheme - * @return void - * @static + * @return void + * @static */ public static function forceScheme($scheme) { @@ -19174,8 +20320,8 @@ public static function forceScheme($scheme) * Force the use of the HTTPS scheme for all generated URLs. * * @param bool $force - * @return void - * @static + * @return void + * @static */ public static function forceHttps($force = true) { @@ -19187,8 +20333,8 @@ public static function forceHttps($force = true) * Set the URL origin for all generated URLs. * * @param string|null $root - * @return void - * @static + * @return void + * @static */ public static function useOrigin($root) { @@ -19200,9 +20346,9 @@ public static function useOrigin($root) * Set the forced root URL. * * @param string|null $root - * @return void + * @return void * @deprecated Use useOrigin - * @static + * @static */ public static function forceRootUrl($root) { @@ -19214,8 +20360,8 @@ public static function forceRootUrl($root) * Set the URL origin for all generated asset URLs. * * @param string|null $root - * @return void - * @static + * @return void + * @static */ public static function useAssetOrigin($root) { @@ -19227,8 +20373,8 @@ public static function useAssetOrigin($root) * Set a callback to be used to format the host of generated URLs. * * @param \Closure $callback - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function formatHostUsing($callback) { @@ -19240,8 +20386,8 @@ public static function formatHostUsing($callback) * Set a callback to be used to format the path of generated URLs. * * @param \Closure $callback - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function formatPathUsing($callback) { @@ -19252,8 +20398,8 @@ public static function formatPathUsing($callback) /** * Get the path formatter being used by the URL generator. * - * @return \Closure - * @static + * @return \Closure + * @static */ public static function pathFormatter() { @@ -19264,8 +20410,8 @@ public static function pathFormatter() /** * Get the request instance. * - * @return \Illuminate\Http\Request - * @static + * @return \Illuminate\Http\Request + * @static */ public static function getRequest() { @@ -19277,8 +20423,8 @@ public static function getRequest() * Set the current request instance. * * @param \Illuminate\Http\Request $request - * @return void - * @static + * @return void + * @static */ public static function setRequest($request) { @@ -19290,8 +20436,8 @@ public static function setRequest($request) * Set the route collection. * * @param \Illuminate\Routing\RouteCollectionInterface $routes - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function setRoutes($routes) { @@ -19303,8 +20449,8 @@ public static function setRoutes($routes) * Set the session resolver for the generator. * * @param callable $sessionResolver - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function setSessionResolver($sessionResolver) { @@ -19316,8 +20462,8 @@ public static function setSessionResolver($sessionResolver) * Set the encryption key resolver. * * @param callable $keyResolver - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function setKeyResolver($keyResolver) { @@ -19329,8 +20475,8 @@ public static function setKeyResolver($keyResolver) * Clone a new instance of the URL generator with a different encryption key resolver. * * @param callable $keyResolver - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function withKeyResolver($keyResolver) { @@ -19342,8 +20488,8 @@ public static function withKeyResolver($keyResolver) * Set the callback that should be used to attempt to resolve missing named routes. * * @param callable $missingNamedRouteResolver - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver) { @@ -19354,8 +20500,8 @@ public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver /** * Get the root controller namespace. * - * @return string - * @static + * @return string + * @static */ public static function getRootControllerNamespace() { @@ -19367,8 +20513,8 @@ public static function getRootControllerNamespace() * Set the root controller namespace. * * @param string $rootNamespace - * @return \Illuminate\Routing\UrlGenerator - * @static + * @return \Illuminate\Routing\UrlGenerator + * @static */ public static function setRootControllerNamespace($rootNamespace) { @@ -19382,8 +20528,8 @@ public static function setRootControllerNamespace($rootNamespace) * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -19395,9 +20541,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -19408,8 +20554,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -19419,8 +20565,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -19429,8 +20575,6 @@ public static function flushMacros() } /** - * - * * @see \Illuminate\Validation\Factory */ class Validator { @@ -19441,8 +20585,8 @@ class Validator { * @param array $rules * @param array $messages * @param array $attributes - * @return \Illuminate\Validation\Validator - * @static + * @return \Illuminate\Validation\Validator + * @static */ public static function make($data, $rules, $messages = [], $attributes = []) { @@ -19457,9 +20601,9 @@ public static function make($data, $rules, $messages = [], $attributes = []) * @param array $rules * @param array $messages * @param array $attributes - * @return array + * @return array * @throws \Illuminate\Validation\ValidationException - * @static + * @static */ public static function validate($data, $rules, $messages = [], $attributes = []) { @@ -19473,8 +20617,8 @@ public static function validate($data, $rules, $messages = [], $attributes = []) * @param string $rule * @param \Closure|string $extension * @param string|null $message - * @return void - * @static + * @return void + * @static */ public static function extend($rule, $extension, $message = null) { @@ -19488,8 +20632,8 @@ public static function extend($rule, $extension, $message = null) * @param string $rule * @param \Closure|string $extension * @param string|null $message - * @return void - * @static + * @return void + * @static */ public static function extendImplicit($rule, $extension, $message = null) { @@ -19503,8 +20647,8 @@ public static function extendImplicit($rule, $extension, $message = null) * @param string $rule * @param \Closure|string $extension * @param string|null $message - * @return void - * @static + * @return void + * @static */ public static function extendDependent($rule, $extension, $message = null) { @@ -19517,8 +20661,8 @@ public static function extendDependent($rule, $extension, $message = null) * * @param string $rule * @param \Closure|string $replacer - * @return void - * @static + * @return void + * @static */ public static function replacer($rule, $replacer) { @@ -19529,8 +20673,8 @@ public static function replacer($rule, $replacer) /** * Indicate that unvalidated array keys should be included in validated data when the parent array is validated. * - * @return void - * @static + * @return void + * @static */ public static function includeUnvalidatedArrayKeys() { @@ -19541,8 +20685,8 @@ public static function includeUnvalidatedArrayKeys() /** * Indicate that unvalidated array keys should be excluded from the validated data, even if the parent array was validated. * - * @return void - * @static + * @return void + * @static */ public static function excludeUnvalidatedArrayKeys() { @@ -19554,8 +20698,8 @@ public static function excludeUnvalidatedArrayKeys() * Set the Validator instance resolver. * * @param \Closure $resolver - * @return void - * @static + * @return void + * @static */ public static function resolver($resolver) { @@ -19566,8 +20710,8 @@ public static function resolver($resolver) /** * Get the Translator implementation. * - * @return \Illuminate\Contracts\Translation\Translator - * @static + * @return \Illuminate\Contracts\Translation\Translator + * @static */ public static function getTranslator() { @@ -19578,8 +20722,8 @@ public static function getTranslator() /** * Get the Presence Verifier implementation. * - * @return \Illuminate\Validation\PresenceVerifierInterface - * @static + * @return \Illuminate\Validation\PresenceVerifierInterface + * @static */ public static function getPresenceVerifier() { @@ -19591,8 +20735,8 @@ public static function getPresenceVerifier() * Set the Presence Verifier implementation. * * @param \Illuminate\Validation\PresenceVerifierInterface $presenceVerifier - * @return void - * @static + * @return void + * @static */ public static function setPresenceVerifier($presenceVerifier) { @@ -19603,8 +20747,8 @@ public static function setPresenceVerifier($presenceVerifier) /** * Get the container instance used by the validation factory. * - * @return \Illuminate\Contracts\Container\Container|null - * @static + * @return \Illuminate\Contracts\Container\Container|null + * @static */ public static function getContainer() { @@ -19616,8 +20760,8 @@ public static function getContainer() * Set the container instance used by the validation factory. * * @param \Illuminate\Contracts\Container\Container $container - * @return \Illuminate\Validation\Factory - * @static + * @return \Illuminate\Validation\Factory + * @static */ public static function setContainer($container) { @@ -19627,8 +20771,6 @@ public static function setContainer($container) } /** - * - * * @see \Illuminate\View\Factory */ class View { @@ -19638,8 +20780,8 @@ class View { * @param string $path * @param \Illuminate\Contracts\Support\Arrayable|array $data * @param array $mergeData - * @return \Illuminate\Contracts\View\View - * @static + * @return \Illuminate\Contracts\View\View + * @static */ public static function file($path, $data = [], $mergeData = []) { @@ -19653,8 +20795,8 @@ public static function file($path, $data = [], $mergeData = []) * @param string $view * @param \Illuminate\Contracts\Support\Arrayable|array $data * @param array $mergeData - * @return \Illuminate\Contracts\View\View - * @static + * @return \Illuminate\Contracts\View\View + * @static */ public static function make($view, $data = [], $mergeData = []) { @@ -19668,9 +20810,9 @@ public static function make($view, $data = [], $mergeData = []) * @param array $views * @param \Illuminate\Contracts\Support\Arrayable|array $data * @param array $mergeData - * @return \Illuminate\Contracts\View\View + * @return \Illuminate\Contracts\View\View * @throws \InvalidArgumentException - * @static + * @static */ public static function first($views, $data = [], $mergeData = []) { @@ -19685,8 +20827,8 @@ public static function first($views, $data = [], $mergeData = []) * @param string $view * @param \Illuminate\Contracts\Support\Arrayable|array $data * @param array $mergeData - * @return string - * @static + * @return string + * @static */ public static function renderWhen($condition, $view, $data = [], $mergeData = []) { @@ -19701,8 +20843,8 @@ public static function renderWhen($condition, $view, $data = [], $mergeData = [] * @param string $view * @param \Illuminate\Contracts\Support\Arrayable|array $data * @param array $mergeData - * @return string - * @static + * @return string + * @static */ public static function renderUnless($condition, $view, $data = [], $mergeData = []) { @@ -19717,8 +20859,8 @@ public static function renderUnless($condition, $view, $data = [], $mergeData = * @param array $data * @param string $iterator * @param string $empty - * @return string - * @static + * @return string + * @static */ public static function renderEach($view, $data, $iterator, $empty = 'raw|') { @@ -19730,8 +20872,8 @@ public static function renderEach($view, $data, $iterator, $empty = 'raw|') * Determine if a given view exists. * * @param string $view - * @return bool - * @static + * @return bool + * @static */ public static function exists($view) { @@ -19743,9 +20885,9 @@ public static function exists($view) * Get the appropriate view engine for the given path. * * @param string $path - * @return \Illuminate\Contracts\View\Engine + * @return \Illuminate\Contracts\View\Engine * @throws \InvalidArgumentException - * @static + * @static */ public static function getEngineFromPath($path) { @@ -19757,9 +20899,9 @@ public static function getEngineFromPath($path) * Add a piece of shared data to the environment. * * @param array|string $key - * @param mixed|null $value - * @return mixed - * @static + * @param mixed $value + * @return mixed + * @static */ public static function share($key, $value = null) { @@ -19770,8 +20912,8 @@ public static function share($key, $value = null) /** * Increment the rendering counter. * - * @return void - * @static + * @return void + * @static */ public static function incrementRender() { @@ -19782,8 +20924,8 @@ public static function incrementRender() /** * Decrement the rendering counter. * - * @return void - * @static + * @return void + * @static */ public static function decrementRender() { @@ -19794,8 +20936,8 @@ public static function decrementRender() /** * Check if there are no active render operations. * - * @return bool - * @static + * @return bool + * @static */ public static function doneRendering() { @@ -19807,8 +20949,8 @@ public static function doneRendering() * Determine if the given once token has been rendered. * * @param string $id - * @return bool - * @static + * @return bool + * @static */ public static function hasRenderedOnce($id) { @@ -19820,8 +20962,8 @@ public static function hasRenderedOnce($id) * Mark the given once token as having been rendered. * * @param string $id - * @return void - * @static + * @return void + * @static */ public static function markAsRenderedOnce($id) { @@ -19833,8 +20975,8 @@ public static function markAsRenderedOnce($id) * Add a location to the array of view locations. * * @param string $location - * @return void - * @static + * @return void + * @static */ public static function addLocation($location) { @@ -19846,8 +20988,8 @@ public static function addLocation($location) * Prepend a location to the array of view locations. * * @param string $location - * @return void - * @static + * @return void + * @static */ public static function prependLocation($location) { @@ -19860,8 +21002,8 @@ public static function prependLocation($location) * * @param string $namespace * @param string|array $hints - * @return \Illuminate\View\Factory - * @static + * @return \Illuminate\View\Factory + * @static */ public static function addNamespace($namespace, $hints) { @@ -19874,8 +21016,8 @@ public static function addNamespace($namespace, $hints) * * @param string $namespace * @param string|array $hints - * @return \Illuminate\View\Factory - * @static + * @return \Illuminate\View\Factory + * @static */ public static function prependNamespace($namespace, $hints) { @@ -19888,8 +21030,8 @@ public static function prependNamespace($namespace, $hints) * * @param string $namespace * @param string|array $hints - * @return \Illuminate\View\Factory - * @static + * @return \Illuminate\View\Factory + * @static */ public static function replaceNamespace($namespace, $hints) { @@ -19903,8 +21045,8 @@ public static function replaceNamespace($namespace, $hints) * @param string $extension * @param string $engine * @param \Closure|null $resolver - * @return void - * @static + * @return void + * @static */ public static function addExtension($extension, $engine, $resolver = null) { @@ -19915,8 +21057,8 @@ public static function addExtension($extension, $engine, $resolver = null) /** * Flush all of the factory state like sections and stacks. * - * @return void - * @static + * @return void + * @static */ public static function flushState() { @@ -19927,8 +21069,8 @@ public static function flushState() /** * Flush all of the section contents if done rendering. * - * @return void - * @static + * @return void + * @static */ public static function flushStateIfDoneRendering() { @@ -19939,8 +21081,8 @@ public static function flushStateIfDoneRendering() /** * Get the extension to engine bindings. * - * @return array - * @static + * @return array + * @static */ public static function getExtensions() { @@ -19951,8 +21093,8 @@ public static function getExtensions() /** * Get the engine resolver instance. * - * @return \Illuminate\View\Engines\EngineResolver - * @static + * @return \Illuminate\View\Engines\EngineResolver + * @static */ public static function getEngineResolver() { @@ -19963,8 +21105,8 @@ public static function getEngineResolver() /** * Get the view finder instance. * - * @return \Illuminate\View\ViewFinderInterface - * @static + * @return \Illuminate\View\ViewFinderInterface + * @static */ public static function getFinder() { @@ -19976,8 +21118,8 @@ public static function getFinder() * Set the view finder instance. * * @param \Illuminate\View\ViewFinderInterface $finder - * @return void - * @static + * @return void + * @static */ public static function setFinder($finder) { @@ -19988,8 +21130,8 @@ public static function setFinder($finder) /** * Flush the cache of views located by the finder. * - * @return void - * @static + * @return void + * @static */ public static function flushFinderCache() { @@ -20000,8 +21142,8 @@ public static function flushFinderCache() /** * Get the event dispatcher instance. * - * @return \Illuminate\Contracts\Events\Dispatcher - * @static + * @return \Illuminate\Contracts\Events\Dispatcher + * @static */ public static function getDispatcher() { @@ -20013,8 +21155,8 @@ public static function getDispatcher() * Set the event dispatcher instance. * * @param \Illuminate\Contracts\Events\Dispatcher $events - * @return void - * @static + * @return void + * @static */ public static function setDispatcher($events) { @@ -20025,8 +21167,8 @@ public static function setDispatcher($events) /** * Get the IoC container instance. * - * @return \Illuminate\Contracts\Container\Container - * @static + * @return \Illuminate\Contracts\Container\Container + * @static */ public static function getContainer() { @@ -20038,8 +21180,8 @@ public static function getContainer() * Set the IoC container instance. * * @param \Illuminate\Contracts\Container\Container $container - * @return void - * @static + * @return void + * @static */ public static function setContainer($container) { @@ -20052,8 +21194,8 @@ public static function setContainer($container) * * @param string $key * @param mixed $default - * @return mixed - * @static + * @return mixed + * @static */ public static function shared($key, $default = null) { @@ -20064,8 +21206,8 @@ public static function shared($key, $default = null) /** * Get all of the shared data for the environment. * - * @return array - * @static + * @return array + * @static */ public static function getShared() { @@ -20079,8 +21221,8 @@ public static function getShared() * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -20092,9 +21234,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -20105,8 +21247,8 @@ public static function mixin($mixin, $replace = true) * Checks if macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -20116,8 +21258,8 @@ public static function hasMacro($name) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -20129,8 +21271,8 @@ public static function flushMacros() * * @param \Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view * @param array $data - * @return void - * @static + * @return void + * @static */ public static function startComponent($view, $data = []) { @@ -20143,8 +21285,8 @@ public static function startComponent($view, $data = []) * * @param array $names * @param array $data - * @return void - * @static + * @return void + * @static */ public static function startComponentFirst($names, $data = []) { @@ -20155,8 +21297,8 @@ public static function startComponentFirst($names, $data = []) /** * Render the current component. * - * @return string - * @static + * @return string + * @static */ public static function renderComponent() { @@ -20169,8 +21311,8 @@ public static function renderComponent() * * @param string $key * @param mixed $default - * @return mixed|null - * @static + * @return mixed + * @static */ public static function getConsumableComponentData($key, $default = null) { @@ -20184,8 +21326,8 @@ public static function getConsumableComponentData($key, $default = null) * @param string $name * @param string|null $content * @param array $attributes - * @return void - * @static + * @return void + * @static */ public static function slot($name, $content = null, $attributes = []) { @@ -20196,8 +21338,8 @@ public static function slot($name, $content = null, $attributes = []) /** * Save the slot content for rendering. * - * @return void - * @static + * @return void + * @static */ public static function endSlot() { @@ -20210,8 +21352,8 @@ public static function endSlot() * * @param array|string $views * @param \Closure|string $callback - * @return array - * @static + * @return array + * @static */ public static function creator($views, $callback) { @@ -20223,8 +21365,8 @@ public static function creator($views, $callback) * Register multiple view composers via an array. * * @param array $composers - * @return array - * @static + * @return array + * @static */ public static function composers($composers) { @@ -20237,8 +21379,8 @@ public static function composers($composers) * * @param array|string $views * @param \Closure|string $callback - * @return array - * @static + * @return array + * @static */ public static function composer($views, $callback) { @@ -20250,8 +21392,8 @@ public static function composer($views, $callback) * Call the composer for a given view. * * @param \Illuminate\Contracts\View\View $view - * @return void - * @static + * @return void + * @static */ public static function callComposer($view) { @@ -20263,8 +21405,8 @@ public static function callComposer($view) * Call the creator for a given view. * * @param \Illuminate\Contracts\View\View $view - * @return void - * @static + * @return void + * @static */ public static function callCreator($view) { @@ -20276,8 +21418,8 @@ public static function callCreator($view) * Start injecting content into a fragment. * * @param string $fragment - * @return void - * @static + * @return void + * @static */ public static function startFragment($fragment) { @@ -20288,9 +21430,9 @@ public static function startFragment($fragment) /** * Stop injecting content into a fragment. * - * @return string + * @return string * @throws \InvalidArgumentException - * @static + * @static */ public static function stopFragment() { @@ -20303,8 +21445,8 @@ public static function stopFragment() * * @param string $name * @param string|null $default - * @return mixed - * @static + * @return mixed + * @static */ public static function getFragment($name, $default = null) { @@ -20315,8 +21457,8 @@ public static function getFragment($name, $default = null) /** * Get the entire array of rendered fragments. * - * @return array - * @static + * @return array + * @static */ public static function getFragments() { @@ -20327,8 +21469,8 @@ public static function getFragments() /** * Flush all of the fragments. * - * @return void - * @static + * @return void + * @static */ public static function flushFragments() { @@ -20341,8 +21483,8 @@ public static function flushFragments() * * @param string $section * @param string|null $content - * @return void - * @static + * @return void + * @static */ public static function startSection($section, $content = null) { @@ -20355,8 +21497,8 @@ public static function startSection($section, $content = null) * * @param string $section * @param string $content - * @return void - * @static + * @return void + * @static */ public static function inject($section, $content) { @@ -20367,8 +21509,8 @@ public static function inject($section, $content) /** * Stop injecting content into a section and return its contents. * - * @return string - * @static + * @return string + * @static */ public static function yieldSection() { @@ -20380,9 +21522,9 @@ public static function yieldSection() * Stop injecting content into a section. * * @param bool $overwrite - * @return string + * @return string * @throws \InvalidArgumentException - * @static + * @static */ public static function stopSection($overwrite = false) { @@ -20393,9 +21535,9 @@ public static function stopSection($overwrite = false) /** * Stop injecting content into a section and append it. * - * @return string + * @return string * @throws \InvalidArgumentException - * @static + * @static */ public static function appendSection() { @@ -20408,8 +21550,8 @@ public static function appendSection() * * @param string $section * @param string $default - * @return string - * @static + * @return string + * @static */ public static function yieldContent($section, $default = '') { @@ -20421,8 +21563,8 @@ public static function yieldContent($section, $default = '') * Get the parent placeholder for the current request. * * @param string $section - * @return string - * @static + * @return string + * @static */ public static function parentPlaceholder($section = '') { @@ -20433,8 +21575,8 @@ public static function parentPlaceholder($section = '') * Check if section exists. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasSection($name) { @@ -20446,8 +21588,8 @@ public static function hasSection($name) * Check if section does not exist. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function sectionMissing($name) { @@ -20460,8 +21602,8 @@ public static function sectionMissing($name) * * @param string $name * @param string|null $default - * @return mixed - * @static + * @return mixed + * @static */ public static function getSection($name, $default = null) { @@ -20472,8 +21614,8 @@ public static function getSection($name, $default = null) /** * Get the entire array of sections. * - * @return array - * @static + * @return array + * @static */ public static function getSections() { @@ -20484,8 +21626,8 @@ public static function getSections() /** * Flush all of the sections. * - * @return void - * @static + * @return void + * @static */ public static function flushSections() { @@ -20497,8 +21639,8 @@ public static function flushSections() * Add new loop to the stack. * * @param \Countable|array $data - * @return void - * @static + * @return void + * @static */ public static function addLoop($data) { @@ -20509,8 +21651,8 @@ public static function addLoop($data) /** * Increment the top loop's indices. * - * @return void - * @static + * @return void + * @static */ public static function incrementLoopIndices() { @@ -20521,8 +21663,8 @@ public static function incrementLoopIndices() /** * Pop a loop from the top of the loop stack. * - * @return void - * @static + * @return void + * @static */ public static function popLoop() { @@ -20533,8 +21675,8 @@ public static function popLoop() /** * Get an instance of the last loop in the stack. * - * @return \stdClass|null - * @static + * @return \stdClass|null + * @static */ public static function getLastLoop() { @@ -20545,8 +21687,8 @@ public static function getLastLoop() /** * Get the entire loop stack. * - * @return array - * @static + * @return array + * @static */ public static function getLoopStack() { @@ -20559,8 +21701,8 @@ public static function getLoopStack() * * @param string $section * @param string $content - * @return void - * @static + * @return void + * @static */ public static function startPush($section, $content = '') { @@ -20571,9 +21713,9 @@ public static function startPush($section, $content = '') /** * Stop injecting content into a push section. * - * @return string + * @return string * @throws \InvalidArgumentException - * @static + * @static */ public static function stopPush() { @@ -20586,8 +21728,8 @@ public static function stopPush() * * @param string $section * @param string $content - * @return void - * @static + * @return void + * @static */ public static function startPrepend($section, $content = '') { @@ -20598,9 +21740,9 @@ public static function startPrepend($section, $content = '') /** * Stop prepending content into a push section. * - * @return string + * @return string * @throws \InvalidArgumentException - * @static + * @static */ public static function stopPrepend() { @@ -20613,8 +21755,8 @@ public static function stopPrepend() * * @param string $section * @param string $default - * @return string - * @static + * @return string + * @static */ public static function yieldPushContent($section, $default = '') { @@ -20622,11 +21764,22 @@ public static function yieldPushContent($section, $default = '') return $instance->yieldPushContent($section, $default); } + /** + * Determine if the stack has any content in it. + * + * @static + */ + public static function isStackEmpty($section) + { + /** @var \Illuminate\View\Factory $instance */ + return $instance->isStackEmpty($section); + } + /** * Flush all of the stacks. * - * @return void - * @static + * @return void + * @static */ public static function flushStacks() { @@ -20638,8 +21791,8 @@ public static function flushStacks() * Start a translation block. * * @param array $replacements - * @return void - * @static + * @return void + * @static */ public static function startTranslation($replacements = []) { @@ -20650,8 +21803,8 @@ public static function startTranslation($replacements = []) /** * Render the current translation. * - * @return string - * @static + * @return string + * @static */ public static function renderTranslation() { @@ -20662,47 +21815,8 @@ public static function renderTranslation() } } -namespace AnourValar\EloquentSerialize\Facades { - /** - * - * - */ - class EloquentSerializeFacade { - /** - * Pack - * - * @param \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Relations\Relation $builder - * @return string - * @throws \RuntimeException - * @static - */ - public static function serialize($builder) - { - /** @var \AnourValar\EloquentSerialize\Service $instance */ - return $instance->serialize($builder); - } - - /** - * Unpack - * - * @param mixed $package - * @throws \LogicException - * @return \Illuminate\Database\Eloquent\Builder - * @static - */ - public static function unserialize($package) - { - /** @var \AnourValar\EloquentSerialize\Service $instance */ - return $instance->unserialize($package); - } - - } - } - namespace Barryvdh\Debugbar\Facades { /** - * - * * @method static void alert(mixed $message) * @method static void critical(mixed $message) * @method static void debug(mixed $message) @@ -20717,11 +21831,11 @@ public static function unserialize($package) class Debugbar { /** * Returns the HTTP driver - * + * * If no http driver where defined, a PhpHttpDriver is automatically created * - * @return \DebugBar\HttpDriverInterface - * @static + * @return \DebugBar\HttpDriverInterface + * @static */ public static function getHttpDriver() { @@ -20732,7 +21846,7 @@ public static function getHttpDriver() /** * Enable the Debugbar and boot, if not already booted. * - * @static + * @static */ public static function enable() { @@ -20743,7 +21857,7 @@ public static function enable() /** * Boot the debugbar (add collectors, renderer and listener) * - * @static + * @static */ public static function boot() { @@ -20752,9 +21866,7 @@ public static function boot() } /** - * - * - * @static + * @static */ public static function shouldCollect($name, $default = false) { @@ -20767,8 +21879,8 @@ public static function shouldCollect($name, $default = false) * * @param \DebugBar\DataCollector\DataCollectorInterface $collector * @throws DebugBarException - * @return \Barryvdh\Debugbar\LaravelDebugbar - * @static + * @return \Barryvdh\Debugbar\LaravelDebugbar + * @static */ public static function addCollector($collector) { @@ -20785,7 +21897,7 @@ public static function addCollector($collector) * @param int $line * @param array $context * @throws \ErrorException - * @static + * @static */ public static function handleError($level, $message, $file = '', $line = 0, $context = []) { @@ -20799,19 +21911,20 @@ public static function handleError($level, $message, $file = '', $line = 0, $con * @param string $name Internal name, used to stop the measure * @param string $label Public name * @param string|null $collector - * @static + * @param string|null $group + * @static */ - public static function startMeasure($name, $label = null, $collector = null) + public static function startMeasure($name, $label = null, $collector = null, $group = null) { /** @var \Barryvdh\Debugbar\LaravelDebugbar $instance */ - return $instance->startMeasure($name, $label, $collector); + return $instance->startMeasure($name, $label, $collector, $group); } /** * Stops a measure * * @param string $name - * @static + * @static */ public static function stopMeasure($name) { @@ -20824,7 +21937,7 @@ public static function stopMeasure($name) * * @param \Exception $e * @deprecated in favor of addThrowable - * @static + * @static */ public static function addException($e) { @@ -20836,7 +21949,7 @@ public static function addException($e) * Adds an exception to be profiled in the debug bar * * @param \Throwable $e - * @static + * @static */ public static function addThrowable($e) { @@ -20849,8 +21962,8 @@ public static function addThrowable($e) * * @param string $baseUrl * @param string $basePath - * @return \Barryvdh\Debugbar\JavascriptRenderer - * @static + * @return \Barryvdh\Debugbar\JavascriptRenderer + * @static */ public static function getJavascriptRenderer($baseUrl = null, $basePath = null) { @@ -20863,8 +21976,8 @@ public static function getJavascriptRenderer($baseUrl = null, $basePath = null) * * @param \Symfony\Component\HttpFoundation\Request $request * @param \Symfony\Component\HttpFoundation\Response $response - * @return \Symfony\Component\HttpFoundation\Response - * @static + * @return \Symfony\Component\HttpFoundation\Response + * @static */ public static function modifyResponse($request, $response) { @@ -20875,8 +21988,8 @@ public static function modifyResponse($request, $response) /** * Check if the Debugbar is enabled * - * @return boolean - * @static + * @return boolean + * @static */ public static function isEnabled() { @@ -20887,8 +22000,8 @@ public static function isEnabled() /** * Collects the data from the collectors * - * @return array - * @static + * @return array + * @static */ public static function collect() { @@ -20901,7 +22014,7 @@ public static function collect() * * @param \Symfony\Component\HttpFoundation\Response $response A Response instance * Based on https://github.com/symfony/WebProfilerBundle/blob/master/EventListener/WebDebugToolbarListener.php - * @static + * @static */ public static function injectDebugbar($response) { @@ -20912,8 +22025,8 @@ public static function injectDebugbar($response) /** * Checks if there is stacked data in the session * - * @return boolean - * @static + * @return boolean + * @static */ public static function hasStackedData() { @@ -20925,8 +22038,8 @@ public static function hasStackedData() * Returns the data stacked in the session * * @param boolean $delete Whether to delete the data in the session - * @return array - * @static + * @return array + * @static */ public static function getStackedData($delete = true) { @@ -20937,7 +22050,7 @@ public static function getStackedData($delete = true) /** * Disable the Debugbar * - * @static + * @static */ public static function disable() { @@ -20953,12 +22066,13 @@ public static function disable() * @param float $end * @param array|null $params * @param string|null $collector - * @static + * @param string|null $group + * @static */ - public static function addMeasure($label, $start, $end, $params = [], $collector = null) + public static function addMeasure($label, $start, $end, $params = [], $collector = null, $group = null) { /** @var \Barryvdh\Debugbar\LaravelDebugbar $instance */ - return $instance->addMeasure($label, $start, $end, $params, $collector); + return $instance->addMeasure($label, $start, $end, $params, $collector, $group); } /** @@ -20967,20 +22081,21 @@ public static function addMeasure($label, $start, $end, $params = [], $collector * @param string $label * @param \Closure $closure * @param string|null $collector - * @return mixed - * @static + * @param string|null $group + * @return mixed + * @static */ - public static function measure($label, $closure, $collector = null) + public static function measure($label, $closure, $collector = null, $group = null) { /** @var \Barryvdh\Debugbar\LaravelDebugbar $instance */ - return $instance->measure($label, $closure, $collector); + return $instance->measure($label, $closure, $collector, $group); } /** * Collect data in a CLI request * - * @return array - * @static + * @return array + * @static */ public static function collectConsole() { @@ -20990,12 +22105,12 @@ public static function collectConsole() /** * Adds a message to the MessagesCollector - * + * * A message can be anything from an object to a string * * @param mixed $message * @param string $label - * @static + * @static */ public static function addMessage($message, $label = 'info') { @@ -21007,8 +22122,8 @@ public static function addMessage($message, $label = 'info') * Checks if a data collector has been added * * @param string $name - * @return boolean - * @static + * @return boolean + * @static */ public static function hasCollector($name) { @@ -21021,9 +22136,9 @@ public static function hasCollector($name) * Returns a data collector * * @param string $name - * @return \DebugBar\DataCollector\DataCollectorInterface + * @return \DebugBar\DataCollector\DataCollectorInterface * @throws DebugBarException - * @static + * @static */ public static function getCollector($name) { @@ -21035,8 +22150,8 @@ public static function getCollector($name) /** * Returns an array of all data collectors * - * @return array[DataCollectorInterface] - * @static + * @return array[DataCollectorInterface] + * @static */ public static function getCollectors() { @@ -21049,8 +22164,8 @@ public static function getCollectors() * Sets the request id generator * * @param \DebugBar\RequestIdGeneratorInterface $generator - * @return \Barryvdh\Debugbar\LaravelDebugbar - * @static + * @return \Barryvdh\Debugbar\LaravelDebugbar + * @static */ public static function setRequestIdGenerator($generator) { @@ -21060,10 +22175,8 @@ public static function setRequestIdGenerator($generator) } /** - * - * - * @return \DebugBar\RequestIdGeneratorInterface - * @static + * @return \DebugBar\RequestIdGeneratorInterface + * @static */ public static function getRequestIdGenerator() { @@ -21075,8 +22188,8 @@ public static function getRequestIdGenerator() /** * Returns the id of the current request * - * @return string - * @static + * @return string + * @static */ public static function getCurrentRequestId() { @@ -21089,8 +22202,8 @@ public static function getCurrentRequestId() * Sets the storage backend to use to store the collected data * * @param \DebugBar\StorageInterface $storage - * @return \Barryvdh\Debugbar\LaravelDebugbar - * @static + * @return \Barryvdh\Debugbar\LaravelDebugbar + * @static */ public static function setStorage($storage = null) { @@ -21100,10 +22213,8 @@ public static function setStorage($storage = null) } /** - * - * - * @return \DebugBar\StorageInterface - * @static + * @return \DebugBar\StorageInterface + * @static */ public static function getStorage() { @@ -21115,8 +22226,8 @@ public static function getStorage() /** * Checks if the data will be persisted * - * @return boolean - * @static + * @return boolean + * @static */ public static function isDataPersisted() { @@ -21129,8 +22240,8 @@ public static function isDataPersisted() * Sets the HTTP driver * * @param \DebugBar\HttpDriverInterface $driver - * @return \Barryvdh\Debugbar\LaravelDebugbar - * @static + * @return \Barryvdh\Debugbar\LaravelDebugbar + * @static */ public static function setHttpDriver($driver) { @@ -21141,11 +22252,11 @@ public static function setHttpDriver($driver) /** * Returns collected data - * + * * Will collect the data if none have been collected yet * - * @return array - * @static + * @return array + * @static */ public static function getData() { @@ -21159,8 +22270,8 @@ public static function getData() * * @param string $headerName * @param integer $maxHeaderLength - * @return array - * @static + * @return array + * @static */ public static function getDataAsHeaders($headerName = 'phpdebugbar', $maxHeaderLength = 4096, $maxTotalHeaderLength = 250000) { @@ -21175,8 +22286,8 @@ public static function getDataAsHeaders($headerName = 'phpdebugbar', $maxHeaderL * @param bool $useOpenHandler * @param string $headerName * @param integer $maxHeaderLength - * @return \Barryvdh\Debugbar\LaravelDebugbar - * @static + * @return \Barryvdh\Debugbar\LaravelDebugbar + * @static */ public static function sendDataInHeaders($useOpenHandler = null, $headerName = 'phpdebugbar', $maxHeaderLength = 4096) { @@ -21188,7 +22299,7 @@ public static function sendDataInHeaders($useOpenHandler = null, $headerName = ' /** * Stacks the data in the session for later rendering * - * @static + * @static */ public static function stackData() { @@ -21201,8 +22312,8 @@ public static function stackData() * Sets the key to use in the $_SESSION array * * @param string $ns - * @return \Barryvdh\Debugbar\LaravelDebugbar - * @static + * @return \Barryvdh\Debugbar\LaravelDebugbar + * @static */ public static function setStackDataSessionNamespace($ns) { @@ -21214,8 +22325,8 @@ public static function setStackDataSessionNamespace($ns) /** * Returns the key used in the $_SESSION array * - * @return string - * @static + * @return string + * @static */ public static function getStackDataSessionNamespace() { @@ -21229,8 +22340,8 @@ public static function getStackDataSessionNamespace() * if a storage is enabled * * @param boolean $enabled - * @return \Barryvdh\Debugbar\LaravelDebugbar - * @static + * @return \Barryvdh\Debugbar\LaravelDebugbar + * @static */ public static function setStackAlwaysUseSessionStorage($enabled = true) { @@ -21243,8 +22354,8 @@ public static function setStackAlwaysUseSessionStorage($enabled = true) * Checks if the session is always used to store stacked data * even if a storage is enabled * - * @return boolean - * @static + * @return boolean + * @static */ public static function isStackAlwaysUseSessionStorage() { @@ -21254,9 +22365,7 @@ public static function isStackAlwaysUseSessionStorage() } /** - * - * - * @static + * @static */ public static function offsetSet($key, $value) { @@ -21266,9 +22375,7 @@ public static function offsetSet($key, $value) } /** - * - * - * @static + * @static */ public static function offsetGet($key) { @@ -21278,9 +22385,7 @@ public static function offsetGet($key) } /** - * - * - * @static + * @static */ public static function offsetExists($key) { @@ -21290,9 +22395,7 @@ public static function offsetExists($key) } /** - * - * - * @static + * @static */ public static function offsetUnset($key) { @@ -21306,15 +22409,11 @@ public static function offsetUnset($key) namespace Livewire { /** - * - * * @see \Livewire\LivewireManager */ class Livewire { /** - * - * - * @static + * @static */ public static function setProvider($provider) { @@ -21323,9 +22422,7 @@ public static function setProvider($provider) } /** - * - * - * @static + * @static */ public static function provide($callback) { @@ -21334,9 +22431,7 @@ public static function provide($callback) } /** - * - * - * @static + * @static */ public static function component($name, $class = null) { @@ -21345,9 +22440,7 @@ public static function component($name, $class = null) } /** - * - * - * @static + * @static */ public static function componentHook($hook) { @@ -21356,9 +22449,7 @@ public static function componentHook($hook) } /** - * - * - * @static + * @static */ public static function propertySynthesizer($synth) { @@ -21367,9 +22458,7 @@ public static function propertySynthesizer($synth) } /** - * - * - * @static + * @static */ public static function directive($name, $callback) { @@ -21378,9 +22467,7 @@ public static function directive($name, $callback) } /** - * - * - * @static + * @static */ public static function precompiler($callback) { @@ -21389,9 +22476,7 @@ public static function precompiler($callback) } /** - * - * - * @static + * @static */ public static function new($name, $id = null) { @@ -21400,9 +22485,7 @@ public static function new($name, $id = null) } /** - * - * - * @static + * @static */ public static function isDiscoverable($componentNameOrClass) { @@ -21411,9 +22494,7 @@ public static function isDiscoverable($componentNameOrClass) } /** - * - * - * @static + * @static */ public static function resolveMissingComponent($resolver) { @@ -21422,9 +22503,7 @@ public static function resolveMissingComponent($resolver) } /** - * - * - * @static + * @static */ public static function mount($name, $params = [], $key = null) { @@ -21433,20 +22512,16 @@ public static function mount($name, $params = [], $key = null) } /** - * - * - * @static + * @static */ - public static function snapshot($component) + public static function snapshot($component, $context = null) { /** @var \Livewire\LivewireManager $instance */ - return $instance->snapshot($component); + return $instance->snapshot($component, $context); } /** - * - * - * @static + * @static */ public static function fromSnapshot($snapshot) { @@ -21455,9 +22530,7 @@ public static function fromSnapshot($snapshot) } /** - * - * - * @static + * @static */ public static function listen($eventName, $callback) { @@ -21466,9 +22539,7 @@ public static function listen($eventName, $callback) } /** - * - * - * @static + * @static */ public static function current() { @@ -21477,9 +22548,7 @@ public static function current() } /** - * - * - * @static + * @static */ public static function findSynth($keyOrTarget, $component) { @@ -21488,9 +22557,7 @@ public static function findSynth($keyOrTarget, $component) } /** - * - * - * @static + * @static */ public static function update($snapshot, $diff, $calls) { @@ -21499,9 +22566,7 @@ public static function update($snapshot, $diff, $calls) } /** - * - * - * @static + * @static */ public static function updateProperty($component, $path, $value) { @@ -21510,9 +22575,7 @@ public static function updateProperty($component, $path, $value) } /** - * - * - * @static + * @static */ public static function isLivewireRequest() { @@ -21521,9 +22584,7 @@ public static function isLivewireRequest() } /** - * - * - * @static + * @static */ public static function componentHasBeenRendered() { @@ -21532,9 +22593,7 @@ public static function componentHasBeenRendered() } /** - * - * - * @static + * @static */ public static function forceAssetInjection() { @@ -21543,9 +22602,7 @@ public static function forceAssetInjection() } /** - * - * - * @static + * @static */ public static function setUpdateRoute($callback) { @@ -21554,9 +22611,7 @@ public static function setUpdateRoute($callback) } /** - * - * - * @static + * @static */ public static function getUpdateUri() { @@ -21565,9 +22620,7 @@ public static function getUpdateUri() } /** - * - * - * @static + * @static */ public static function setScriptRoute($callback) { @@ -21576,9 +22629,7 @@ public static function setScriptRoute($callback) } /** - * - * - * @static + * @static */ public static function useScriptTagAttributes($attributes) { @@ -21587,9 +22638,7 @@ public static function useScriptTagAttributes($attributes) } /** - * - * - * @static + * @static */ public static function withUrlParams($params) { @@ -21598,9 +22647,7 @@ public static function withUrlParams($params) } /** - * - * - * @static + * @static */ public static function withQueryParams($params) { @@ -21609,9 +22656,7 @@ public static function withQueryParams($params) } /** - * - * - * @static + * @static */ public static function withCookie($name, $value) { @@ -21620,9 +22665,7 @@ public static function withCookie($name, $value) } /** - * - * - * @static + * @static */ public static function withCookies($cookies) { @@ -21631,9 +22674,7 @@ public static function withCookies($cookies) } /** - * - * - * @static + * @static */ public static function withHeaders($headers) { @@ -21642,9 +22683,7 @@ public static function withHeaders($headers) } /** - * - * - * @static + * @static */ public static function withoutLazyLoading() { @@ -21653,9 +22692,7 @@ public static function withoutLazyLoading() } /** - * - * - * @static + * @static */ public static function test($name, $params = []) { @@ -21664,9 +22701,7 @@ public static function test($name, $params = []) } /** - * - * - * @static + * @static */ public static function visit($name) { @@ -21675,9 +22710,7 @@ public static function visit($name) } /** - * - * - * @static + * @static */ public static function actingAs($user, $driver = null) { @@ -21686,9 +22719,7 @@ public static function actingAs($user, $driver = null) } /** - * - * - * @static + * @static */ public static function isRunningServerless() { @@ -21697,9 +22728,7 @@ public static function isRunningServerless() } /** - * - * - * @static + * @static */ public static function addPersistentMiddleware($middleware) { @@ -21708,9 +22737,7 @@ public static function addPersistentMiddleware($middleware) } /** - * - * - * @static + * @static */ public static function setPersistentMiddleware($middleware) { @@ -21719,9 +22746,7 @@ public static function setPersistentMiddleware($middleware) } /** - * - * - * @static + * @static */ public static function getPersistentMiddleware() { @@ -21730,9 +22755,7 @@ public static function getPersistentMiddleware() } /** - * - * - * @static + * @static */ public static function flushState() { @@ -21741,9 +22764,7 @@ public static function flushState() } /** - * - * - * @static + * @static */ public static function originalUrl() { @@ -21752,9 +22773,7 @@ public static function originalUrl() } /** - * - * - * @static + * @static */ public static function originalPath() { @@ -21763,9 +22782,7 @@ public static function originalPath() } /** - * - * - * @static + * @static */ public static function originalMethod() { @@ -21778,15 +22795,11 @@ public static function originalMethod() namespace Opcodes\LogViewer\Facades { /** - * - * - * @see \Opcodes\LogViewer\LogViewerService + * @see LogViewerService */ class LogViewer { /** - * - * - * @static + * @static */ public static function timezone() { @@ -21795,9 +22808,7 @@ public static function timezone() } /** - * - * - * @static + * @static */ public static function basePathForLogs() { @@ -21806,10 +22817,8 @@ public static function basePathForLogs() } /** - * - * - * @return \Opcodes\LogViewer\LogFileCollection|\Opcodes\LogViewer\LogFile[] - * @static + * @return \Opcodes\LogViewer\LogFileCollection|\Opcodes\LogViewer\LogFile[] + * @static */ public static function getFiles() { @@ -21818,9 +22827,7 @@ public static function getFiles() } /** - * - * - * @static + * @static */ public static function getFilesGroupedByFolder() { @@ -21831,7 +22838,7 @@ public static function getFilesGroupedByFolder() /** * Find the file with the given identifier or file name. * - * @static + * @static */ public static function getFile($fileIdentifier) { @@ -21840,9 +22847,7 @@ public static function getFile($fileIdentifier) } /** - * - * - * @static + * @static */ public static function getFolder($folderIdentifier) { @@ -21851,9 +22856,7 @@ public static function getFolder($folderIdentifier) } /** - * - * - * @static + * @static */ public static function supportsHostsFeature() { @@ -21862,9 +22865,7 @@ public static function supportsHostsFeature() } /** - * - * - * @static + * @static */ public static function resolveHostsUsing($callback) { @@ -21873,9 +22874,7 @@ public static function resolveHostsUsing($callback) } /** - * - * - * @static + * @static */ public static function getHosts() { @@ -21884,9 +22883,7 @@ public static function getHosts() } /** - * - * - * @static + * @static */ public static function getHost($hostIdentifier) { @@ -21895,9 +22892,7 @@ public static function getHost($hostIdentifier) } /** - * - * - * @static + * @static */ public static function clearFileCache() { @@ -21906,9 +22901,7 @@ public static function clearFileCache() } /** - * - * - * @static + * @static */ public static function getRouteDomain() { @@ -21917,9 +22910,7 @@ public static function getRouteDomain() } /** - * - * - * @static + * @static */ public static function getRoutePrefix() { @@ -21928,9 +22919,7 @@ public static function getRoutePrefix() } /** - * - * - * @static + * @static */ public static function getRouteMiddleware() { @@ -21939,9 +22928,7 @@ public static function getRouteMiddleware() } /** - * - * - * @static + * @static */ public static function auth($callback = null) { @@ -21950,9 +22937,7 @@ public static function auth($callback = null) } /** - * - * - * @static + * @static */ public static function hasAuthCallback() { @@ -21961,9 +22946,7 @@ public static function hasAuthCallback() } /** - * - * - * @static + * @static */ public static function lazyScanChunkSize() { @@ -21972,9 +22955,7 @@ public static function lazyScanChunkSize() } /** - * - * - * @static + * @static */ public static function lazyScanTimeout() { @@ -21985,7 +22966,7 @@ public static function lazyScanTimeout() /** * Get the maximum number of bytes of the log that we should display. * - * @static + * @static */ public static function maxLogSize() { @@ -21994,9 +22975,7 @@ public static function maxLogSize() } /** - * - * - * @static + * @static */ public static function setMaxLogSize($bytes) { @@ -22005,9 +22984,7 @@ public static function setMaxLogSize($bytes) } /** - * - * - * @static + * @static */ public static function extend($type, $class) { @@ -22016,9 +22993,7 @@ public static function extend($type, $class) } /** - * - * - * @static + * @static */ public static function useLogFileClass($class) { @@ -22027,9 +23002,7 @@ public static function useLogFileClass($class) } /** - * - * - * @static + * @static */ public static function useLogReaderClass($class) { @@ -22038,9 +23011,7 @@ public static function useLogReaderClass($class) } /** - * - * - * @static + * @static */ public static function logReaderClass() { @@ -22049,9 +23020,7 @@ public static function logReaderClass() } /** - * - * - * @static + * @static */ public static function setViewLayout($layout) { @@ -22060,9 +23029,7 @@ public static function setViewLayout($layout) } /** - * - * - * @static + * @static */ public static function getViewLayout() { @@ -22070,11 +23037,57 @@ public static function getViewLayout() return $instance->getViewLayout(); } + /** + * Get the CSS for the Log Viewer dashboard. + * + * @static + */ + public static function css() + { + /** @var \Opcodes\LogViewer\LogViewerService $instance */ + return $instance->css(); + } + + /** + * Get the JS for the Log Viewer dashboard. + * + * @static + */ + public static function js() + { + /** @var \Opcodes\LogViewer\LogViewerService $instance */ + return $instance->js(); + } + + /** + * Get the favicon for the Log Viewer dashboard as a base64 data URI. + * + * @static + */ + public static function favicon() + { + /** @var \Opcodes\LogViewer\LogViewerService $instance */ + return $instance->favicon(); + } + + /** + * Determine if Log Viewer's assets have been published. + * + * @static + */ + public static function assetsArePublished() + { + /** @var \Opcodes\LogViewer\LogViewerService $instance */ + return $instance->assetsArePublished(); + } + /** * Determine if Log Viewer's published assets are up-to-date. * * @throws \RuntimeException - * @static + * @deprecated Publishing assets is no longer required. Assets are now served directly from the vendor directory. + * This method will be removed in the next major version. + * @static */ public static function assetsAreCurrent() { @@ -22085,7 +23098,7 @@ public static function assetsAreCurrent() /** * Get the current version of the Log Viewer * - * @static + * @static */ public static function version() { @@ -22098,16 +23111,12 @@ public static function version() namespace Spatie\Health\Facades { /** - * - * * @mixin \Spatie\Health\Health */ class Health { /** - * - * * @param array $checks - * @static + * @static */ public static function checks($checks) { @@ -22116,9 +23125,7 @@ public static function checks($checks) } /** - * - * - * @static + * @static */ public static function clearChecks() { @@ -22127,10 +23134,8 @@ public static function clearChecks() } /** - * - * - * @return Collection - * @static + * @return Collection + * @static */ public static function registeredChecks() { @@ -22139,10 +23144,8 @@ public static function registeredChecks() } /** - * - * - * @return Collection - * @static + * @return Collection + * @static */ public static function resultStores() { @@ -22151,9 +23154,7 @@ public static function resultStores() } /** - * - * - * @static + * @static */ public static function inlineStylesheet($stylesheet) { @@ -22162,9 +23163,7 @@ public static function inlineStylesheet($stylesheet) } /** - * - * - * @static + * @static */ public static function assets() { @@ -22177,15 +23176,11 @@ public static function assets() namespace Spatie\LaravelIgnition\Facades { /** - * - * * @see \Spatie\FlareClient\Flare */ class Flare { /** - * - * - * @static + * @static */ public static function make($apiKey = null, $contextDetector = null) { @@ -22193,9 +23188,7 @@ public static function make($apiKey = null, $contextDetector = null) } /** - * - * - * @static + * @static */ public static function setApiToken($apiToken) { @@ -22204,9 +23197,7 @@ public static function setApiToken($apiToken) } /** - * - * - * @static + * @static */ public static function apiTokenSet() { @@ -22215,9 +23206,7 @@ public static function apiTokenSet() } /** - * - * - * @static + * @static */ public static function setBaseUrl($baseUrl) { @@ -22226,9 +23215,7 @@ public static function setBaseUrl($baseUrl) } /** - * - * - * @static + * @static */ public static function setStage($stage) { @@ -22237,9 +23224,7 @@ public static function setStage($stage) } /** - * - * - * @static + * @static */ public static function sendReportsImmediately() { @@ -22248,9 +23233,7 @@ public static function sendReportsImmediately() } /** - * - * - * @static + * @static */ public static function determineVersionUsing($determineVersionCallable) { @@ -22259,9 +23242,7 @@ public static function determineVersionUsing($determineVersionCallable) } /** - * - * - * @static + * @static */ public static function reportErrorLevels($reportErrorLevels) { @@ -22270,9 +23251,7 @@ public static function reportErrorLevels($reportErrorLevels) } /** - * - * - * @static + * @static */ public static function filterExceptionsUsing($filterExceptionsCallable) { @@ -22281,9 +23260,7 @@ public static function filterExceptionsUsing($filterExceptionsCallable) } /** - * - * - * @static + * @static */ public static function filterReportsUsing($filterReportsCallable) { @@ -22292,10 +23269,8 @@ public static function filterReportsUsing($filterReportsCallable) } /** - * - * * @param array|ArgumentReducer>|\Spatie\Backtrace\Arguments\ArgumentReducers|null $argumentReducers - * @static + * @static */ public static function argumentReducers($argumentReducers) { @@ -22304,9 +23279,7 @@ public static function argumentReducers($argumentReducers) } /** - * - * - * @static + * @static */ public static function withStackFrameArguments($withStackFrameArguments = true, $forcePHPIniSetting = false) { @@ -22315,10 +23288,8 @@ public static function withStackFrameArguments($withStackFrameArguments = true, } /** - * - * * @param class-string $exceptionClass - * @static + * @static */ public static function overrideGrouping($exceptionClass, $type = 'exception_message_and_class') { @@ -22327,9 +23298,7 @@ public static function overrideGrouping($exceptionClass, $type = 'exception_mess } /** - * - * - * @static + * @static */ public static function version() { @@ -22338,10 +23307,8 @@ public static function version() } /** - * - * - * @return array> - * @static + * @return array> + * @static */ public static function getMiddleware() { @@ -22350,9 +23317,7 @@ public static function getMiddleware() } /** - * - * - * @static + * @static */ public static function setContextProviderDetector($contextDetector) { @@ -22361,9 +23326,7 @@ public static function setContextProviderDetector($contextDetector) } /** - * - * - * @static + * @static */ public static function setContainer($container) { @@ -22372,9 +23335,7 @@ public static function setContainer($container) } /** - * - * - * @static + * @static */ public static function registerFlareHandlers() { @@ -22383,9 +23344,7 @@ public static function registerFlareHandlers() } /** - * - * - * @static + * @static */ public static function registerExceptionHandler() { @@ -22394,9 +23353,7 @@ public static function registerExceptionHandler() } /** - * - * - * @static + * @static */ public static function registerErrorHandler($errorLevels = null) { @@ -22405,11 +23362,9 @@ public static function registerErrorHandler($errorLevels = null) } /** - * - * * @param \Spatie\FlareClient\FlareMiddleware\FlareMiddleware|array|class-string|callable $middleware - * @return \Spatie\FlareClient\Flare - * @static + * @return \Spatie\FlareClient\Flare + * @static */ public static function registerMiddleware($middleware) { @@ -22418,10 +23373,8 @@ public static function registerMiddleware($middleware) } /** - * - * - * @return array> - * @static + * @return array> + * @static */ public static function getMiddlewares() { @@ -22430,13 +23383,11 @@ public static function getMiddlewares() } /** - * - * * @param string $name * @param string $messageLevel * @param array $metaData - * @return \Spatie\FlareClient\Flare - * @static + * @return \Spatie\FlareClient\Flare + * @static */ public static function glow($name, $messageLevel = 'info', $metaData = []) { @@ -22445,9 +23396,7 @@ public static function glow($name, $messageLevel = 'info', $metaData = []) } /** - * - * - * @static + * @static */ public static function handleException($throwable) { @@ -22456,10 +23405,8 @@ public static function handleException($throwable) } /** - * - * - * @return mixed - * @static + * @return mixed + * @static */ public static function handleError($code, $message, $file = '', $line = 0) { @@ -22468,9 +23415,7 @@ public static function handleError($code, $message, $file = '', $line = 0) } /** - * - * - * @static + * @static */ public static function applicationPath($applicationPath) { @@ -22479,9 +23424,7 @@ public static function applicationPath($applicationPath) } /** - * - * - * @static + * @static */ public static function report($throwable, $callback = null, $report = null, $handled = null) { @@ -22490,9 +23433,7 @@ public static function report($throwable, $callback = null, $report = null, $han } /** - * - * - * @static + * @static */ public static function reportHandled($throwable) { @@ -22501,9 +23442,7 @@ public static function reportHandled($throwable) } /** - * - * - * @static + * @static */ public static function reportMessage($message, $logLevel, $callback = null) { @@ -22512,9 +23451,7 @@ public static function reportMessage($message, $logLevel, $callback = null) } /** - * - * - * @static + * @static */ public static function sendTestReport($throwable) { @@ -22523,9 +23460,7 @@ public static function sendTestReport($throwable) } /** - * - * - * @static + * @static */ public static function reset() { @@ -22534,9 +23469,7 @@ public static function reset() } /** - * - * - * @static + * @static */ public static function anonymizeIp() { @@ -22545,11 +23478,9 @@ public static function anonymizeIp() } /** - * - * * @param array $fieldNames - * @return \Spatie\FlareClient\Flare - * @static + * @return \Spatie\FlareClient\Flare + * @static */ public static function censorRequestBodyFields($fieldNames) { @@ -22558,9 +23489,7 @@ public static function censorRequestBodyFields($fieldNames) } /** - * - * - * @static + * @static */ public static function createReport($throwable) { @@ -22569,9 +23498,7 @@ public static function createReport($throwable) } /** - * - * - * @static + * @static */ public static function createReportFromMessage($message, $logLevel) { @@ -22580,9 +23507,7 @@ public static function createReportFromMessage($message, $logLevel) } /** - * - * - * @static + * @static */ public static function stage($stage) { @@ -22591,9 +23516,7 @@ public static function stage($stage) } /** - * - * - * @static + * @static */ public static function messageLevel($messageLevel) { @@ -22602,12 +23525,10 @@ public static function messageLevel($messageLevel) } /** - * - * * @param string $groupName * @param mixed $default - * @return array - * @static + * @return array + * @static */ public static function getGroup($groupName = 'context', $default = []) { @@ -22616,9 +23537,7 @@ public static function getGroup($groupName = 'context', $default = []) } /** - * - * - * @static + * @static */ public static function context($key, $value) { @@ -22627,12 +23546,10 @@ public static function context($key, $value) } /** - * - * * @param string $groupName * @param array $properties - * @return \Spatie\FlareClient\Flare - * @static + * @return \Spatie\FlareClient\Flare + * @static */ public static function group($groupName, $properties) { @@ -22645,14 +23562,10 @@ public static function group($groupName, $properties) namespace Spatie\ResponseCache\Facades { /** - * - * */ class ResponseCache { /** - * - * - * @static + * @static */ public static function enabled($request) { @@ -22661,9 +23574,7 @@ public static function enabled($request) } /** - * - * - * @static + * @static */ public static function shouldCache($request, $response) { @@ -22672,9 +23583,7 @@ public static function shouldCache($request, $response) } /** - * - * - * @static + * @static */ public static function shouldBypass($request) { @@ -22683,9 +23592,7 @@ public static function shouldBypass($request) } /** - * - * - * @static + * @static */ public static function cacheResponse($request, $response, $lifetimeInSeconds = null, $tags = []) { @@ -22694,9 +23601,7 @@ public static function cacheResponse($request, $response, $lifetimeInSeconds = n } /** - * - * - * @static + * @static */ public static function hasBeenCached($request, $tags = []) { @@ -22705,9 +23610,7 @@ public static function hasBeenCached($request, $tags = []) } /** - * - * - * @static + * @static */ public static function getCachedResponseFor($request, $tags = []) { @@ -22716,9 +23619,7 @@ public static function getCachedResponseFor($request, $tags = []) } /** - * - * - * @static + * @static */ public static function clear($tags = []) { @@ -22727,12 +23628,10 @@ public static function clear($tags = []) } /** - * - * * @param string|array $uris * @param string[] $tags - * @return \Spatie\ResponseCache\ResponseCache - * @static + * @return \Spatie\ResponseCache\ResponseCache + * @static */ public static function forget($uris, $tags = []) { @@ -22741,9 +23640,7 @@ public static function forget($uris, $tags = []) } /** - * - * - * @static + * @static */ public static function selectCachedItems() { @@ -22756,15 +23653,21 @@ public static function selectCachedItems() namespace Whitecube\LaravelCookieConsent\Facades { /** - * - * + * @method static \Whitecube\LaravelCookieConsent\CookiesCategory essentials() + * @method static \Whitecube\LaravelCookieConsent\CookiesCategory analytics() + * @method static \Whitecube\LaravelCookieConsent\CookiesCategory optional() + * @method static \Whitecube\LaravelCookieConsent\CookiesRegistrar category(string $key, ?\Closure $maker = null) + * @method static array getCategories() + * @method static bool hasCategory(string $key) + * @see \Whitecube\LaravelCookieConsent\CookiesManager + * @see \Whitecube\LaravelCookieConsent\CookiesRegistrar */ class Cookies { /** * Check if the current preference settings are sufficient. If not, * the cookie preferences notice should be displayed again. * - * @static + * @static */ public static function shouldDisplayNotice() { @@ -22775,7 +23678,7 @@ public static function shouldDisplayNotice() /** * Check if the user has given explicit consent for a specific cookie. * - * @static + * @static */ public static function hasConsentFor($key) { @@ -22786,7 +23689,7 @@ public static function hasConsentFor($key) /** * Handle the incoming consent preferences accordingly. * - * @static + * @static */ public static function accept($categories = '*') { @@ -22797,7 +23700,7 @@ public static function accept($categories = '*') /** * Output all the scripts for current consent state. * - * @static + * @static */ public static function renderScripts($withDefault = true) { @@ -22806,9 +23709,7 @@ public static function renderScripts($withDefault = true) } /** - * - * - * @static + * @static */ public static function getNoticeScripts($withDefault) { @@ -22819,7 +23720,7 @@ public static function getNoticeScripts($withDefault) /** * Output the consent alert/modal for current consent state. * - * @static + * @static */ public static function renderView() { @@ -22828,9 +23729,7 @@ public static function renderView() } /** - * - * - * @static + * @static */ public static function getNoticeMarkup() { @@ -22841,7 +23740,7 @@ public static function getNoticeMarkup() /** * Output a single cookie consent action button. * - * @static + * @static */ public static function renderButton($action, $label = null, $attributes = []) { @@ -22852,7 +23751,7 @@ public static function renderButton($action, $label = null, $attributes = []) /** * Output a table with all the cookies infos. * - * @static + * @static */ public static function renderInfo() { @@ -22861,9 +23760,7 @@ public static function renderInfo() } /** - * - * - * @static + * @static */ public static function replaceInfoTag($wysiwyg) { @@ -22876,17 +23773,36 @@ public static function replaceInfoTag($wysiwyg) namespace LaraBug { /** - * - * */ class Facade { /** - * + * Set custom context data that will be sent with the next exception * - * @param \Throwable $exception - * @param string $fileType - * @return bool|mixed - * @static + * @param array $context + * @return void + * @static + */ + public static function context($context) + { + \LaraBug\LaraBug::context($context); + } + + /** + * Clear custom context data + * + * @return void + * @static + */ + public static function clearContext() + { + \LaraBug\LaraBug::clearContext(); + } + + /** + * @param \Throwable $exception + * @param string $fileType + * @return bool|mixed + * @static */ public static function handle($exception, $fileType = 'php', $customData = []) { @@ -22895,10 +23811,18 @@ public static function handle($exception, $fileType = 'php', $customData = []) } /** - * - * - * @return bool - * @static + * @internal Used by tests and the queue tracking path to check whether + * a capture is currently in flight. + * @static + */ + public static function isCapturing() + { + return \LaraBug\LaraBug::isCapturing(); + } + + /** + * @return bool + * @static */ public static function isSkipEnvironment() { @@ -22909,8 +23833,8 @@ public static function isSkipEnvironment() /** * Get the last exception id given to us by the larabug API. * - * @return string|null - * @static + * @return string|null + * @static */ public static function getLastExceptionId() { @@ -22919,11 +23843,9 @@ public static function getLastExceptionId() } /** - * - * * @param \Throwable $exception - * @return array - * @static + * @return array + * @static */ public static function getExceptionData($exception) { @@ -22932,11 +23854,9 @@ public static function getExceptionData($exception) } /** - * - * * @param array $parameters - * @return array - * @static + * @return array + * @static */ public static function filterParameterValues($parameters) { @@ -22948,8 +23868,8 @@ public static function filterParameterValues($parameters) * Determines whether the given parameter value should be filtered. * * @param mixed $value - * @return bool - * @static + * @return bool + * @static */ public static function shouldParameterValueBeFiltered($value) { @@ -22958,11 +23878,9 @@ public static function shouldParameterValueBeFiltered($value) } /** - * - * * @param $variables - * @return array - * @static + * @return array + * @static */ public static function filterVariables($variables) { @@ -22971,11 +23889,9 @@ public static function filterVariables($variables) } /** - * - * * @param $exceptionClass - * @return bool - * @static + * @return bool + * @static */ public static function isSkipException($exceptionClass) { @@ -22984,11 +23900,9 @@ public static function isSkipException($exceptionClass) } /** - * - * * @param array $data - * @return bool - * @static + * @return bool + * @static */ public static function isSleepingException($data) { @@ -22997,10 +23911,8 @@ public static function isSleepingException($data) } /** - * - * - * @return array|null - * @static + * @return array|null + * @static */ public static function getUser() { @@ -23009,11 +23921,9 @@ public static function getUser() } /** - * - * * @param array $data - * @return bool - * @static + * @return bool + * @static */ public static function addExceptionToSleep($data) { @@ -23022,10 +23932,8 @@ public static function addExceptionToSleep($data) } /** - * - * * @param int $expectedCount - * @static + * @static */ public static function assertRequestsSent($expectedCount) { @@ -23034,11 +23942,9 @@ public static function assertRequestsSent($expectedCount) } /** - * - * * @param mixed $throwable * @param callable|null $callback - * @static + * @static */ public static function assertNotSent($throwable, $callback = null) { @@ -23047,9 +23953,7 @@ public static function assertNotSent($throwable, $callback = null) } /** - * - * - * @static + * @static */ public static function assertNothingSent() { @@ -23058,11 +23962,9 @@ public static function assertNothingSent() } /** - * - * * @param mixed $throwable * @param callable|null $callback - * @static + * @static */ public static function assertSent($throwable, $callback = null) { @@ -23075,17 +23977,13 @@ public static function assertSent($throwable, $callback = null) namespace Illuminate\Support { /** - * - * */ class Str { /** - * - * * @see \Filament\Support\SupportServiceProvider::packageBooted() * @param string $html - * @return string - * @static + * @return string + * @static */ public static function sanitizeHtml($html) { @@ -23093,22 +23991,19 @@ public static function sanitizeHtml($html) } /** - * - * * @see \Filament\Support\SupportServiceProvider::packageBooted() - * @param string $value - * @return string - * @static + * @param string|null $url + * @param array $allowedSchemes + * @return string|null + * @static */ - public static function ucwords($value) + public static function sanitizeUrl($url, $allowedSchemes = []) { - return \Illuminate\Support\Str::ucwords($value); + return \Illuminate\Support\Str::sanitizeUrl($url, $allowedSchemes); } } /** - * - * * @template TKey of array-key * @template-covariant TValue * @implements \ArrayAccess @@ -23116,10 +24011,8 @@ public static function ucwords($value) */ class Collection { /** - * - * * @see \Barryvdh\Debugbar\ServiceProvider::register() - * @static + * @static */ public static function debug() { @@ -23128,16 +24021,12 @@ public static function debug() } /** - * - * */ class Stringable { /** - * - * * @see \Filament\Support\SupportServiceProvider::packageBooted() - * @return \Illuminate\Support\Stringable - * @static + * @return \Illuminate\Support\Stringable + * @static */ public static function sanitizeHtml() { @@ -23145,15 +24034,14 @@ public static function sanitizeHtml() } /** - * - * * @see \Filament\Support\SupportServiceProvider::packageBooted() - * @return \Illuminate\Support\Stringable - * @static + * @param array $allowedSchemes + * @return \Illuminate\Support\Stringable + * @static */ - public static function ucwords() + public static function sanitizeUrl($allowedSchemes = []) { - return \Illuminate\Support\Stringable::ucwords(); + return \Illuminate\Support\Stringable::sanitizeUrl($allowedSchemes); } } @@ -23161,17 +24049,13 @@ public static function ucwords() namespace Illuminate\Http { /** - * - * */ - class Request { + class Request extends \Symfony\Component\HttpFoundation\Request { /** - * - * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation() * @param array $rules * @param mixed $params - * @static + * @static */ public static function validate($rules, ...$params) { @@ -23179,13 +24063,11 @@ public static function validate($rules, ...$params) } /** - * - * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestValidation() * @param string $errorBag * @param array $rules * @param mixed $params - * @static + * @static */ public static function validateWithBag($errorBag, $rules, ...$params) { @@ -23193,11 +24075,9 @@ public static function validateWithBag($errorBag, $rules, ...$params) } /** - * - * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() * @param mixed $absolute - * @static + * @static */ public static function hasValidSignature($absolute = true) { @@ -23205,10 +24085,8 @@ public static function hasValidSignature($absolute = true) } /** - * - * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() - * @static + * @static */ public static function hasValidRelativeSignature() { @@ -23216,12 +24094,10 @@ public static function hasValidRelativeSignature() } /** - * - * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() * @param mixed $ignoreQuery * @param mixed $absolute - * @static + * @static */ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) { @@ -23229,11 +24105,9 @@ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolu } /** - * - * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() * @param mixed $ignoreQuery - * @static + * @static */ public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []) { @@ -23245,17 +24119,13 @@ public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []) namespace Illuminate\Routing { /** - * - * * @mixin \Illuminate\Routing\RouteRegistrar */ class Router { /** - * - * * @see \Laravel\Ui\AuthRouteMethods::auth() * @param mixed $options - * @static + * @static */ public static function auth($options = []) { @@ -23263,10 +24133,8 @@ public static function auth($options = []) } /** - * - * * @see \Laravel\Ui\AuthRouteMethods::resetPassword() - * @static + * @static */ public static function resetPassword() { @@ -23274,10 +24142,8 @@ public static function resetPassword() } /** - * - * * @see \Laravel\Ui\AuthRouteMethods::confirmPassword() - * @static + * @static */ public static function confirmPassword() { @@ -23285,10 +24151,8 @@ public static function confirmPassword() } /** - * - * * @see \Laravel\Ui\AuthRouteMethods::emailVerification() - * @static + * @static */ public static function emailVerification() { @@ -23297,16 +24161,12 @@ public static function emailVerification() } /** - * - * */ class Route { /** - * - * * @see \Livewire\Features\SupportLazyLoading\SupportLazyLoading::registerRouteMacro() * @param mixed $enabled - * @static + * @static */ public static function lazy($enabled = true) { @@ -23318,15 +24178,11 @@ public static function lazy($enabled = true) namespace Illuminate\Database\Query { /** - * - * */ class Builder { /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\QueryBuilderExtraMethods::getGroupBy() - * @static + * @static */ public static function getGroupBy() { @@ -23334,10 +24190,8 @@ public static function getGroupBy() } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\QueryBuilderExtraMethods::getSelect() - * @static + * @static */ public static function getSelect() { @@ -23349,8 +24203,6 @@ public static function getSelect() namespace Illuminate\Database\Eloquent\Relations { /** - * - * * @template TRelatedModel of \Illuminate\Database\Eloquent\Model * @template TDeclaringModel of \Illuminate\Database\Eloquent\Model * @template TResult @@ -23358,8 +24210,6 @@ public static function getSelect() */ class Relation { /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoins() * @param mixed $builder * @param mixed $joinType @@ -23368,7 +24218,7 @@ class Relation { * @param bool $disableExtraConditions * @param string|null $morphable * @param bool $hasCheck - * @static + * @static */ public static function performJoinForEloquentPowerJoins($builder, $joinType = 'leftJoin', $callback = null, $alias = null, $disableExtraConditions = false, $morphable = null, $hasCheck = false) { @@ -23376,15 +24226,13 @@ public static function performJoinForEloquentPowerJoins($builder, $joinType = 'l } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoinsForBelongsTo() * @param mixed $query * @param mixed $joinType * @param mixed $callback * @param mixed $alias * @param bool $disableExtraConditions - * @static + * @static */ public static function performJoinForEloquentPowerJoinsForBelongsTo($query, $joinType, $callback = null, $alias = null, $disableExtraConditions = false) { @@ -23392,15 +24240,13 @@ public static function performJoinForEloquentPowerJoinsForBelongsTo($query, $joi } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoinsForBelongsToMany() * @param mixed $builder * @param mixed $joinType * @param mixed $callback * @param mixed $alias * @param bool $disableExtraConditions - * @static + * @static */ public static function performJoinForEloquentPowerJoinsForBelongsToMany($builder, $joinType, $callback = null, $alias = null, $disableExtraConditions = false) { @@ -23408,15 +24254,13 @@ public static function performJoinForEloquentPowerJoinsForBelongsToMany($builder } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoinsForMorphToMany() * @param mixed $builder * @param mixed $joinType * @param mixed $callback * @param mixed $alias * @param bool $disableExtraConditions - * @static + * @static */ public static function performJoinForEloquentPowerJoinsForMorphToMany($builder, $joinType, $callback = null, $alias = null, $disableExtraConditions = false) { @@ -23424,15 +24268,13 @@ public static function performJoinForEloquentPowerJoinsForMorphToMany($builder, } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoinsForMorph() * @param mixed $builder * @param mixed $joinType * @param mixed $callback * @param mixed $alias * @param bool $disableExtraConditions - * @static + * @static */ public static function performJoinForEloquentPowerJoinsForMorph($builder, $joinType, $callback = null, $alias = null, $disableExtraConditions = false) { @@ -23440,8 +24282,6 @@ public static function performJoinForEloquentPowerJoinsForMorph($builder, $joinT } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoinsForMorphTo() * @param mixed $builder * @param mixed $joinType @@ -23449,7 +24289,7 @@ public static function performJoinForEloquentPowerJoinsForMorph($builder, $joinT * @param mixed $alias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function performJoinForEloquentPowerJoinsForMorphTo($builder, $joinType, $callback = null, $alias = null, $disableExtraConditions = false, $morphable = null) { @@ -23457,8 +24297,6 @@ public static function performJoinForEloquentPowerJoinsForMorphTo($builder, $joi } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoinsForHasMany() * @param mixed $builder * @param mixed $joinType @@ -23466,7 +24304,7 @@ public static function performJoinForEloquentPowerJoinsForMorphTo($builder, $joi * @param mixed $alias * @param bool $disableExtraConditions * @param bool $hasCheck - * @static + * @static */ public static function performJoinForEloquentPowerJoinsForHasMany($builder, $joinType, $callback = null, $alias = null, $disableExtraConditions = false, $hasCheck = false) { @@ -23474,15 +24312,13 @@ public static function performJoinForEloquentPowerJoinsForHasMany($builder, $joi } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performJoinForEloquentPowerJoinsForHasManyThrough() * @param mixed $builder * @param mixed $joinType * @param mixed $callback * @param mixed $alias * @param bool $disableExtraConditions - * @static + * @static */ public static function performJoinForEloquentPowerJoinsForHasManyThrough($builder, $joinType, $callback = null, $alias = null, $disableExtraConditions = false) { @@ -23490,14 +24326,12 @@ public static function performJoinForEloquentPowerJoinsForHasManyThrough($builde } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::performHavingForEloquentPowerJoins() * @param mixed $builder * @param mixed $operator * @param mixed $count * @param string|null $morphable - * @static + * @static */ public static function performHavingForEloquentPowerJoins($builder, $operator, $count, $morphable = null) { @@ -23505,11 +24339,9 @@ public static function performHavingForEloquentPowerJoins($builder, $operator, $ } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::usesSoftDeletes() * @param mixed $model - * @static + * @static */ public static function usesSoftDeletes($model) { @@ -23517,10 +24349,8 @@ public static function usesSoftDeletes($model) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::getThroughParent() - * @static + * @static */ public static function getThroughParent() { @@ -23528,10 +24358,8 @@ public static function getThroughParent() } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::getFarParent() - * @static + * @static */ public static function getFarParent() { @@ -23539,11 +24367,9 @@ public static function getFarParent() } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::applyExtraConditions() * @param \Kirschbaum\PowerJoins\PowerJoinClause $join - * @static + * @static */ public static function applyExtraConditions($join) { @@ -23551,12 +24377,10 @@ public static function applyExtraConditions($join) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::applyBasicCondition() * @param mixed $join * @param mixed $condition - * @static + * @static */ public static function applyBasicCondition($join, $condition) { @@ -23564,12 +24388,10 @@ public static function applyBasicCondition($join, $condition) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::applyNullCondition() * @param mixed $join * @param mixed $condition - * @static + * @static */ public static function applyNullCondition($join, $condition) { @@ -23577,12 +24399,10 @@ public static function applyNullCondition($join, $condition) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::applyNotNullCondition() * @param mixed $join * @param mixed $condition - * @static + * @static */ public static function applyNotNullCondition($join, $condition) { @@ -23590,12 +24410,10 @@ public static function applyNotNullCondition($join, $condition) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::applyNestedCondition() * @param mixed $join * @param mixed $condition - * @static + * @static */ public static function applyNestedCondition($join, $condition) { @@ -23603,11 +24421,9 @@ public static function applyNestedCondition($join, $condition) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::shouldNotApplyExtraCondition() * @param mixed $condition - * @static + * @static */ public static function shouldNotApplyExtraCondition($condition) { @@ -23615,10 +24431,8 @@ public static function shouldNotApplyExtraCondition($condition) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\RelationshipsExtraMethods::getPowerJoinExistenceCompareKey() - * @static + * @static */ public static function getPowerJoinExistenceCompareKey() { @@ -23630,19 +24444,15 @@ public static function getPowerJoinExistenceCompareKey() namespace Illuminate\Database\Eloquent\Factories { /** - * - * * @template TModel of \Illuminate\Database\Eloquent\Model * @method $this trashed() */ class Factory { /** - * - * * @see \Spatie\Translatable\TranslatableServiceProvider::packageRegistered() * @param array|string $locales * @param mixed|null $value - * @static + * @static */ public static function translations($locales, $value) { @@ -23654,31 +24464,25 @@ public static function translations($locales, $value) namespace Livewire\Features\SupportTesting { /** - * - * * @mixin \Illuminate\Testing\TestResponse */ class Testable { /** - * - * * @see \Filament\Actions\Testing\TestsActions::mountAction() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param array $arguments - * @return static - * @static + * @return static + * @static */ - public static function mountAction($name, $arguments = []) + public static function mountAction($actions, $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::mountAction($name, $arguments); + return \Livewire\Features\SupportTesting\Testable::mountAction($actions, $arguments); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::unmountAction() - * @return static - * @static + * @return static + * @static */ public static function unmountAction() { @@ -23686,12 +24490,10 @@ public static function unmountAction() } /** - * - * * @see \Filament\Actions\Testing\TestsActions::setActionData() * @param array $data - * @return static - * @static + * @return static + * @static */ public static function setActionData($data) { @@ -23699,12 +24501,10 @@ public static function setActionData($data) } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionDataSet() - * @param array $data - * @return static - * @static + * @param \Closure|array $data + * @return static + * @static */ public static function assertActionDataSet($data) { @@ -23712,27 +24512,23 @@ public static function assertActionDataSet($data) } /** - * - * * @see \Filament\Actions\Testing\TestsActions::callAction() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param array $data * @param array $arguments - * @return static - * @static + * @return static + * @static */ - public static function callAction($name, $data = [], $arguments = []) + public static function callAction($actions, $data = [], $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::callAction($name, $data, $arguments); + return \Livewire\Features\SupportTesting\Testable::callAction($actions, $data, $arguments); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::callMountedAction() * @param array $arguments - * @return static - * @static + * @return static + * @static */ public static function callMountedAction($arguments = []) { @@ -23740,292 +24536,287 @@ public static function callMountedAction($arguments = []) } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionExists() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @param \Closure|null $checkActionUsing + * @param \Closure|null $generateMessageUsing + * @param array $arguments + * @return static + * @static */ - public static function assertActionExists($name) + public static function assertActionExists($actions, $checkActionUsing = null, $generateMessageUsing = null, $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::assertActionExists($name); + return \Livewire\Features\SupportTesting\Testable::assertActionExists($actions, $checkActionUsing, $generateMessageUsing, $arguments); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionDoesNotExist() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @param \Closure|null $checkActionUsing + * @param \Closure|null $generateMessageUsing + * @return static + * @static */ - public static function assertActionDoesNotExist($name) + public static function assertActionDoesNotExist($actions, $checkActionUsing = null, $generateMessageUsing = null) { - return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotExist($name); + return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotExist($actions, $checkActionUsing, $generateMessageUsing); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionVisible() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param array $arguments - * @return static - * @static + * @return static + * @static */ - public static function assertActionVisible($name, $arguments = []) + public static function assertActionVisible($actions, $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::assertActionVisible($name, $arguments); + return \Livewire\Features\SupportTesting\Testable::assertActionVisible($actions, $arguments); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionHidden() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param array $arguments - * @return static - * @static + * @return static + * @static */ - public static function assertActionHidden($name, $arguments = []) + public static function assertActionHidden($actions, $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::assertActionHidden($name, $arguments); + return \Livewire\Features\SupportTesting\Testable::assertActionHidden($actions, $arguments); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionEnabled() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionEnabled($name) + public static function assertActionEnabled($actions) { - return \Livewire\Features\SupportTesting\Testable::assertActionEnabled($name); + return \Livewire\Features\SupportTesting\Testable::assertActionEnabled($actions); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionDisabled() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionDisabled($name) + public static function assertActionDisabled($actions) { - return \Livewire\Features\SupportTesting\Testable::assertActionDisabled($name); + return \Livewire\Features\SupportTesting\Testable::assertActionDisabled($actions); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionHasIcon() - * @param array|string $name - * @param string $icon - * @param mixed $record - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @param \BackedEnum|string $icon + * @return static + * @static */ - public static function assertActionHasIcon($name, $icon, $record = null) + public static function assertActionHasIcon($actions, $icon) { - return \Livewire\Features\SupportTesting\Testable::assertActionHasIcon($name, $icon, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionHasIcon($actions, $icon); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionDoesNotHaveIcon() - * @param array|string $name - * @param string $icon - * @param mixed $record - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @param \BackedEnum|string $icon + * @return static + * @static */ - public static function assertActionDoesNotHaveIcon($name, $icon, $record = null) + public static function assertActionDoesNotHaveIcon($actions, $icon) { - return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveIcon($name, $icon, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveIcon($actions, $icon); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionHasLabel() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param string $label - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertActionHasLabel($name, $label, $record = null) + public static function assertActionHasLabel($actions, $label) { - return \Livewire\Features\SupportTesting\Testable::assertActionHasLabel($name, $label, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionHasLabel($actions, $label); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionDoesNotHaveLabel() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param string $label - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertActionDoesNotHaveLabel($name, $label, $record = null) + public static function assertActionDoesNotHaveLabel($actions, $label) { - return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveLabel($name, $label, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveLabel($actions, $label); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionHasColor() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param array|string $color - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertActionHasColor($name, $color, $record = null) + public static function assertActionHasColor($actions, $color) { - return \Livewire\Features\SupportTesting\Testable::assertActionHasColor($name, $color, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionHasColor($actions, $color); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionDoesNotHaveColor() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param array|string $color - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertActionDoesNotHaveColor($name, $color, $record = null) + public static function assertActionDoesNotHaveColor($actions, $color) { - return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveColor($name, $color, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveColor($actions, $color); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionHasUrl() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param string $url - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertActionHasUrl($name, $url, $record = null) + public static function assertActionHasUrl($actions, $url) { - return \Livewire\Features\SupportTesting\Testable::assertActionHasUrl($name, $url, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionHasUrl($actions, $url); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionDoesNotHaveUrl() - * @param array|string $name + * @param \Filament\Actions\Testing\TestAction|array|string $actions * @param string $url - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertActionDoesNotHaveUrl($name, $url, $record = null) + public static function assertActionDoesNotHaveUrl($actions, $url) { - return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveUrl($name, $url, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionDoesNotHaveUrl($actions, $url); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionShouldOpenUrlInNewTab() - * @param array|string $name - * @param mixed $record - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionShouldOpenUrlInNewTab($name, $record = null) + public static function assertActionShouldOpenUrlInNewTab($actions) { - return \Livewire\Features\SupportTesting\Testable::assertActionShouldOpenUrlInNewTab($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionShouldOpenUrlInNewTab($actions); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionShouldNotOpenUrlInNewTab() - * @param array|string $name - * @param mixed $record - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionShouldNotOpenUrlInNewTab($name, $record = null) + public static function assertActionShouldNotOpenUrlInNewTab($actions) { - return \Livewire\Features\SupportTesting\Testable::assertActionShouldNotOpenUrlInNewTab($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertActionShouldNotOpenUrlInNewTab($actions); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionMounted() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionMounted($name) + public static function assertActionMounted($actions = []) { - return \Livewire\Features\SupportTesting\Testable::assertActionMounted($name); + return \Livewire\Features\SupportTesting\Testable::assertActionMounted($actions); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionNotMounted() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionNotMounted($name) + public static function assertActionNotMounted($actions = []) { - return \Livewire\Features\SupportTesting\Testable::assertActionNotMounted($name); + return \Livewire\Features\SupportTesting\Testable::assertActionNotMounted($actions); + } + + /** + * @see \Filament\Actions\Testing\TestsActions::assertMountedActionModalSee() + * @param array|string $values + * @param mixed $escape + * @static + */ + public static function assertMountedActionModalSee($values, $escape = true) + { + return \Livewire\Features\SupportTesting\Testable::assertMountedActionModalSee($values, $escape); + } + + /** + * @see \Filament\Actions\Testing\TestsActions::assertMountedActionModalDontSee() + * @param array|string $values + * @param bool $escape + * @static + */ + public static function assertMountedActionModalDontSee($values, $escape = true) + { + return \Livewire\Features\SupportTesting\Testable::assertMountedActionModalDontSee($values, $escape); + } + + /** + * @see \Filament\Actions\Testing\TestsActions::assertMountedActionModalSeeHtml() + * @param array|string $values + * @static + */ + public static function assertMountedActionModalSeeHtml($values) + { + return \Livewire\Features\SupportTesting\Testable::assertMountedActionModalSeeHtml($values); + } + + /** + * @see \Filament\Actions\Testing\TestsActions::assertMountedActionModalDontSeeHtml() + * @param array|string $values + * @static + */ + public static function assertMountedActionModalDontSeeHtml($values) + { + return \Livewire\Features\SupportTesting\Testable::assertMountedActionModalDontSeeHtml($values); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionMounted() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionHalted($name) + public static function assertActionHalted($actions = []) { - return \Livewire\Features\SupportTesting\Testable::assertActionHalted($name); + return \Livewire\Features\SupportTesting\Testable::assertActionHalted($actions); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionMounted() - * @param array|string $name - * @return static - * @static + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @return static + * @static */ - public static function assertActionHeld($name) + public static function assertActionHeld($actions = []) { - return \Livewire\Features\SupportTesting\Testable::assertActionHeld($name); + return \Livewire\Features\SupportTesting\Testable::assertActionHeld($actions); } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertHasActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasActionErrors($keys = []) { @@ -24033,12 +24824,10 @@ public static function assertHasActionErrors($keys = []) } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertHasNoActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasNoActionErrors($keys = []) { @@ -24046,15 +24835,13 @@ public static function assertHasNoActionErrors($keys = []) } /** - * - * * @see \Filament\Actions\Testing\TestsActions::assertActionListInOrder() * @param array $names * @param array $actions * @param string $actionType * @param string $actionClass - * @return self - * @static + * @return self + * @static */ public static function assertActionListInOrder($names, $actions, $actionType, $actionClass) { @@ -24062,94 +24849,81 @@ public static function assertActionListInOrder($names, $actions, $actionType, $a } /** - * - * - * @see \Filament\Actions\Testing\TestsActions::parseActionName() - * @param string $name - * @return string - * @static + * @see \Filament\Actions\Testing\TestsActions::parseNestedActions() + * @param \Filament\Actions\Testing\TestAction|array|string $actions + * @param array $arguments + * @param bool $areRelativeToMountedActions + * @return array + * @static */ - public static function parseActionName($name) + public static function parseNestedActions($actions, $arguments = [], $areRelativeToMountedActions = true) { - return \Livewire\Features\SupportTesting\Testable::parseActionName($name); + return \Livewire\Features\SupportTesting\Testable::parseNestedActions($actions, $arguments, $areRelativeToMountedActions); } /** - * - * - * @see \Filament\Actions\Testing\TestsActions::parseNestedActionName() - * @param array|string $name - * @return array - * @static + * @see \Filament\Actions\Testing\TestsActions::getMountedActionModalHtml() + * @return string + * @static */ - public static function parseNestedActionName($name) + public static function getMountedActionModalHtml() { - return \Livewire\Features\SupportTesting\Testable::parseNestedActionName($name); + return \Livewire\Features\SupportTesting\Testable::getMountedActionModalHtml(); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::fillForm() * @param \Closure|array $state - * @param string $formName - * @return static - * @static + * @param string|null $form + * @return static + * @static */ - public static function fillForm($state = [], $formName = 'form') + public static function fillForm($state = [], $form = null) { - return \Livewire\Features\SupportTesting\Testable::fillForm($state, $formName); + return \Livewire\Features\SupportTesting\Testable::fillForm($state, $form); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertFormSet() * @param \Closure|array $state - * @param string $formName - * @return static - * @static + * @param string $form + * @return static + * @static */ - public static function assertFormSet($state, $formName = 'form') + public static function assertFormSet($state, $form = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormSet($state, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormSet($state, $form); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertHasFormErrors() * @param array $keys - * @param string $formName - * @return static - * @static + * @param string|null $form + * @return static + * @static */ - public static function assertHasFormErrors($keys = [], $formName = 'form') + public static function assertHasFormErrors($keys = [], $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertHasFormErrors($keys, $formName); + return \Livewire\Features\SupportTesting\Testable::assertHasFormErrors($keys, $form); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertHasNoFormErrors() * @param array $keys - * @param string $formName - * @return static - * @static + * @param string|null $form + * @return static + * @static */ - public static function assertHasNoFormErrors($keys = [], $formName = 'form') + public static function assertHasNoFormErrors($keys = [], $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertHasNoFormErrors($keys, $formName); + return \Livewire\Features\SupportTesting\Testable::assertHasNoFormErrors($keys, $form); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertFormExists() * @param string $name - * @return static - * @static + * @return static + * @static */ public static function assertFormExists($name = 'form') { @@ -24157,223 +24931,193 @@ public static function assertFormExists($name = 'form') } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertFormComponentExists() * @param string $componentKey - * @param \Closure|string $formName + * @param \Closure|string $form * @param \Closure|null $checkComponentUsing - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentExists($componentKey, $formName = 'form', $checkComponentUsing = null) + public static function assertFormComponentExists($componentKey, $form = 'form', $checkComponentUsing = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentExists($componentKey, $formName, $checkComponentUsing); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentExists($componentKey, $form, $checkComponentUsing); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertFormComponentDoesNotExist() * @param string $componentKey - * @param string $formName - * @return static - * @static + * @param string $form + * @return static + * @static */ - public static function assertFormComponentDoesNotExist($componentKey, $formName = 'form') + public static function assertFormComponentDoesNotExist($componentKey, $form = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentDoesNotExist($componentKey, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentDoesNotExist($componentKey, $form); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertFormFieldExists() - * @param string $fieldName - * @param \Closure|string $formName + * @param string $key + * @param \Closure|string|null $form * @param \Closure|null $checkFieldUsing - * @return static - * @static + * @return static + * @static */ - public static function assertFormFieldExists($fieldName, $formName = 'form', $checkFieldUsing = null) + public static function assertFormFieldExists($key, $form = null, $checkFieldUsing = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormFieldExists($fieldName, $formName, $checkFieldUsing); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldExists($key, $form, $checkFieldUsing); } /** - * - * * @see \Filament\Forms\Testing\TestsForms::assertFormFieldDoesNotExist() - * @param string $fieldName - * @param string $formName - * @return static - * @static + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertFormFieldDoesNotExist($fieldName, $formName = 'form') + public static function assertFormFieldDoesNotExist($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormFieldDoesNotExist($fieldName, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldDoesNotExist($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::assertFormFieldIsDisabled() - * @param string $fieldName - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldDisabled() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertFormFieldIsDisabled($fieldName, $formName = 'form') + public static function assertFormFieldDisabled($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsDisabled($fieldName, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldDisabled($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::assertFormFieldIsEnabled() - * @param string $fieldName - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldDisabled() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertFormFieldIsEnabled($fieldName, $formName = 'form') + public static function assertFormFieldIsDisabled($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsEnabled($fieldName, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsDisabled($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::assertFormFieldIsReadOnly() - * @param string $fieldName - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldEnabled() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertFormFieldIsReadOnly($fieldName, $formName = 'form') + public static function assertFormFieldEnabled($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsReadOnly($fieldName, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldEnabled($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::assertFormFieldIsHidden() - * @param string $fieldName - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldEnabled() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertFormFieldIsHidden($fieldName, $formName = 'form') + public static function assertFormFieldIsEnabled($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsHidden($fieldName, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsEnabled($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::assertFormFieldIsVisible() - * @param string $fieldName - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldReadOnly() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertFormFieldIsVisible($fieldName, $formName = 'form') + public static function assertFormFieldReadOnly($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsVisible($fieldName, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldReadOnly($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::assertWizardStepExists() - * @param int $step - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldReadOnly() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertWizardStepExists($step, $formName = 'form') + public static function assertFormFieldIsReadOnly($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertWizardStepExists($step, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsReadOnly($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::assertWizardCurrentStep() - * @param int $step - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldHidden() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function assertWizardCurrentStep($step, $formName = 'form') + public static function assertFormFieldHidden($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::assertWizardCurrentStep($step, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldHidden($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::goToWizardStep() - * @param int $step - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldHidden() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function goToWizardStep($step, $formName = 'form') + public static function assertFormFieldIsHidden($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::goToWizardStep($step, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsHidden($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::goToNextWizardStep() - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldVisible() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function goToNextWizardStep($formName = 'form') + public static function assertFormFieldVisible($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::goToNextWizardStep($formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldVisible($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsForms::goToPreviousWizardStep() - * @param string $formName - * @return static - * @static + * @see \Filament\Forms\Testing\TestsForms::assertFormFieldVisible() + * @param string $key + * @param string|null $form + * @return static + * @static */ - public static function goToPreviousWizardStep($formName = 'form') + public static function assertFormFieldIsVisible($key, $form = null) { - return \Livewire\Features\SupportTesting\Testable::goToPreviousWizardStep($formName); + return \Livewire\Features\SupportTesting\Testable::assertFormFieldIsVisible($key, $form); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::mountFormComponentAction() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::mountFormComponentAction() + * @param array|string $components + * @param array|string $actions * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function mountFormComponentAction($component, $name, $arguments = [], $formName = 'form') + public static function mountFormComponentAction($components, $actions, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::mountFormComponentAction($component, $name, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::mountFormComponentAction($components, $actions, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::unmountFormComponentAction() - * @return static - * @static + * @see \Filament\Forms\Testing\TestsFormComponentActions::unmountFormComponentAction() + * @return static + * @static */ public static function unmountFormComponentAction() { @@ -24381,12 +25125,10 @@ public static function unmountFormComponentAction() } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::setFormComponentActionData() + * @see \Filament\Forms\Testing\TestsFormComponentActions::setFormComponentActionData() * @param array $data - * @return static - * @static + * @return static + * @static */ public static function setFormComponentActionData($data) { @@ -24394,12 +25136,10 @@ public static function setFormComponentActionData($data) } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionDataSet() - * @param array $data - * @return static - * @static + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionDataSet() + * @param \Closure|array $data + * @return static + * @static */ public static function assertFormComponentActionDataSet($data) { @@ -24407,29 +25147,25 @@ public static function assertFormComponentActionDataSet($data) } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::callFormComponentAction() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::callFormComponentAction() + * @param array|string $components + * @param array|string $actions * @param array $data * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function callFormComponentAction($component, $name, $data = [], $arguments = [], $formName = 'form') + public static function callFormComponentAction($components, $actions, $data = [], $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::callFormComponentAction($component, $name, $data, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::callFormComponentAction($components, $actions, $data, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::callMountedFormComponentAction() + * @see \Filament\Forms\Testing\TestsFormComponentActions::callMountedFormComponentAction() * @param array $arguments - * @return static - * @static + * @return static + * @static */ public static function callMountedFormComponentAction($arguments = []) { @@ -24437,319 +25173,279 @@ public static function callMountedFormComponentAction($arguments = []) } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionExists() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionExists() + * @param array|string $components + * @param array|string $actions * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionExists($component, $name, $formName = 'form') + public static function assertFormComponentActionExists($components, $actions, $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionExists($component, $name, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionExists($components, $actions, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionDoesNotExist() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionDoesNotExist() + * @param array|string $components + * @param array|string $actions * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionDoesNotExist($component, $name, $formName = 'form') + public static function assertFormComponentActionDoesNotExist($components, $actions, $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotExist($component, $name, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotExist($components, $actions, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionVisible() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionVisible() + * @param array|string $components + * @param array|string $actions * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionVisible($component, $name, $arguments = [], $formName = 'form') + public static function assertFormComponentActionVisible($components, $actions, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionVisible($component, $name, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionVisible($components, $actions, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionHidden() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionHidden() + * @param array|string $components + * @param array|string $actions * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionHidden($component, $name, $arguments = [], $formName = 'form') + public static function assertFormComponentActionHidden($components, $actions, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHidden($component, $name, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHidden($components, $actions, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionEnabled() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionEnabled() + * @param array|string $components + * @param array|string $actions * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionEnabled($component, $name, $arguments = [], $formName = 'form') + public static function assertFormComponentActionEnabled($components, $actions, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionEnabled($component, $name, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionEnabled($components, $actions, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionDisabled() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionDisabled() + * @param array|string $components + * @param array|string $actions * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionDisabled($component, $name, $arguments = [], $formName = 'form') + public static function assertFormComponentActionDisabled($components, $actions, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDisabled($component, $name, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDisabled($components, $actions, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionHasIcon() - * @param array|string $component - * @param array|string $name - * @param string $icon + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionHasIcon() + * @param array|string $components + * @param array|string $actions + * @param \BackedEnum|string $icon * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionHasIcon($component, $name, $icon, $arguments = [], $formName = 'form') + public static function assertFormComponentActionHasIcon($components, $actions, $icon, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasIcon($component, $name, $icon, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasIcon($components, $actions, $icon, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionDoesNotHaveIcon() - * @param array|string $component - * @param array|string $name - * @param string $icon + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionDoesNotHaveIcon() + * @param array|string $components + * @param array|string $actions + * @param \BackedEnum|string $icon * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionDoesNotHaveIcon($component, $name, $icon, $arguments = [], $formName = 'form') + public static function assertFormComponentActionDoesNotHaveIcon($components, $actions, $icon, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveIcon($component, $name, $icon, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveIcon($components, $actions, $icon, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionHasLabel() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionHasLabel() + * @param array|string $components + * @param array|string $actions * @param string $label * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionHasLabel($component, $name, $label, $arguments = [], $formName = 'form') + public static function assertFormComponentActionHasLabel($components, $actions, $label, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasLabel($component, $name, $label, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasLabel($components, $actions, $label, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionDoesNotHaveLabel() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionDoesNotHaveLabel() + * @param array|string $components + * @param array|string $actions * @param string $label * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionDoesNotHaveLabel($component, $name, $label, $arguments = [], $formName = 'form') + public static function assertFormComponentActionDoesNotHaveLabel($components, $actions, $label, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveLabel($component, $name, $label, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveLabel($components, $actions, $label, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionHasColor() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionHasColor() + * @param array|string $components + * @param array|string $actions * @param array|string $color * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionHasColor($component, $name, $color, $arguments = [], $formName = 'form') + public static function assertFormComponentActionHasColor($components, $actions, $color, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasColor($component, $name, $color, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasColor($components, $actions, $color, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionDoesNotHaveColor() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionDoesNotHaveColor() + * @param array|string $components + * @param array|string $actions * @param array|string $color * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionDoesNotHaveColor($component, $name, $color, $arguments = [], $formName = 'form') + public static function assertFormComponentActionDoesNotHaveColor($components, $actions, $color, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveColor($component, $name, $color, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveColor($components, $actions, $color, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionHasUrl() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionHasUrl() + * @param array|string $components + * @param array|string $actions * @param string $url * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionHasUrl($component, $name, $url, $arguments = [], $formName = 'form') + public static function assertFormComponentActionHasUrl($components, $actions, $url, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasUrl($component, $name, $url, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHasUrl($components, $actions, $url, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionDoesNotHaveUrl() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionDoesNotHaveUrl() + * @param array|string $components + * @param array|string $actions * @param string $url * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionDoesNotHaveUrl($component, $name, $url, $arguments = [], $formName = 'form') + public static function assertFormComponentActionDoesNotHaveUrl($components, $actions, $url, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveUrl($component, $name, $url, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionDoesNotHaveUrl($components, $actions, $url, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionShouldOpenUrlInNewTab() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionShouldOpenUrlInNewTab() + * @param array|string $components + * @param array|string $actions * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionShouldOpenUrlInNewTab($component, $name, $arguments = [], $formName = 'form') + public static function assertFormComponentActionShouldOpenUrlInNewTab($components, $actions, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionShouldOpenUrlInNewTab($component, $name, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionShouldOpenUrlInNewTab($components, $actions, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionShouldNotOpenUrlInNewTab() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionShouldNotOpenUrlInNewTab() + * @param array|string $components + * @param array|string $actions * @param array $arguments * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionShouldNotOpenUrlInNewTab($component, $name, $arguments = [], $formName = 'form') + public static function assertFormComponentActionShouldNotOpenUrlInNewTab($components, $actions, $arguments = [], $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionShouldNotOpenUrlInNewTab($component, $name, $arguments, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionShouldNotOpenUrlInNewTab($components, $actions, $arguments, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionMounted() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionMounted() + * @param array|string $components + * @param array|string $actions * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionMounted($component, $name, $formName = 'form') + public static function assertFormComponentActionMounted($components, $actions, $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionMounted($component, $name, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionMounted($components, $actions, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionNotMounted() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionNotMounted() + * @param array|string $components + * @param array|string $actions * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionNotMounted($component, $name, $formName = 'form') + public static function assertFormComponentActionNotMounted($components, $actions, $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionNotMounted($component, $name, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionNotMounted($components, $actions, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertFormComponentActionMounted() - * @param array|string $component - * @param array|string $name + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertFormComponentActionMounted() + * @param array|string $components + * @param array|string $actions * @param string $formName - * @return static - * @static + * @return static + * @static */ - public static function assertFormComponentActionHalted($component, $name, $formName = 'form') + public static function assertFormComponentActionHalted($components, $actions, $formName = 'form') { - return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHalted($component, $name, $formName); + return \Livewire\Features\SupportTesting\Testable::assertFormComponentActionHalted($components, $actions, $formName); } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertHasFormComponentActionErrors() + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertHasFormComponentActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasFormComponentActionErrors($keys = []) { @@ -24757,12 +25453,10 @@ public static function assertHasFormComponentActionErrors($keys = []) } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::assertHasNoFormComponentActionErrors() + * @see \Filament\Forms\Testing\TestsFormComponentActions::assertHasNoFormComponentActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasNoFormComponentActionErrors($keys = []) { @@ -24770,57 +25464,36 @@ public static function assertHasNoFormComponentActionErrors($keys = []) } /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::getNestedFormComponentActionComponentAndName() - * @param array|string $component - * @param array|string $name - * @param string $formName + * @see \Filament\Forms\Testing\TestsFormComponentActions::parseNestedFormComponentActions() + * @param array|string $components + * @param array|string $actions + * @param string $form * @param array $arguments - * @return array - * @static - */ - public static function getNestedFormComponentActionComponentAndName($component, $name, $formName = 'form', $arguments = []) - { - return \Livewire\Features\SupportTesting\Testable::getNestedFormComponentActionComponentAndName($component, $name, $formName, $arguments); - } - - /** - * - * - * @see \Filament\Forms\Testing\TestsComponentActions::parseNestedFormComponentActionComponentAndName() - * @param array|string $component - * @param array|string $name - * @param string $formName - * @return array - * @static + * @return array + * @static */ - public static function parseNestedFormComponentActionComponentAndName($component, $name, $formName = 'form') + public static function parseNestedFormComponentActions($components, $actions, $form, $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::parseNestedFormComponentActionComponentAndName($component, $name, $formName); + return \Livewire\Features\SupportTesting\Testable::parseNestedFormComponentActions($components, $actions, $form, $arguments); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::mountInfolistAction() + * @see \Filament\Infolists\Testing\TestsInfolistActions::mountInfolistAction() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function mountInfolistAction($component, $name, $infolistName = 'infolist') + public static function mountInfolistAction($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::mountInfolistAction($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::mountInfolistAction($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::unmountInfolistAction() - * @return static - * @static + * @see \Filament\Infolists\Testing\TestsInfolistActions::unmountInfolistAction() + * @return static + * @static */ public static function unmountInfolistAction() { @@ -24828,12 +25501,10 @@ public static function unmountInfolistAction() } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::setInfolistActionData() + * @see \Filament\Infolists\Testing\TestsInfolistActions::setInfolistActionData() * @param array $data - * @return static - * @static + * @return static + * @static */ public static function setInfolistActionData($data) { @@ -24841,12 +25512,10 @@ public static function setInfolistActionData($data) } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionDataSet() - * @param array $data - * @return static - * @static + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionDataSet() + * @param \Closure|array $data + * @return static + * @static */ public static function assertInfolistActionDataSet($data) { @@ -24854,29 +25523,25 @@ public static function assertInfolistActionDataSet($data) } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::callInfolistAction() + * @see \Filament\Infolists\Testing\TestsInfolistActions::callInfolistAction() * @param string $component - * @param array|string $name + * @param array|string $actions * @param array $data * @param array $arguments - * @param string $infolistName - * @return static - * @static + * @param string $schema + * @return static + * @static */ - public static function callInfolistAction($component, $name, $data = [], $arguments = [], $infolistName = 'infolist') + public static function callInfolistAction($component, $actions, $data = [], $arguments = [], $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::callInfolistAction($component, $name, $data, $arguments, $infolistName); + return \Livewire\Features\SupportTesting\Testable::callInfolistAction($component, $actions, $data, $arguments, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::callMountedInfolistAction() + * @see \Filament\Infolists\Testing\TestsInfolistActions::callMountedInfolistAction() * @param array $arguments - * @return static - * @static + * @return static + * @static */ public static function callMountedInfolistAction($arguments = []) { @@ -24884,305 +25549,265 @@ public static function callMountedInfolistAction($arguments = []) } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionExists() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionExists() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionExists($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionExists($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionExists($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionExists($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionDoesNotExist() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionDoesNotExist() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionDoesNotExist($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionDoesNotExist($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotExist($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotExist($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionVisible() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionVisible() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionVisible($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionVisible($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionVisible($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionVisible($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionHidden() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionHidden() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionHidden($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionHidden($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHidden($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHidden($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionEnabled() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionEnabled() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionEnabled($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionEnabled($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionEnabled($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionEnabled($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionDisabled() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionDisabled() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionDisabled($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionDisabled($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDisabled($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDisabled($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionHasIcon() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionHasIcon() * @param string $component - * @param array|string $name - * @param string $icon - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param \BackedEnum|string $icon + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionHasIcon($component, $name, $icon, $infolistName = 'infolist') + public static function assertInfolistActionHasIcon($component, $actions, $icon, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasIcon($component, $name, $icon, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasIcon($component, $actions, $icon, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionDoesNotHaveIcon() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionDoesNotHaveIcon() * @param string $component - * @param array|string $name - * @param string $icon - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param \BackedEnum|string $icon + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionDoesNotHaveIcon($component, $name, $icon, $infolistName = 'infolist') + public static function assertInfolistActionDoesNotHaveIcon($component, $actions, $icon, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveIcon($component, $name, $icon, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveIcon($component, $actions, $icon, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionHasLabel() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionHasLabel() * @param string $component - * @param array|string $name + * @param array|string $actions * @param string $label - * @param string $infolistName - * @return static - * @static + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionHasLabel($component, $name, $label, $infolistName = 'infolist') + public static function assertInfolistActionHasLabel($component, $actions, $label, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasLabel($component, $name, $label, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasLabel($component, $actions, $label, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionDoesNotHaveLabel() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionDoesNotHaveLabel() * @param string $component - * @param array|string $name + * @param array|string $actions * @param string $label - * @param string $infolistName - * @return static - * @static + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionDoesNotHaveLabel($component, $name, $label, $infolistName = 'infolist') + public static function assertInfolistActionDoesNotHaveLabel($component, $actions, $label, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveLabel($component, $name, $label, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveLabel($component, $actions, $label, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionHasColor() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionHasColor() * @param string $component - * @param array|string $name + * @param array|string $actions * @param array|string $color - * @param string $infolistName - * @return static - * @static + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionHasColor($component, $name, $color, $infolistName = 'infolist') + public static function assertInfolistActionHasColor($component, $actions, $color, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasColor($component, $name, $color, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasColor($component, $actions, $color, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionDoesNotHaveColor() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionDoesNotHaveColor() * @param string $component - * @param array|string $name + * @param array|string $actions * @param array|string $color - * @param string $infolistName - * @return static - * @static + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionDoesNotHaveColor($component, $name, $color, $infolistName = 'infolist') + public static function assertInfolistActionDoesNotHaveColor($component, $actions, $color, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveColor($component, $name, $color, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveColor($component, $actions, $color, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionHasUrl() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionHasUrl() * @param string $component - * @param array|string $name + * @param array|string $actions * @param string $url - * @param string $infolistName - * @return static - * @static + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionHasUrl($component, $name, $url, $infolistName = 'infolist') + public static function assertInfolistActionHasUrl($component, $actions, $url, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasUrl($component, $name, $url, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHasUrl($component, $actions, $url, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionDoesNotHaveUrl() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionDoesNotHaveUrl() * @param string $component - * @param array|string $name + * @param array|string $actions * @param string $url - * @param string $infolistName - * @return static - * @static + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionDoesNotHaveUrl($component, $name, $url, $infolistName = 'infolist') + public static function assertInfolistActionDoesNotHaveUrl($component, $actions, $url, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveUrl($component, $name, $url, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionDoesNotHaveUrl($component, $actions, $url, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionShouldOpenUrlInNewTab() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionShouldOpenUrlInNewTab() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionShouldOpenUrlInNewTab($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionShouldOpenUrlInNewTab($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionShouldOpenUrlInNewTab($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionShouldOpenUrlInNewTab($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionShouldNotOpenUrlInNewTab() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionShouldNotOpenUrlInNewTab() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionShouldNotOpenUrlInNewTab($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionShouldNotOpenUrlInNewTab($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionShouldNotOpenUrlInNewTab($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionShouldNotOpenUrlInNewTab($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionMounted() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionMounted() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionMounted($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionMounted($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionMounted($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionMounted($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionNotMounted() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionNotMounted() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionNotMounted($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionNotMounted($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionNotMounted($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionNotMounted($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertInfolistActionMounted() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertInfolistActionMounted() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return static - * @static + * @param array|string $actions + * @param string $schema + * @return static + * @static */ - public static function assertInfolistActionHalted($component, $name, $infolistName = 'infolist') + public static function assertInfolistActionHalted($component, $actions, $schema = 'infolist') { - return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHalted($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::assertInfolistActionHalted($component, $actions, $schema); } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertHasInfolistActionErrors() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertHasInfolistActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasInfolistActionErrors($keys = []) { @@ -25190,12 +25815,10 @@ public static function assertHasInfolistActionErrors($keys = []) } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::assertHasNoInfolistActionErrors() + * @see \Filament\Infolists\Testing\TestsInfolistActions::assertHasNoInfolistActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasNoInfolistActionErrors($keys = []) { @@ -25203,27 +25826,24 @@ public static function assertHasNoInfolistActionErrors($keys = []) } /** - * - * - * @see \Filament\Infolists\Testing\TestsActions::getNestedInfolistActionComponentAndName() + * @see \Filament\Infolists\Testing\TestsInfolistActions::parseNestedInfolistActions() * @param string $component - * @param array|string $name - * @param string $infolistName - * @return array - * @static + * @param array|string $actions + * @param string $infolist + * @param array $arguments + * @return array + * @static */ - public static function getNestedInfolistActionComponentAndName($component, $name, $infolistName = 'infolist') + public static function parseNestedInfolistActions($component, $actions, $infolist, $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::getNestedInfolistActionComponentAndName($component, $name, $infolistName); + return \Livewire\Features\SupportTesting\Testable::parseNestedInfolistActions($component, $actions, $infolist, $arguments); } /** - * - * * @see \Filament\Notifications\Testing\TestsNotifications::assertNotified() * @param \Filament\Notifications\Notification|string|null $notification - * @return static - * @static + * @return static + * @static */ public static function assertNotified($notification = null) { @@ -25231,12 +25851,10 @@ public static function assertNotified($notification = null) } /** - * - * * @see \Filament\Notifications\Testing\TestsNotifications::assertNotNotified() * @param \Filament\Notifications\Notification|string|null $notification - * @return static - * @static + * @return static + * @static */ public static function assertNotNotified($notification = null) { @@ -25244,25 +25862,177 @@ public static function assertNotNotified($notification = null) } /** - * - * + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaComponentExists() + * @param string $key + * @param string|null $schema + * @param \Closure|null $checkComponentUsing + * @return static + * @static + */ + public static function assertSchemaComponentExists($key, $schema = null, $checkComponentUsing = null) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaComponentExists($key, $schema, $checkComponentUsing); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaComponentDoesNotExist() + * @param string $key + * @param string|null $schema + * @return static + * @static + */ + public static function assertSchemaComponentDoesNotExist($key, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaComponentDoesNotExist($key, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaComponentVisible() + * @param string $key + * @param string|null $schema + * @return static + * @static + */ + public static function assertSchemaComponentVisible($key, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaComponentVisible($key, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaComponentHidden() + * @param string $key + * @param string|null $schema + * @return static + * @static + */ + public static function assertSchemaComponentHidden($key, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaComponentHidden($key, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaExists() + * @param string $name + * @return static + * @static + */ + public static function assertSchemaExists($name) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaExists($name); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaStateSet() + * @param \Closure|array $state + * @param string|null $schema + * @return static + * @static + */ + public static function assertSchemaStateSet($state, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaStateSet($state, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaComponentStateSet() + * @param string $key + * @param mixed|null $state + * @param string|null $schema + * @return static + * @static + */ + public static function assertSchemaComponentStateSet($key, $state, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaComponentStateSet($key, $state, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertSchemaComponentStateNotSet() + * @param string $key + * @param mixed|null $state + * @param string|null $schema + * @return static + * @static + */ + public static function assertSchemaComponentStateNotSet($key, $state, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertSchemaComponentStateNotSet($key, $state, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertWizardStepExists() + * @param int $step + * @param string|null $schema + * @return static + * @static + */ + public static function assertWizardStepExists($step, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertWizardStepExists($step, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::assertWizardCurrentStep() + * @param int $step + * @param string|null $schema + * @return static + * @static + */ + public static function assertWizardCurrentStep($step, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::assertWizardCurrentStep($step, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::goToWizardStep() + * @param int $step + * @param string|null $schema + * @return static + * @static + */ + public static function goToWizardStep($step, $schema = null) + { + return \Livewire\Features\SupportTesting\Testable::goToWizardStep($step, $schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::goToNextWizardStep() + * @param string|null $schema + * @return static + * @static + */ + public static function goToNextWizardStep($schema = null) + { + return \Livewire\Features\SupportTesting\Testable::goToNextWizardStep($schema); + } + + /** + * @see \Filament\Schemas\Testing\TestsSchemas::goToPreviousWizardStep() + * @param string|null $schema + * @return static + * @static + */ + public static function goToPreviousWizardStep($schema = null) + { + return \Livewire\Features\SupportTesting\Testable::goToPreviousWizardStep($schema); + } + + /** * @see \Filament\Tables\Testing\TestsActions::mountTableAction() - * @param array|string $name + * @param array|string $actions * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function mountTableAction($name, $record = null) + public static function mountTableAction($actions, $record = null) { - return \Livewire\Features\SupportTesting\Testable::mountTableAction($name, $record); + return \Livewire\Features\SupportTesting\Testable::mountTableAction($actions, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::unmountTableAction() - * @return static - * @static + * @return static + * @static */ public static function unmountTableAction() { @@ -25270,12 +26040,10 @@ public static function unmountTableAction() } /** - * - * * @see \Filament\Tables\Testing\TestsActions::setTableActionData() * @param array $data - * @return static - * @static + * @return static + * @static */ public static function setTableActionData($data) { @@ -25283,41 +26051,35 @@ public static function setTableActionData($data) } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionDataSet() - * @param \Closure|array $state - * @return static - * @static + * @param \Closure|array $data + * @return static + * @static */ - public static function assertTableActionDataSet($state) + public static function assertTableActionDataSet($data) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionDataSet($state); + return \Livewire\Features\SupportTesting\Testable::assertTableActionDataSet($data); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::callTableAction() - * @param array|string $name + * @param array|string $actions * @param mixed $record * @param array $data * @param array $arguments - * @return static - * @static + * @return static + * @static */ - public static function callTableAction($name, $record = null, $data = [], $arguments = []) + public static function callTableAction($actions, $record = null, $data = [], $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::callTableAction($name, $record, $data, $arguments); + return \Livewire\Features\SupportTesting\Testable::callTableAction($actions, $record, $data, $arguments); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::callMountedTableAction() * @param array $arguments - * @return static - * @static + * @return static + * @static */ public static function callMountedTableAction($arguments = []) { @@ -25325,42 +26087,36 @@ public static function callMountedTableAction($arguments = []) } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionExists() - * @param array|string $name + * @param array|string $actions * @param \Closure|null $checkActionUsing * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionExists($name, $checkActionUsing = null, $record = null) + public static function assertTableActionExists($actions, $checkActionUsing = null, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionExists($name, $checkActionUsing, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionExists($actions, $checkActionUsing, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionDoesNotExist() - * @param array|string $name + * @param array|string $actions * @param \Closure|null $checkActionUsing * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionDoesNotExist($name, $checkActionUsing = null, $record = null) + public static function assertTableActionDoesNotExist($actions, $checkActionUsing = null, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotExist($name, $checkActionUsing, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotExist($actions, $checkActionUsing, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionsExistInOrder() * @param array $names - * @return static - * @static + * @return static + * @static */ public static function assertTableActionsExistInOrder($names) { @@ -25368,12 +26124,10 @@ public static function assertTableActionsExistInOrder($names) } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableHeaderActionsExistInOrder() * @param array $names - * @return static - * @static + * @return static + * @static */ public static function assertTableHeaderActionsExistInOrder($names) { @@ -25381,12 +26135,10 @@ public static function assertTableHeaderActionsExistInOrder($names) } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableEmptyStateActionsExistInOrder() * @param array $names - * @return static - * @static + * @return static + * @static */ public static function assertTableEmptyStateActionsExistInOrder($names) { @@ -25394,268 +26146,230 @@ public static function assertTableEmptyStateActionsExistInOrder($names) } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionVisible() - * @param array|string $name + * @param array|string $actions * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionVisible($name, $record = null) + public static function assertTableActionVisible($actions, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionVisible($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionVisible($actions, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionHidden() - * @param array|string $name + * @param array|string $actions * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionHidden($name, $record = null) + public static function assertTableActionHidden($actions, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionHidden($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionHidden($actions, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionEnabled() - * @param array|string $name + * @param array|string $actions * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionEnabled($name, $record = null) + public static function assertTableActionEnabled($actions, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionEnabled($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionEnabled($actions, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionDisabled() - * @param array|string $name + * @param array|string $actions * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionDisabled($name, $record = null) + public static function assertTableActionDisabled($actions, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionDisabled($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionDisabled($actions, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionHasIcon() - * @param array|string $name - * @param string $icon + * @param array|string $actions + * @param \BackedEnum|string $icon * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionHasIcon($name, $icon, $record = null) + public static function assertTableActionHasIcon($actions, $icon, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionHasIcon($name, $icon, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionHasIcon($actions, $icon, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionDoesNotHaveIcon() - * @param array|string $name - * @param string $icon + * @param array|string $actions + * @param \BackedEnum|string $icon * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionDoesNotHaveIcon($name, $icon, $record = null) + public static function assertTableActionDoesNotHaveIcon($actions, $icon, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveIcon($name, $icon, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveIcon($actions, $icon, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionHasLabel() - * @param array|string $name + * @param array|string $actions * @param string $label * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionHasLabel($name, $label, $record = null) + public static function assertTableActionHasLabel($actions, $label, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionHasLabel($name, $label, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionHasLabel($actions, $label, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionDoesNotHaveLabel() - * @param array|string $name + * @param array|string $actions * @param string $label * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionDoesNotHaveLabel($name, $label, $record = null) + public static function assertTableActionDoesNotHaveLabel($actions, $label, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveLabel($name, $label, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveLabel($actions, $label, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionHasColor() - * @param array|string $name + * @param array|string $actions * @param array|string $color * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionHasColor($name, $color, $record = null) + public static function assertTableActionHasColor($actions, $color, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionHasColor($name, $color, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionHasColor($actions, $color, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionDoesNotHaveColor() - * @param array|string $name + * @param array|string $actions * @param array|string $color * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionDoesNotHaveColor($name, $color, $record = null) + public static function assertTableActionDoesNotHaveColor($actions, $color, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveColor($name, $color, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveColor($actions, $color, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionHasUrl() - * @param array|string $name + * @param array|string $actions * @param string $url * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionHasUrl($name, $url, $record = null) + public static function assertTableActionHasUrl($actions, $url, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionHasUrl($name, $url, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionHasUrl($actions, $url, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionDoesNotHaveUrl() - * @param array|string $name + * @param array|string $actions * @param string $url * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionDoesNotHaveUrl($name, $url, $record = null) + public static function assertTableActionDoesNotHaveUrl($actions, $url, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveUrl($name, $url, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionDoesNotHaveUrl($actions, $url, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionShouldOpenUrlInNewTab() - * @param array|string $name + * @param array|string $actions * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionShouldOpenUrlInNewTab($name, $record = null) + public static function assertTableActionShouldOpenUrlInNewTab($actions, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionShouldOpenUrlInNewTab($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionShouldOpenUrlInNewTab($actions, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionShouldNotOpenUrlInNewTab() - * @param array|string $name + * @param array|string $actions * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableActionShouldNotOpenUrlInNewTab($name, $record = null) + public static function assertTableActionShouldNotOpenUrlInNewTab($actions, $record = null) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionShouldNotOpenUrlInNewTab($name, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableActionShouldNotOpenUrlInNewTab($actions, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionMounted() - * @param array|string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableActionMounted($name) + public static function assertTableActionMounted($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionMounted($name); + return \Livewire\Features\SupportTesting\Testable::assertTableActionMounted($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionNotMounted() - * @param array|string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableActionNotMounted($name) + public static function assertTableActionNotMounted($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionNotMounted($name); + return \Livewire\Features\SupportTesting\Testable::assertTableActionNotMounted($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionMounted() - * @param array|string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableActionHalted($name) + public static function assertTableActionHalted($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionHalted($name); + return \Livewire\Features\SupportTesting\Testable::assertTableActionHalted($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertTableActionMounted() - * @param array|string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableActionHeld($name) + public static function assertTableActionHeld($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableActionHeld($name); + return \Livewire\Features\SupportTesting\Testable::assertTableActionHeld($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertHasTableActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasTableActionErrors($keys = []) { @@ -25663,12 +26377,10 @@ public static function assertHasTableActionErrors($keys = []) } /** - * - * * @see \Filament\Tables\Testing\TestsActions::assertHasNoTableActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasNoTableActionErrors($keys = []) { @@ -25676,26 +26388,46 @@ public static function assertHasNoTableActionErrors($keys = []) } /** - * - * + * @see \Filament\Tables\Testing\TestsActions::parseNestedTableActions() + * @param array|string $actions + * @param mixed $record + * @param array $arguments + * @return array + * @static + */ + public static function parseNestedTableActions($actions, $record = null, $arguments = []) + { + return \Livewire\Features\SupportTesting\Testable::parseNestedTableActions($actions, $record, $arguments); + } + + /** + * @see \Filament\Tables\Testing\TestsBulkActions::selectTableRecords() + * @param \Illuminate\Support\Collection|array $records + * @return static + * @static + */ + public static function selectTableRecords($records) + { + return \Livewire\Features\SupportTesting\Testable::selectTableRecords($records); + } + + /** * @see \Filament\Tables\Testing\TestsBulkActions::mountTableBulkAction() - * @param string $name + * @param array|string $actions * @param \Illuminate\Support\Collection|array $records - * @return static - * @static + * @return static + * @static */ - public static function mountTableBulkAction($name, $records) + public static function mountTableBulkAction($actions, $records) { - return \Livewire\Features\SupportTesting\Testable::mountTableBulkAction($name, $records); + return \Livewire\Features\SupportTesting\Testable::mountTableBulkAction($actions, $records); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::setTableBulkActionData() * @param array $data - * @return static - * @static + * @return static + * @static */ public static function setTableBulkActionData($data) { @@ -25703,41 +26435,35 @@ public static function setTableBulkActionData($data) } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionDataSet() - * @param \Closure|array $state - * @return static - * @static + * @param \Closure|array $data + * @return static + * @static */ - public static function assertTableBulkActionDataSet($state) + public static function assertTableBulkActionDataSet($data) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDataSet($state); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDataSet($data); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::callTableBulkAction() - * @param string $name + * @param array|string $actions * @param \Illuminate\Support\Collection|array $records * @param array $data * @param array $arguments - * @return static - * @static + * @return static + * @static */ - public static function callTableBulkAction($name, $records, $data = [], $arguments = []) + public static function callTableBulkAction($actions, $records, $data = [], $arguments = []) { - return \Livewire\Features\SupportTesting\Testable::callTableBulkAction($name, $records, $data, $arguments); + return \Livewire\Features\SupportTesting\Testable::callTableBulkAction($actions, $records, $data, $arguments); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::callMountedTableBulkAction() * @param array $arguments - * @return static - * @static + * @return static + * @static */ public static function callMountedTableBulkAction($arguments = []) { @@ -25745,38 +26471,32 @@ public static function callMountedTableBulkAction($arguments = []) } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionExists() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionExists($name) + public static function assertTableBulkActionExists($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionExists($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionExists($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionDoesNotExist() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionDoesNotExist($name) + public static function assertTableBulkActionDoesNotExist($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotExist($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotExist($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionsExistInOrder() * @param array $names - * @return static - * @static + * @return static + * @static */ public static function assertTableBulkActionsExistInOrder($names) { @@ -25784,206 +26504,170 @@ public static function assertTableBulkActionsExistInOrder($names) } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionVisible() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionVisible($name) + public static function assertTableBulkActionVisible($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionVisible($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionVisible($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionHidden() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionHidden($name) + public static function assertTableBulkActionHidden($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHidden($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHidden($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionEnabled() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionEnabled($name) + public static function assertTableBulkActionEnabled($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionEnabled($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionEnabled($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionDisabled() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionDisabled($name) + public static function assertTableBulkActionDisabled($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDisabled($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDisabled($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionHasIcon() - * @param string $name - * @param string $icon - * @param mixed $record - * @return static - * @static + * @param array|string $actions + * @param \BackedEnum|string $icon + * @return static + * @static */ - public static function assertTableBulkActionHasIcon($name, $icon, $record = null) + public static function assertTableBulkActionHasIcon($actions, $icon) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHasIcon($name, $icon, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHasIcon($actions, $icon); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionDoesNotHaveIcon() - * @param string $name - * @param string $icon - * @param mixed $record - * @return static - * @static + * @param array|string $actions + * @param \BackedEnum|string $icon + * @return static + * @static */ - public static function assertTableBulkActionDoesNotHaveIcon($name, $icon, $record = null) + public static function assertTableBulkActionDoesNotHaveIcon($actions, $icon) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotHaveIcon($name, $icon, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotHaveIcon($actions, $icon); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionHasLabel() - * @param string $name + * @param array|string $actions * @param string $label - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableBulkActionHasLabel($name, $label, $record = null) + public static function assertTableBulkActionHasLabel($actions, $label) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHasLabel($name, $label, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHasLabel($actions, $label); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionDoesNotHaveLabel() - * @param string $name + * @param array|string $actions * @param string $label - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableBulkActionDoesNotHaveLabel($name, $label, $record = null) + public static function assertTableBulkActionDoesNotHaveLabel($actions, $label) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotHaveLabel($name, $label, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotHaveLabel($actions, $label); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionHasColor() - * @param string $name + * @param array|string $actions * @param array|string $color - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableBulkActionHasColor($name, $color, $record = null) + public static function assertTableBulkActionHasColor($actions, $color) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHasColor($name, $color, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHasColor($actions, $color); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionDoesNotHaveColor() - * @param string $name + * @param array|string $actions * @param array|string $color - * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableBulkActionDoesNotHaveColor($name, $color, $record = null) + public static function assertTableBulkActionDoesNotHaveColor($actions, $color) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotHaveColor($name, $color, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionDoesNotHaveColor($actions, $color); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionMounted() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionMounted($name) + public static function assertTableBulkActionMounted($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionMounted($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionMounted($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionNotMounted() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionNotMounted($name) + public static function assertTableBulkActionNotMounted($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionNotMounted($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionNotMounted($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionMounted() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionHalted($name) + public static function assertTableBulkActionHalted($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHalted($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHalted($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertTableBulkActionMounted() - * @param string $name - * @return static - * @static + * @param array|string $actions + * @return static + * @static */ - public static function assertTableBulkActionHeld($name) + public static function assertTableBulkActionHeld($actions) { - return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHeld($name); + return \Livewire\Features\SupportTesting\Testable::assertTableBulkActionHeld($actions); } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertHasTableBulkActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasTableBulkActionErrors($keys = []) { @@ -25991,12 +26675,10 @@ public static function assertHasTableBulkActionErrors($keys = []) } /** - * - * * @see \Filament\Tables\Testing\TestsBulkActions::assertHasNoTableBulkActionErrors() * @param array $keys - * @return static - * @static + * @return static + * @static */ public static function assertHasNoTableBulkActionErrors($keys = []) { @@ -26004,12 +26686,21 @@ public static function assertHasNoTableBulkActionErrors($keys = []) } /** - * - * + * @see \Filament\Tables\Testing\TestsBulkActions::parseNestedTableBulkActions() + * @param array|string $actions + * @return array + * @static + */ + public static function parseNestedTableBulkActions($actions) + { + return \Livewire\Features\SupportTesting\Testable::parseNestedTableBulkActions($actions); + } + + /** * @see \Filament\Tables\Testing\TestsColumns::assertCanRenderTableColumn() * @param string $name - * @return static - * @static + * @return static + * @static */ public static function assertCanRenderTableColumn($name) { @@ -26017,12 +26708,10 @@ public static function assertCanRenderTableColumn($name) } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertCanNotRenderTableColumn() * @param string $name - * @return static - * @static + * @return static + * @static */ public static function assertCanNotRenderTableColumn($name) { @@ -26030,14 +26719,23 @@ public static function assertCanNotRenderTableColumn($name) } /** - * - * + * @see \Filament\Tables\Testing\TestsColumns::assertTableRecordKeyExists() + * @param string|null $recordKey + * @return static + * @static + */ + public static function assertTableRecordKeyExists($recordKey) + { + return \Livewire\Features\SupportTesting\Testable::assertTableRecordKeyExists($recordKey); + } + + /** * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnExists() * @param string $name * @param \Closure|null $checkColumnUsing * @param mixed $record - * @return static - * @static + * @return static + * @static */ public static function assertTableColumnExists($name, $checkColumnUsing = null, $record = null) { @@ -26045,14 +26743,12 @@ public static function assertTableColumnExists($name, $checkColumnUsing = null, } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnDoesNotExist() * @param string $name * @param \Closure|null $checkColumnUsing * @param mixed $record - * @return static - * @static + * @return static + * @static */ public static function assertTableColumnDoesNotExist($name, $checkColumnUsing = null, $record = null) { @@ -26060,12 +26756,10 @@ public static function assertTableColumnDoesNotExist($name, $checkColumnUsing = } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnVisible() * @param string $name - * @return static - * @static + * @return static + * @static */ public static function assertTableColumnVisible($name) { @@ -26073,12 +26767,10 @@ public static function assertTableColumnVisible($name) } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnHidden() * @param string $name - * @return static - * @static + * @return static + * @static */ public static function assertTableColumnHidden($name) { @@ -26086,73 +26778,63 @@ public static function assertTableColumnHidden($name) } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnStateSet() * @param string $name - * @param mixed $value + * @param mixed $state * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableColumnStateSet($name, $value, $record) + public static function assertTableColumnStateSet($name, $state, $record) { - return \Livewire\Features\SupportTesting\Testable::assertTableColumnStateSet($name, $value, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableColumnStateSet($name, $state, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnStateNotSet() * @param string $name - * @param mixed $value + * @param mixed $state * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableColumnStateNotSet($name, $value, $record) + public static function assertTableColumnStateNotSet($name, $state, $record) { - return \Livewire\Features\SupportTesting\Testable::assertTableColumnStateNotSet($name, $value, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableColumnStateNotSet($name, $state, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnFormattedStateSet() * @param string $name - * @param mixed $value + * @param mixed $state * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableColumnFormattedStateSet($name, $value, $record) + public static function assertTableColumnFormattedStateSet($name, $state, $record) { - return \Livewire\Features\SupportTesting\Testable::assertTableColumnFormattedStateSet($name, $value, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableColumnFormattedStateSet($name, $state, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnFormattedStateNotSet() * @param string $name - * @param mixed $value + * @param mixed $state * @param mixed $record - * @return static - * @static + * @return static + * @static */ - public static function assertTableColumnFormattedStateNotSet($name, $value, $record) + public static function assertTableColumnFormattedStateNotSet($name, $state, $record) { - return \Livewire\Features\SupportTesting\Testable::assertTableColumnFormattedStateNotSet($name, $value, $record); + return \Livewire\Features\SupportTesting\Testable::assertTableColumnFormattedStateNotSet($name, $state, $record); } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnHasExtraAttributes() * @param string $name * @param array $attributes * @param mixed $record - * @static + * @static */ public static function assertTableColumnHasExtraAttributes($name, $attributes, $record) { @@ -26160,13 +26842,11 @@ public static function assertTableColumnHasExtraAttributes($name, $attributes, $ } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnDoesNotHaveExtraAttributes() * @param string $name * @param array $attributes * @param mixed $record - * @static + * @static */ public static function assertTableColumnDoesNotHaveExtraAttributes($name, $attributes, $record) { @@ -26174,14 +26854,12 @@ public static function assertTableColumnDoesNotHaveExtraAttributes($name, $attri } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnHasDescription() * @param string $name * @param mixed $description * @param mixed $record * @param string $position - * @static + * @static */ public static function assertTableColumnHasDescription($name, $description, $record, $position = 'below') { @@ -26189,14 +26867,12 @@ public static function assertTableColumnHasDescription($name, $description, $rec } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableColumnDoesNotHaveDescription() * @param string $name * @param mixed $description * @param mixed $record * @param string $position - * @static + * @static */ public static function assertTableColumnDoesNotHaveDescription($name, $description, $record, $position = 'below') { @@ -26204,13 +26880,11 @@ public static function assertTableColumnDoesNotHaveDescription($name, $descripti } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableSelectColumnHasOptions() * @param string $name * @param array $options * @param mixed $record - * @static + * @static */ public static function assertTableSelectColumnHasOptions($name, $options, $record) { @@ -26218,13 +26892,11 @@ public static function assertTableSelectColumnHasOptions($name, $options, $recor } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::assertTableSelectColumnDoesNotHaveOptions() * @param string $name * @param array $options * @param mixed $record - * @static + * @static */ public static function assertTableSelectColumnDoesNotHaveOptions($name, $options, $record) { @@ -26232,13 +26904,11 @@ public static function assertTableSelectColumnDoesNotHaveOptions($name, $options } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::callTableColumnAction() * @param string $name * @param mixed $record - * @return static - * @static + * @return static + * @static */ public static function callTableColumnAction($name, $record = null) { @@ -26246,13 +26916,11 @@ public static function callTableColumnAction($name, $record = null) } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::sortTable() * @param string|null $name * @param string|null $direction - * @return static - * @static + * @return static + * @static */ public static function sortTable($name = null, $direction = null) { @@ -26260,12 +26928,10 @@ public static function sortTable($name = null, $direction = null) } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::searchTable() * @param string|null $search - * @return static - * @static + * @return static + * @static */ public static function searchTable($search = null) { @@ -26273,12 +26939,10 @@ public static function searchTable($search = null) } /** - * - * * @see \Filament\Tables\Testing\TestsColumns::searchTableColumns() * @param array $searches - * @return static - * @static + * @return static + * @static */ public static function searchTableColumns($searches) { @@ -26286,13 +26950,22 @@ public static function searchTableColumns($searches) } /** - * - * + * @see \Filament\Tables\Testing\TestsColumns::toggleAllTableColumns() + * @param bool $condition + * @return static + * @static + */ + public static function toggleAllTableColumns($condition = true) + { + return \Livewire\Features\SupportTesting\Testable::toggleAllTableColumns($condition); + } + + /** * @see \Filament\Tables\Testing\TestsFilters::filterTable() * @param string $name * @param mixed $data - * @return static - * @static + * @return static + * @static */ public static function filterTable($name, $data = null) { @@ -26300,11 +26973,9 @@ public static function filterTable($name, $data = null) } /** - * - * * @see \Filament\Tables\Testing\TestsFilters::resetTableFilters() - * @return static - * @static + * @return static + * @static */ public static function resetTableFilters() { @@ -26312,13 +26983,11 @@ public static function resetTableFilters() } /** - * - * * @see \Filament\Tables\Testing\TestsFilters::removeTableFilter() * @param string $filter * @param string|null $field - * @return static - * @static + * @return static + * @static */ public static function removeTableFilter($filter, $field = null) { @@ -26326,11 +26995,9 @@ public static function removeTableFilter($filter, $field = null) } /** - * - * * @see \Filament\Tables\Testing\TestsFilters::removeTableFilters() - * @return static - * @static + * @return static + * @static */ public static function removeTableFilters() { @@ -26338,13 +27005,11 @@ public static function removeTableFilters() } /** - * - * * @see \Filament\Tables\Testing\TestsFilters::assertTableFilterExists() * @param string $name * @param \Closure|null $checkFilterUsing - * @return static - * @static + * @return static + * @static */ public static function assertTableFilterExists($name, $checkFilterUsing = null) { @@ -26352,12 +27017,10 @@ public static function assertTableFilterExists($name, $checkFilterUsing = null) } /** - * - * * @see \Filament\Tables\Testing\TestsFilters::assertTableFilterVisible() * @param string $name - * @return static - * @static + * @return static + * @static */ public static function assertTableFilterVisible($name) { @@ -26365,12 +27028,10 @@ public static function assertTableFilterVisible($name) } /** - * - * * @see \Filament\Tables\Testing\TestsFilters::assertTableFilterHidden() * @param string $name - * @return static - * @static + * @return static + * @static */ public static function assertTableFilterHidden($name) { @@ -26378,13 +27039,11 @@ public static function assertTableFilterHidden($name) } /** - * - * * @see \Filament\Tables\Testing\TestsRecords::assertCanSeeTableRecords() * @param \Illuminate\Support\Collection|array $records * @param bool $inOrder - * @return static - * @static + * @return static + * @static */ public static function assertCanSeeTableRecords($records, $inOrder = false) { @@ -26392,12 +27051,10 @@ public static function assertCanSeeTableRecords($records, $inOrder = false) } /** - * - * * @see \Filament\Tables\Testing\TestsRecords::assertCanNotSeeTableRecords() * @param \Illuminate\Support\Collection|array $records - * @return static - * @static + * @return static + * @static */ public static function assertCanNotSeeTableRecords($records) { @@ -26405,12 +27062,10 @@ public static function assertCanNotSeeTableRecords($records) } /** - * - * * @see \Filament\Tables\Testing\TestsRecords::assertCountTableRecords() * @param int $count - * @return static - * @static + * @return static + * @static */ public static function assertCountTableRecords($count) { @@ -26418,11 +27073,9 @@ public static function assertCountTableRecords($count) } /** - * - * * @see \Filament\Tables\Testing\TestsRecords::loadTable() - * @return static - * @static + * @return static + * @static */ public static function loadTable() { @@ -26430,15 +27083,13 @@ public static function loadTable() } /** - * - * * @see \Filament\Tables\Testing\TestsSummaries::assertTableColumnSummarySet() * @param string $columnName * @param string $summarizerId * @param mixed $state * @param bool $isCurrentPaginationPageOnly - * @return static - * @static + * @return static + * @static */ public static function assertTableColumnSummarySet($columnName, $summarizerId, $state, $isCurrentPaginationPageOnly = false) { @@ -26446,15 +27097,13 @@ public static function assertTableColumnSummarySet($columnName, $summarizerId, $ } /** - * - * * @see \Filament\Tables\Testing\TestsSummaries::assertTableColumnSummaryNotSet() * @param string $columnName * @param string $summarizerId * @param mixed $state * @param bool $isCurrentPaginationPageOnly - * @return static - * @static + * @return static + * @static */ public static function assertTableColumnSummaryNotSet($columnName, $summarizerId, $state, $isCurrentPaginationPageOnly = false) { @@ -26462,13 +27111,11 @@ public static function assertTableColumnSummaryNotSet($columnName, $summarizerId } /** - * - * * @see \Filament\Tables\Testing\TestsSummaries::assertTableColumnSummarizerExists() * @param string $columnName * @param string $summarizerId - * @return static - * @static + * @return static + * @static */ public static function assertTableColumnSummarizerExists($columnName, $summarizerId) { @@ -26480,16 +27127,50 @@ public static function assertTableColumnSummarizerExists($columnName, $summarize namespace Illuminate\View { /** - * - * */ class ComponentAttributeBag { /** - * - * + * @see \Filament\Support\SupportServiceProvider::packageBooted() + * @param \Filament\Support\View\Components\Contracts\HasColor|string $component + * @param array|string|null $color + * @return \Illuminate\View\ComponentAttributeBag + * @static + */ + public static function color($component, $color) + { + return \Illuminate\View\ComponentAttributeBag::color($component, $color); + } + + /** + * @see \Filament\Support\SupportServiceProvider::packageBooted() + * @param array|int|null $columns + * @param \Filament\Support\Enums\GridDirection $direction + * @return \Illuminate\View\ComponentAttributeBag + * @static + */ + public static function grid($columns = [], $direction = \Filament\Support\Enums\GridDirection::Row) + { + return \Illuminate\View\ComponentAttributeBag::grid($columns, $direction); + } + + /** + * @see \Filament\Support\SupportServiceProvider::packageBooted() + * @param array|string|int|null $span + * @param array|int|null $start + * @param array|string|int|null $order + * @param bool $isHidden + * @return \Illuminate\View\ComponentAttributeBag + * @static + */ + public static function gridColumn($span = [], $start = [], $order = [], $isHidden = false) + { + return \Illuminate\View\ComponentAttributeBag::gridColumn($span, $start, $order, $isHidden); + } + + /** * @see \Livewire\Features\SupportBladeAttributes\SupportBladeAttributes::provide() * @param mixed $name - * @static + * @static */ public static function wire($name) { @@ -26498,16 +27179,12 @@ public static function wire($name) } /** - * - * */ class View { /** - * - * * @see \Livewire\Features\SupportPageComponents\SupportPageComponents::registerLayoutViewMacros() * @param mixed $data - * @static + * @static */ public static function layoutData($data = []) { @@ -26515,11 +27192,9 @@ public static function layoutData($data = []) } /** - * - * * @see \Livewire\Features\SupportPageComponents\SupportPageComponents::registerLayoutViewMacros() * @param mixed $section - * @static + * @static */ public static function section($section) { @@ -26527,11 +27202,9 @@ public static function section($section) } /** - * - * * @see \Livewire\Features\SupportPageComponents\SupportPageComponents::registerLayoutViewMacros() * @param mixed $title - * @static + * @static */ public static function title($title) { @@ -26539,11 +27212,9 @@ public static function title($title) } /** - * - * * @see \Livewire\Features\SupportPageComponents\SupportPageComponents::registerLayoutViewMacros() * @param mixed $slot - * @static + * @static */ public static function slot($slot) { @@ -26551,12 +27222,10 @@ public static function slot($slot) } /** - * - * * @see \Livewire\Features\SupportPageComponents\SupportPageComponents::registerLayoutViewMacros() * @param mixed $view * @param mixed $params - * @static + * @static */ public static function extends($view, $params = []) { @@ -26564,12 +27233,10 @@ public static function extends($view, $params = []) } /** - * - * * @see \Livewire\Features\SupportPageComponents\SupportPageComponents::registerLayoutViewMacros() * @param mixed $view * @param mixed $params - * @static + * @static */ public static function layout($view, $params = []) { @@ -26577,11 +27244,9 @@ public static function layout($view, $params = []) } /** - * - * * @see \Livewire\Features\SupportPageComponents\SupportPageComponents::registerLayoutViewMacros() * @param callable $callback - * @static + * @static */ public static function response($callback) { @@ -26593,17 +27258,13 @@ public static function response($callback) namespace Illuminate\Console\Scheduling { /** - * - * */ class Event { /** - * - * * @var MonitoredScheduledTasks $monitoredScheduledTasks * @see \Spatie\ScheduleMonitor\ScheduleMonitorServiceProvider::registerSchedulerEventMacros() * @param string $monitorName - * @static + * @static */ public static function monitorName($monitorName) { @@ -26611,11 +27272,9 @@ public static function monitorName($monitorName) } /** - * - * * @see \Spatie\ScheduleMonitor\ScheduleMonitorServiceProvider::registerSchedulerEventMacros() * @param int $graceTimeInMinutes - * @static + * @static */ public static function graceTimeInMinutes($graceTimeInMinutes) { @@ -26623,11 +27282,9 @@ public static function graceTimeInMinutes($graceTimeInMinutes) } /** - * - * * @see \Spatie\ScheduleMonitor\ScheduleMonitorServiceProvider::registerSchedulerEventMacros() * @param bool $bool - * @static + * @static */ public static function doNotMonitor($bool = true) { @@ -26635,11 +27292,9 @@ public static function doNotMonitor($bool = true) } /** - * - * * @see \Spatie\ScheduleMonitor\ScheduleMonitorServiceProvider::registerSchedulerEventMacros() * @param bool $bool - * @static + * @static */ public static function doNotMonitorAtOhDear($bool = true) { @@ -26647,11 +27302,9 @@ public static function doNotMonitorAtOhDear($bool = true) } /** - * - * * @see \Spatie\ScheduleMonitor\ScheduleMonitorServiceProvider::registerSchedulerEventMacros() * @param bool $bool - * @static + * @static */ public static function storeOutputInDb($bool = true) { @@ -26663,17 +27316,13 @@ public static function storeOutputInDb($bool = true) namespace BenSampo\Enum { /** - * - * * @template TValue * @implements Arrayable */ class Enum { /** - * - * * @see \App\Providers\AppServiceProvider::boot() - * @static + * @static */ public static function asFlippedArray() { @@ -26699,8 +27348,6 @@ class Crypt extends \Illuminate\Support\Facades\Crypt {} class DB extends \Illuminate\Support\Facades\DB {} /** - * - * * @template TCollection of static * @template TModel of static * @template TValue of static @@ -26710,8 +27357,8 @@ class Eloquent extends \Illuminate\Database\Eloquent\Model { /** * Create and return an un-saved model instance. * * @param array $attributes - * @return TModel - * @static + * @return TModel + * @static */ public static function make($attributes = []) { @@ -26724,8 +27371,8 @@ public static function make($attributes = []) * * @param string $identifier * @param \Illuminate\Database\Eloquent\Scope|\Closure $scope - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withGlobalScope($identifier, $scope) { @@ -26737,8 +27384,8 @@ public static function withGlobalScope($identifier, $scope) * Remove a registered global scope. * * @param \Illuminate\Database\Eloquent\Scope|string $scope - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withoutGlobalScope($scope) { @@ -26750,8 +27397,8 @@ public static function withoutGlobalScope($scope) * Remove all or passed registered global scopes. * * @param array|null $scopes - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withoutGlobalScopes($scopes = null) { @@ -26759,11 +27406,24 @@ public static function withoutGlobalScopes($scopes = null) return $instance->withoutGlobalScopes($scopes); } + /** + * Remove all global scopes except the given scopes. + * + * @param array $scopes + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function withoutGlobalScopesExcept($scopes = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withoutGlobalScopesExcept($scopes); + } + /** * Get an array of global scopes that were removed from the query. * - * @return array - * @static + * @return array + * @static */ public static function removedScopes() { @@ -26775,8 +27435,8 @@ public static function removedScopes() * Add a where clause on the primary key to the query. * * @param mixed $id - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereKey($id) { @@ -26788,8 +27448,8 @@ public static function whereKey($id) * Add a where clause on the primary key to the query. * * @param mixed $id - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereKeyNot($id) { @@ -26804,8 +27464,8 @@ public static function whereKeyNot($id) * @param mixed $operator * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function where($column, $operator = null, $value = null, $boolean = 'and') { @@ -26820,8 +27480,8 @@ public static function where($column, $operator = null, $value = null, $boolean * @param mixed $operator * @param mixed $value * @param string $boolean - * @return TModel|null - * @static + * @return TModel|null + * @static */ public static function firstWhere($column, $operator = null, $value = null, $boolean = 'and') { @@ -26835,8 +27495,8 @@ public static function firstWhere($column, $operator = null, $value = null, $boo * @param (\Closure(static): mixed)|array|string|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhere($column, $operator = null, $value = null) { @@ -26851,8 +27511,8 @@ public static function orWhere($column, $operator = null, $value = null) * @param mixed $operator * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNot($column, $operator = null, $value = null, $boolean = 'and') { @@ -26866,8 +27526,8 @@ public static function whereNot($column, $operator = null, $value = null, $boole * @param (\Closure(static): mixed)|array|string|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNot($column, $operator = null, $value = null) { @@ -26879,8 +27539,8 @@ public static function orWhereNot($column, $operator = null, $value = null) * Add an "order by" clause for a timestamp to the query. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function latest($column = null) { @@ -26892,8 +27552,8 @@ public static function latest($column = null) * Add an "order by" clause for a timestamp to the query. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function oldest($column = null) { @@ -26905,8 +27565,8 @@ public static function oldest($column = null) * Create a collection of models from plain arrays. * * @param array $items - * @return \Illuminate\Database\Eloquent\Collection - * @static + * @return \Illuminate\Database\Eloquent\Collection + * @static */ public static function hydrate($items) { @@ -26914,13 +27574,65 @@ public static function hydrate($items) return $instance->hydrate($items); } + /** + * Insert into the database after merging the model's default attributes, setting timestamps, and casting values. + * + * @param array> $values + * @return bool + * @static + */ + public static function fillAndInsert($values) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->fillAndInsert($values); + } + + /** + * Insert (ignoring errors) into the database after merging the model's default attributes, setting timestamps, and casting values. + * + * @param array> $values + * @return int + * @static + */ + public static function fillAndInsertOrIgnore($values) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->fillAndInsertOrIgnore($values); + } + + /** + * Insert a record into the database and get its ID after merging the model's default attributes, setting timestamps, and casting values. + * + * @param array $values + * @return int + * @static + */ + public static function fillAndInsertGetId($values) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->fillAndInsertGetId($values); + } + + /** + * Enrich the given values by merging in the model's default attributes, adding timestamps, and casting values. + * + * @param array> $values + * @return array> + * @static + */ + public static function fillForInsert($values) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->fillForInsert($values); + } + /** * Create a collection of models from a raw query. * * @param string $query * @param array $bindings - * @return \Illuminate\Database\Eloquent\Collection - * @static + * @return \Illuminate\Database\Eloquent\Collection + * @static */ public static function fromQuery($query, $bindings = []) { @@ -26934,7 +27646,7 @@ public static function fromQuery($query, $bindings = []) * @param mixed $id * @param array|string $columns * @return ($id is (\Illuminate\Contracts\Support\Arrayable|array) ? \Illuminate\Database\Eloquent\Collection : TModel|null) - * @static + * @static */ public static function find($id, $columns = []) { @@ -26947,10 +27659,10 @@ public static function find($id, $columns = []) * * @param mixed $id * @param array|string $columns - * @return TModel + * @return TModel * @throws \Illuminate\Database\Eloquent\ModelNotFoundException * @throws \Illuminate\Database\MultipleRecordsFoundException - * @static + * @static */ public static function findSole($id, $columns = []) { @@ -26963,8 +27675,8 @@ public static function findSole($id, $columns = []) * * @param \Illuminate\Contracts\Support\Arrayable|array $ids * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Collection - * @static + * @return \Illuminate\Database\Eloquent\Collection + * @static */ public static function findMany($ids, $columns = []) { @@ -26979,7 +27691,7 @@ public static function findMany($ids, $columns = []) * @param array|string $columns * @return ($id is (\Illuminate\Contracts\Support\Arrayable|array) ? \Illuminate\Database\Eloquent\Collection : TModel) * @throws \Illuminate\Database\Eloquent\ModelNotFoundException - * @static + * @static */ public static function findOrFail($id, $columns = []) { @@ -26993,7 +27705,7 @@ public static function findOrFail($id, $columns = []) * @param mixed $id * @param array|string $columns * @return ($id is (\Illuminate\Contracts\Support\Arrayable|array) ? \Illuminate\Database\Eloquent\Collection : TModel) - * @static + * @static */ public static function findOrNew($id, $columns = []) { @@ -27012,7 +27724,7 @@ public static function findOrNew($id, $columns = []) * ? \Illuminate\Database\Eloquent\Collection * : TModel|TValue * ) - * @static + * @static */ public static function findOr($id, $columns = [], $callback = null) { @@ -27025,8 +27737,8 @@ public static function findOr($id, $columns = [], $callback = null) * * @param array $attributes * @param array $values - * @return TModel - * @static + * @return TModel + * @static */ public static function firstOrNew($attributes = [], $values = []) { @@ -27038,9 +27750,9 @@ public static function firstOrNew($attributes = [], $values = []) * Get the first record matching the attributes. If the record is not found, create it. * * @param array $attributes - * @param array $values - * @return TModel - * @static + * @param (\Closure(): array)|array $values + * @return TModel + * @static */ public static function firstOrCreate($attributes = [], $values = []) { @@ -27052,9 +27764,9 @@ public static function firstOrCreate($attributes = [], $values = []) * Attempt to create the record. If a unique constraint violation occurs, attempt to find the matching record. * * @param array $attributes - * @param array $values - * @return TModel - * @static + * @param (\Closure(): array)|array $values + * @return TModel + * @static */ public static function createOrFirst($attributes = [], $values = []) { @@ -27067,8 +27779,8 @@ public static function createOrFirst($attributes = [], $values = []) * * @param array $attributes * @param array $values - * @return TModel - * @static + * @return TModel + * @static */ public static function updateOrCreate($attributes, $values = []) { @@ -27084,8 +27796,8 @@ public static function updateOrCreate($attributes, $values = []) * @param int|float $default * @param int|float $step * @param array $extra - * @return TModel - * @static + * @return TModel + * @static */ public static function incrementOrCreate($attributes, $column = 'count', $default = 1, $step = 1, $extra = []) { @@ -27097,9 +27809,9 @@ public static function incrementOrCreate($attributes, $column = 'count', $defaul * Execute the query and get the first result or throw an exception. * * @param array|string $columns - * @return TModel + * @return TModel * @throws \Illuminate\Database\Eloquent\ModelNotFoundException - * @static + * @static */ public static function firstOrFail($columns = []) { @@ -27113,8 +27825,8 @@ public static function firstOrFail($columns = []) * @template TValue * @param (\Closure(): TValue)|list $columns * @param (\Closure(): TValue)|null $callback - * @return TModel|TValue - * @static + * @return TModel|TValue + * @static */ public static function firstOr($columns = [], $callback = null) { @@ -27126,10 +27838,10 @@ public static function firstOr($columns = [], $callback = null) * Execute the query and get the first result if it's the sole matching record. * * @param array|string $columns - * @return TModel + * @return TModel * @throws \Illuminate\Database\Eloquent\ModelNotFoundException * @throws \Illuminate\Database\MultipleRecordsFoundException - * @static + * @static */ public static function sole($columns = []) { @@ -27141,8 +27853,8 @@ public static function sole($columns = []) * Get a single column's value from the first result of a query. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column - * @return mixed - * @static + * @return mixed + * @static */ public static function value($column) { @@ -27154,10 +27866,10 @@ public static function value($column) * Get a single column's value from the first result of a query if it's the sole matching record. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column - * @return mixed + * @return mixed * @throws \Illuminate\Database\Eloquent\ModelNotFoundException * @throws \Illuminate\Database\MultipleRecordsFoundException - * @static + * @static */ public static function soleValue($column) { @@ -27169,9 +27881,9 @@ public static function soleValue($column) * Get a single column's value from the first result of the query or throw an exception. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column - * @return mixed + * @return mixed * @throws \Illuminate\Database\Eloquent\ModelNotFoundException - * @static + * @static */ public static function valueOrFail($column) { @@ -27183,8 +27895,8 @@ public static function valueOrFail($column) * Execute the query as a "select" statement. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Collection - * @static + * @return \Illuminate\Database\Eloquent\Collection + * @static */ public static function get($columns = []) { @@ -27196,8 +27908,8 @@ public static function get($columns = []) * Get the hydrated models without eager loading. * * @param array|string $columns - * @return array - * @static + * @return array + * @static */ public static function getModels($columns = []) { @@ -27209,8 +27921,8 @@ public static function getModels($columns = []) * Eager load the relationships for the models. * * @param array $models - * @return array - * @static + * @return array + * @static */ public static function eagerLoadRelations($models) { @@ -27222,8 +27934,8 @@ public static function eagerLoadRelations($models) * Register a closure to be invoked after the query is executed. * * @param \Closure $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function afterQuery($callback) { @@ -27235,8 +27947,8 @@ public static function afterQuery($callback) * Invoke the "after query" modification callbacks. * * @param mixed $result - * @return mixed - * @static + * @return mixed + * @static */ public static function applyAfterQueryCallbacks($result) { @@ -27247,8 +27959,8 @@ public static function applyAfterQueryCallbacks($result) /** * Get a lazy collection for the given query. * - * @return \Illuminate\Support\LazyCollection - * @static + * @return \Illuminate\Support\LazyCollection + * @static */ public static function cursor() { @@ -27261,8 +27973,8 @@ public static function cursor() * * @param string|\Illuminate\Contracts\Database\Query\Expression $column * @param string|null $key - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function pluck($column, $key = null) { @@ -27278,9 +27990,9 @@ public static function pluck($column, $key = null) * @param string $pageName * @param int|null $page * @param \Closure|int|null $total - * @return \Illuminate\Pagination\LengthAwarePaginator + * @return \Illuminate\Pagination\LengthAwarePaginator * @throws \InvalidArgumentException - * @static + * @static */ public static function paginate($perPage = null, $columns = [], $pageName = 'page', $page = null, $total = null) { @@ -27295,8 +28007,8 @@ public static function paginate($perPage = null, $columns = [], $pageName = 'pag * @param array|string $columns * @param string $pageName * @param int|null $page - * @return \Illuminate\Contracts\Pagination\Paginator - * @static + * @return \Illuminate\Pagination\Paginator + * @static */ public static function simplePaginate($perPage = null, $columns = [], $pageName = 'page', $page = null) { @@ -27311,8 +28023,8 @@ public static function simplePaginate($perPage = null, $columns = [], $pageName * @param array|string $columns * @param string $cursorName * @param \Illuminate\Pagination\Cursor|string|null $cursor - * @return \Illuminate\Contracts\Pagination\CursorPaginator - * @static + * @return \Illuminate\Pagination\CursorPaginator + * @static */ public static function cursorPaginate($perPage = null, $columns = [], $cursorName = 'cursor', $cursor = null) { @@ -27324,8 +28036,8 @@ public static function cursorPaginate($perPage = null, $columns = [], $cursorNam * Save a new model and return the instance. * * @param array $attributes - * @return TModel - * @static + * @return TModel + * @static */ public static function create($attributes = []) { @@ -27337,8 +28049,8 @@ public static function create($attributes = []) * Save a new model and return the instance without raising model events. * * @param array $attributes - * @return TModel - * @static + * @return TModel + * @static */ public static function createQuietly($attributes = []) { @@ -27350,8 +28062,8 @@ public static function createQuietly($attributes = []) * Save a new model and return the instance. Allow mass-assignment. * * @param array $attributes - * @return TModel - * @static + * @return TModel + * @static */ public static function forceCreate($attributes) { @@ -27363,8 +28075,8 @@ public static function forceCreate($attributes) * Save a new model instance with mass assignment without raising model events. * * @param array $attributes - * @return TModel - * @static + * @return TModel + * @static */ public static function forceCreateQuietly($attributes = []) { @@ -27378,8 +28090,8 @@ public static function forceCreateQuietly($attributes = []) * @param array $values * @param array|string $uniqueBy * @param array|null $update - * @return int - * @static + * @return int + * @static */ public static function upsert($values, $uniqueBy, $update = null) { @@ -27391,8 +28103,8 @@ public static function upsert($values, $uniqueBy, $update = null) * Register a replacement for the default delete function. * * @param \Closure $callback - * @return void - * @static + * @return void + * @static */ public static function onDelete($callback) { @@ -27404,8 +28116,8 @@ public static function onDelete($callback) * Call the given local model scopes. * * @param array|string $scopes - * @return static|mixed - * @static + * @return static|mixed + * @static */ public static function scopes($scopes) { @@ -27416,8 +28128,8 @@ public static function scopes($scopes) /** * Apply the scopes to the Eloquent builder instance and return it. * - * @return static - * @static + * @return static + * @static */ public static function applyScopes() { @@ -27429,8 +28141,8 @@ public static function applyScopes() * Prevent the specified relations from being eager loaded. * * @param mixed $relations - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function without($relations) { @@ -27442,8 +28154,8 @@ public static function without($relations) * Set the relationships that should be eager loaded while removing any previously added eager loading specifications. * * @param array): mixed)|string>|string $relations - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withOnly($relations) { @@ -27455,8 +28167,8 @@ public static function withOnly($relations) * Create a new instance of the model being queried. * * @param array $attributes - * @return TModel - * @static + * @return TModel + * @static */ public static function newModelInstance($attributes = []) { @@ -27466,26 +28178,27 @@ public static function newModelInstance($attributes = []) /** * Specify attributes that should be added to any new models created by this builder. - * + * * The given key / value pairs will also be added as where conditions to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|array|string $attributes * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param bool $asConditions + * @return \Illuminate\Database\Eloquent\Builder + * @static */ - public static function withAttributes($attributes, $value = null) + public static function withAttributes($attributes, $value = null, $asConditions = true) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ - return $instance->withAttributes($attributes, $value); + return $instance->withAttributes($attributes, $value, $asConditions); } /** * Apply query-time casts to the model instance. * * @param array $casts - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withCasts($casts) { @@ -27498,8 +28211,8 @@ public static function withCasts($casts) * * @template TModelValue * @param \Closure(): TModelValue $scope - * @return TModelValue - * @static + * @return TModelValue + * @static */ public static function withSavepointIfNeeded($scope) { @@ -27510,8 +28223,8 @@ public static function withSavepointIfNeeded($scope) /** * Get the underlying query builder instance. * - * @return \Illuminate\Database\Query\Builder - * @static + * @return \Illuminate\Database\Query\Builder + * @static */ public static function getQuery() { @@ -27523,8 +28236,8 @@ public static function getQuery() * Set the underlying query builder instance. * * @param \Illuminate\Database\Query\Builder $query - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function setQuery($query) { @@ -27535,8 +28248,8 @@ public static function setQuery($query) /** * Get a base query builder instance. * - * @return \Illuminate\Database\Query\Builder - * @static + * @return \Illuminate\Database\Query\Builder + * @static */ public static function toBase() { @@ -27547,8 +28260,8 @@ public static function toBase() /** * Get the relationships being eagerly loaded. * - * @return array - * @static + * @return array + * @static */ public static function getEagerLoads() { @@ -27560,8 +28273,8 @@ public static function getEagerLoads() * Set the relationships being eagerly loaded. * * @param array $eagerLoad - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function setEagerLoads($eagerLoad) { @@ -27573,8 +28286,8 @@ public static function setEagerLoads($eagerLoad) * Indicate that the given relationships should not be eagerly loaded. * * @param array $relations - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withoutEagerLoad($relations) { @@ -27585,8 +28298,8 @@ public static function withoutEagerLoad($relations) /** * Flush the relationships being eagerly loaded. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withoutEagerLoads() { @@ -27594,11 +28307,35 @@ public static function withoutEagerLoads() return $instance->withoutEagerLoads(); } + /** + * Get the "limit" value from the query or null if it's not set. + * + * @return mixed + * @static + */ + public static function getLimit() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->getLimit(); + } + + /** + * Get the "offset" value from the query or null if it's not set. + * + * @return mixed + * @static + */ + public static function getOffset() + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->getOffset(); + } + /** * Get the model instance being queried. * - * @return TModel - * @static + * @return TModel + * @static */ public static function getModel() { @@ -27611,8 +28348,8 @@ public static function getModel() * * @template TModelNew of \Illuminate\Database\Eloquent\Model * @param TModelNew $model - * @return static - * @static + * @return static + * @static */ public static function setModel($model) { @@ -27624,8 +28361,8 @@ public static function setModel($model) * Get the given macro by name. * * @param string $name - * @return \Closure - * @static + * @return \Closure + * @static */ public static function getMacro($name) { @@ -27637,8 +28374,8 @@ public static function getMacro($name) * Checks if a macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasMacro($name) { @@ -27650,8 +28387,8 @@ public static function hasMacro($name) * Get the given global macro by name. * * @param string $name - * @return \Closure - * @static + * @return \Closure + * @static */ public static function getGlobalMacro($name) { @@ -27662,8 +28399,8 @@ public static function getGlobalMacro($name) * Checks if a global macro is registered. * * @param string $name - * @return bool - * @static + * @return bool + * @static */ public static function hasGlobalMacro($name) { @@ -27673,8 +28410,8 @@ public static function hasGlobalMacro($name) /** * Clone the Eloquent query builder. * - * @return static - * @static + * @return static + * @static */ public static function clone() { @@ -27686,8 +28423,8 @@ public static function clone() * Register a closure to be invoked on a clone. * * @param \Closure $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function onClone($callback) { @@ -27700,8 +28437,8 @@ public static function onClone($callback) * * @param int $count * @param callable(\Illuminate\Support\Collection, int): mixed $callback - * @return bool - * @static + * @return bool + * @static */ public static function chunk($count, $callback) { @@ -27715,8 +28452,8 @@ public static function chunk($count, $callback) * @template TReturn * @param callable(TValue): TReturn $callback * @param int $count - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function chunkMap($callback, $count = 1000) { @@ -27729,9 +28466,9 @@ public static function chunkMap($callback, $count = 1000) * * @param callable(TValue, int): mixed $callback * @param int $count - * @return bool + * @return bool * @throws \RuntimeException - * @static + * @static */ public static function each($callback, $count = 1000) { @@ -27746,8 +28483,8 @@ public static function each($callback, $count = 1000) * @param callable(\Illuminate\Support\Collection, int): mixed $callback * @param string|null $column * @param string|null $alias - * @return bool - * @static + * @return bool + * @static */ public static function chunkById($count, $callback, $column = null, $alias = null) { @@ -27762,8 +28499,8 @@ public static function chunkById($count, $callback, $column = null, $alias = nul * @param callable(\Illuminate\Support\Collection, int): mixed $callback * @param string|null $column * @param string|null $alias - * @return bool - * @static + * @return bool + * @static */ public static function chunkByIdDesc($count, $callback, $column = null, $alias = null) { @@ -27779,9 +28516,9 @@ public static function chunkByIdDesc($count, $callback, $column = null, $alias = * @param string|null $column * @param string|null $alias * @param bool $descending - * @return bool + * @return bool * @throws \RuntimeException - * @static + * @static */ public static function orderedChunkById($count, $callback, $column = null, $alias = null, $descending = false) { @@ -27796,8 +28533,8 @@ public static function orderedChunkById($count, $callback, $column = null, $alia * @param int $count * @param string|null $column * @param string|null $alias - * @return bool - * @static + * @return bool + * @static */ public static function eachById($callback, $count = 1000, $column = null, $alias = null) { @@ -27809,9 +28546,9 @@ public static function eachById($callback, $count = 1000, $column = null, $alias * Query lazily, by chunks of the given size. * * @param int $chunkSize - * @return \Illuminate\Support\LazyCollection + * @return \Illuminate\Support\LazyCollection * @throws \InvalidArgumentException - * @static + * @static */ public static function lazy($chunkSize = 1000) { @@ -27825,9 +28562,9 @@ public static function lazy($chunkSize = 1000) * @param int $chunkSize * @param string|null $column * @param string|null $alias - * @return \Illuminate\Support\LazyCollection + * @return \Illuminate\Support\LazyCollection * @throws \InvalidArgumentException - * @static + * @static */ public static function lazyById($chunkSize = 1000, $column = null, $alias = null) { @@ -27841,9 +28578,9 @@ public static function lazyById($chunkSize = 1000, $column = null, $alias = null * @param int $chunkSize * @param string|null $column * @param string|null $alias - * @return \Illuminate\Support\LazyCollection + * @return \Illuminate\Support\LazyCollection * @throws \InvalidArgumentException - * @static + * @static */ public static function lazyByIdDesc($chunkSize = 1000, $column = null, $alias = null) { @@ -27855,8 +28592,8 @@ public static function lazyByIdDesc($chunkSize = 1000, $column = null, $alias = * Execute the query and get the first result. * * @param array|string $columns - * @return TValue|null - * @static + * @return TValue|null + * @static */ public static function first($columns = []) { @@ -27868,10 +28605,10 @@ public static function first($columns = []) * Execute the query and get the first result if it's the sole matching record. * * @param array|string $columns - * @return TValue + * @return TValue * @throws \Illuminate\Database\RecordsNotFoundException * @throws \Illuminate\Database\MultipleRecordsFoundException - * @static + * @static */ public static function baseSole($columns = []) { @@ -27880,11 +28617,11 @@ public static function baseSole($columns = []) } /** - * Pass the query to a given callback. + * Pass the query to a given callback and then return it. * * @param callable($this): mixed $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function tap($callback) { @@ -27892,6 +28629,20 @@ public static function tap($callback) return $instance->tap($callback); } + /** + * Pass the query to a given callback and return the result. + * + * @template TReturn + * @param (callable($this): TReturn) $callback + * @return (TReturn is null|void ? $this : TReturn) + * @static + */ + public static function pipe($callback) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->pipe($callback); + } + /** * Apply the callback if the given "value" is (or resolves to) truthy. * @@ -27900,8 +28651,8 @@ public static function tap($callback) * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default - * @return $this|TWhenReturnType - * @static + * @return $this|TWhenReturnType + * @static */ public static function when($value = null, $callback = null, $default = null) { @@ -27917,8 +28668,8 @@ public static function when($value = null, $callback = null, $default = null) * @param (\Closure($this): TUnlessParameter)|TUnlessParameter|null $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default - * @return $this|TUnlessReturnType - * @static + * @return $this|TUnlessReturnType + * @static */ public static function unless($value = null, $callback = null, $default = null) { @@ -27932,12 +28683,12 @@ public static function unless($value = null, $callback = null, $default = null) * @template TRelatedModel of \Illuminate\Database\Eloquent\Model * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation * @param string $operator - * @param int $count + * @param \Illuminate\Contracts\Database\Query\Expression|int $count * @param string $boolean * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \RuntimeException - * @static + * @static */ public static function has($relation, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) { @@ -27950,9 +28701,9 @@ public static function has($relation, $operator = '>=', $count = 1, $boolean = ' * * @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation * @param string $operator - * @param int $count - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Contracts\Database\Query\Expression|int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orHas($relation, $operator = '>=', $count = 1) { @@ -27967,8 +28718,8 @@ public static function orHas($relation, $operator = '>=', $count = 1) * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation * @param string $boolean * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function doesntHave($relation, $boolean = 'and', $callback = null) { @@ -27980,8 +28731,8 @@ public static function doesntHave($relation, $boolean = 'and', $callback = null) * Add a relationship count / exists condition to the query with an "or". * * @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orDoesntHave($relation) { @@ -27996,9 +28747,9 @@ public static function orDoesntHave($relation) * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback * @param string $operator - * @param int $count - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Contracts\Database\Query\Expression|int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereHas($relation, $callback = null, $operator = '>=', $count = 1) { @@ -28008,15 +28759,15 @@ public static function whereHas($relation, $callback = null, $operator = '>=', $ /** * Add a relationship count / exists condition to the query with where clauses. - * + * * Also load the relationship with the same condition. * * @param string $relation * @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback * @param string $operator - * @param int $count - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Contracts\Database\Query\Expression|int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withWhereHas($relation, $callback = null, $operator = '>=', $count = 1) { @@ -28031,9 +28782,9 @@ public static function withWhereHas($relation, $callback = null, $operator = '>= * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback * @param string $operator - * @param int $count - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Contracts\Database\Query\Expression|int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereHas($relation, $callback = null, $operator = '>=', $count = 1) { @@ -28047,8 +28798,8 @@ public static function orWhereHas($relation, $callback = null, $operator = '>=', * @template TRelatedModel of \Illuminate\Database\Eloquent\Model * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereDoesntHave($relation, $callback = null) { @@ -28062,8 +28813,8 @@ public static function whereDoesntHave($relation, $callback = null) * @template TRelatedModel of \Illuminate\Database\Eloquent\Model * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereDoesntHave($relation, $callback = null) { @@ -28078,11 +28829,11 @@ public static function orWhereDoesntHave($relation, $callback = null) * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param string|array $types * @param string $operator - * @param int $count + * @param \Illuminate\Contracts\Database\Query\Expression|int $count * @param string $boolean * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) { @@ -28096,9 +28847,9 @@ public static function hasMorph($relation, $types, $operator = '>=', $count = 1, * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation * @param string|array $types * @param string $operator - * @param int $count - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Contracts\Database\Query\Expression|int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orHasMorph($relation, $types, $operator = '>=', $count = 1) { @@ -28114,8 +28865,8 @@ public static function orHasMorph($relation, $types, $operator = '>=', $count = * @param string|array $types * @param string $boolean * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function doesntHaveMorph($relation, $types, $boolean = 'and', $callback = null) { @@ -28128,8 +28879,8 @@ public static function doesntHaveMorph($relation, $types, $boolean = 'and', $cal * * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation * @param string|array $types - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orDoesntHaveMorph($relation, $types) { @@ -28145,9 +28896,9 @@ public static function orDoesntHaveMorph($relation, $types) * @param string|array $types * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback * @param string $operator - * @param int $count - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Contracts\Database\Query\Expression|int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) { @@ -28163,9 +28914,9 @@ public static function whereHasMorph($relation, $types, $callback = null, $opera * @param string|array $types * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback * @param string $operator - * @param int $count - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Contracts\Database\Query\Expression|int $count + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) { @@ -28180,8 +28931,8 @@ public static function orWhereHasMorph($relation, $types, $callback = null, $ope * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param string|array $types * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereDoesntHaveMorph($relation, $types, $callback = null) { @@ -28196,8 +28947,8 @@ public static function whereDoesntHaveMorph($relation, $types, $callback = null) * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param string|array $types * @param (\Closure(\Illuminate\Database\Eloquent\Builder, string): mixed)|null $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereDoesntHaveMorph($relation, $types, $callback = null) { @@ -28213,8 +28964,8 @@ public static function orWhereDoesntHaveMorph($relation, $types, $callback = nul * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereRelation($relation, $column, $operator = null, $value = null) { @@ -28229,8 +28980,8 @@ public static function whereRelation($relation, $column, $operator = null, $valu * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withWhereRelation($relation, $column, $operator = null, $value = null) { @@ -28246,8 +28997,8 @@ public static function withWhereRelation($relation, $column, $operator = null, $ * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereRelation($relation, $column, $operator = null, $value = null) { @@ -28263,8 +29014,8 @@ public static function orWhereRelation($relation, $column, $operator = null, $va * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereDoesntHaveRelation($relation, $column, $operator = null, $value = null) { @@ -28280,8 +29031,8 @@ public static function whereDoesntHaveRelation($relation, $column, $operator = n * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereDoesntHaveRelation($relation, $column, $operator = null, $value = null) { @@ -28298,8 +29049,8 @@ public static function orWhereDoesntHaveRelation($relation, $column, $operator = * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereMorphRelation($relation, $types, $column, $operator = null, $value = null) { @@ -28316,8 +29067,8 @@ public static function whereMorphRelation($relation, $types, $column, $operator * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) { @@ -28334,8 +29085,8 @@ public static function orWhereMorphRelation($relation, $types, $column, $operato * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) { @@ -28352,8 +29103,8 @@ public static function whereMorphDoesntHaveRelation($relation, $types, $column, * @param (\Closure(\Illuminate\Database\Eloquent\Builder): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) { @@ -28366,8 +29117,9 @@ public static function orWhereMorphDoesntHaveRelation($relation, $types, $column * * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation * @param \Illuminate\Database\Eloquent\Model|iterable|string|null $model - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static */ public static function whereMorphedTo($relation, $model, $boolean = 'and') { @@ -28380,8 +29132,9 @@ public static function whereMorphedTo($relation, $model, $boolean = 'and') * * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation * @param \Illuminate\Database\Eloquent\Model|iterable|string $model - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @throws \InvalidArgumentException + * @static */ public static function whereNotMorphedTo($relation, $model, $boolean = 'and') { @@ -28394,8 +29147,8 @@ public static function whereNotMorphedTo($relation, $model, $boolean = 'and') * * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation * @param \Illuminate\Database\Eloquent\Model|iterable|string|null $model - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereMorphedTo($relation, $model) { @@ -28408,8 +29161,8 @@ public static function orWhereMorphedTo($relation, $model) * * @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation * @param \Illuminate\Database\Eloquent\Model|iterable|string $model - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNotMorphedTo($relation, $model) { @@ -28423,9 +29176,9 @@ public static function orWhereNotMorphedTo($relation, $model) * @param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection $related * @param string|null $relationshipName * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \Illuminate\Database\Eloquent\RelationNotFoundException - * @static + * @static */ public static function whereBelongsTo($related, $relationshipName = null, $boolean = 'and') { @@ -28438,9 +29191,9 @@ public static function whereBelongsTo($related, $relationshipName = null, $boole * * @param \Illuminate\Database\Eloquent\Model $related * @param string|null $relationshipName - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \RuntimeException - * @static + * @static */ public static function orWhereBelongsTo($related, $relationshipName = null) { @@ -28448,14 +29201,45 @@ public static function orWhereBelongsTo($related, $relationshipName = null) return $instance->orWhereBelongsTo($related, $relationshipName); } + /** + * Add a "belongs to many" relationship where clause to the query. + * + * @param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection $related + * @param string|null $relationshipName + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @throws \Illuminate\Database\Eloquent\RelationNotFoundException + * @static + */ + public static function whereAttachedTo($related, $relationshipName = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->whereAttachedTo($related, $relationshipName, $boolean); + } + + /** + * Add a "belongs to many" relationship with an "or where" clause to the query. + * + * @param \Illuminate\Database\Eloquent\Model $related + * @param string|null $relationshipName + * @return \Illuminate\Database\Eloquent\Builder + * @throws \RuntimeException + * @static + */ + public static function orWhereAttachedTo($related, $relationshipName = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orWhereAttachedTo($related, $relationshipName); + } + /** * Add subselect queries to include an aggregate value for a relationship. * * @param mixed $relations * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $function - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param string|null $function + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withAggregate($relations, $column, $function = null) { @@ -28467,8 +29251,8 @@ public static function withAggregate($relations, $column, $function = null) * Add subselect queries to count the relations. * * @param mixed $relations - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withCount($relations) { @@ -28481,8 +29265,8 @@ public static function withCount($relations) * * @param string|array $relation * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withMax($relation, $column) { @@ -28495,8 +29279,8 @@ public static function withMax($relation, $column) * * @param string|array $relation * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withMin($relation, $column) { @@ -28509,8 +29293,8 @@ public static function withMin($relation, $column) * * @param string|array $relation * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withSum($relation, $column) { @@ -28523,8 +29307,8 @@ public static function withSum($relation, $column) * * @param string|array $relation * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withAvg($relation, $column) { @@ -28536,8 +29320,8 @@ public static function withAvg($relation, $column) * Add subselect queries to include the existence of related models. * * @param string|array $relation - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function withExists($relation) { @@ -28549,8 +29333,8 @@ public static function withExists($relation) * Merge the where constraints from another query to the current query. * * @param \Illuminate\Database\Eloquent\Builder<*> $from - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function mergeConstraintsFrom($from) { @@ -28559,8 +29343,6 @@ public static function mergeConstraintsFrom($from) } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::powerJoin() * @param mixed $table * @param mixed $first @@ -28568,8 +29350,8 @@ public static function mergeConstraintsFrom($from) * @param mixed $second * @param mixed $type * @param mixed $where - * @return static - * @static + * @return static + * @static */ public static function powerJoin($table, $first, $operator = null, $second = null, $type = 'inner', $where = false) { @@ -28577,14 +29359,12 @@ public static function powerJoin($table, $first, $operator = null, $second = nul } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::leftPowerJoin() * @param mixed $table * @param mixed $first * @param mixed $operator * @param mixed $second - * @static + * @static */ public static function leftPowerJoin($table, $first, $operator = null, $second = null) { @@ -28592,14 +29372,12 @@ public static function leftPowerJoin($table, $first, $operator = null, $second = } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::rightPowerJoin() * @param mixed $table * @param mixed $first * @param mixed $operator * @param mixed $second - * @static + * @static */ public static function rightPowerJoin($table, $first, $operator = null, $second = null) { @@ -28607,14 +29385,12 @@ public static function rightPowerJoin($table, $first, $operator = null, $second } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::newPowerJoinClause() * @param \Illuminate\Database\Query\Builder $parentQuery * @param string $type * @param string $table * @param \Illuminate\Database\Eloquent\Model|null $model - * @static + * @static */ public static function newPowerJoinClause($parentQuery, $type, $table, $model = null) { @@ -28622,8 +29398,6 @@ public static function newPowerJoinClause($parentQuery, $type, $table, $model = } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::joinRelationship() * @param string $relationName * @param \Closure|array|string|null $callback @@ -28631,7 +29405,7 @@ public static function newPowerJoinClause($parentQuery, $type, $table, $model = * @param bool $useAlias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function joinRelationship($relationName, $callback = null, $joinType = 'join', $useAlias = false, $disableExtraConditions = false, $morphable = null) { @@ -28639,14 +29413,12 @@ public static function joinRelationship($relationName, $callback = null, $joinTy } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::joinRelationshipUsingAlias() * @param string $relationName * @param \Closure|array|string|null $callback * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function joinRelationshipUsingAlias($relationName, $callback = null, $disableExtraConditions = false, $morphable = null) { @@ -28654,14 +29426,12 @@ public static function joinRelationshipUsingAlias($relationName, $callback = nul } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::leftJoinRelationshipUsingAlias() * @param string $relationName * @param \Closure|array|string|null $callback * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function leftJoinRelationshipUsingAlias($relationName, $callback = null, $disableExtraConditions = false, $morphable = null) { @@ -28669,14 +29439,12 @@ public static function leftJoinRelationshipUsingAlias($relationName, $callback = } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::rightJoinRelationshipUsingAlias() * @param string $relationName * @param \Closure|array|string|null $callback * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function rightJoinRelationshipUsingAlias($relationName, $callback = null, $disableExtraConditions = false, $morphable = null) { @@ -28684,8 +29452,6 @@ public static function rightJoinRelationshipUsingAlias($relationName, $callback } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::joinRelation() * @param string $relationName * @param \Closure|array|string|null $callback @@ -28693,7 +29459,7 @@ public static function rightJoinRelationshipUsingAlias($relationName, $callback * @param bool $useAlias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function joinRelation($relationName, $callback = null, $joinType = 'join', $useAlias = false, $disableExtraConditions = false, $morphable = null) { @@ -28701,15 +29467,13 @@ public static function joinRelation($relationName, $callback = null, $joinType = } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::leftJoinRelationship() * @param string $relationName * @param \Closure|array|string|null $callback * @param bool $useAlias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function leftJoinRelationship($relationName, $callback = null, $useAlias = false, $disableExtraConditions = false, $morphable = null) { @@ -28717,15 +29481,13 @@ public static function leftJoinRelationship($relationName, $callback = null, $us } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::leftJoinRelation() * @param string $relation * @param \Closure|array|string|null $callback * @param bool $useAlias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function leftJoinRelation($relation, $callback = null, $useAlias = false, $disableExtraConditions = false, $morphable = null) { @@ -28733,15 +29495,13 @@ public static function leftJoinRelation($relation, $callback = null, $useAlias = } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::rightJoinRelationship() * @param string $relation * @param \Closure|array|string|null $callback * @param bool $useAlias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function rightJoinRelationship($relation, $callback = null, $useAlias = false, $disableExtraConditions = false, $morphable = null) { @@ -28749,15 +29509,13 @@ public static function rightJoinRelationship($relation, $callback = null, $useAl } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::rightJoinRelation() * @param string $relation * @param \Closure|array|string|null $callback * @param bool $useAlias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function rightJoinRelation($relation, $callback = null, $useAlias = false, $disableExtraConditions = false, $morphable = null) { @@ -28765,8 +29523,6 @@ public static function rightJoinRelation($relation, $callback = null, $useAlias } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::joinNestedRelationship() * @param string $relationships * @param \Closure|array|string|null $callback @@ -28774,7 +29530,7 @@ public static function rightJoinRelation($relation, $callback = null, $useAlias * @param bool $useAlias * @param bool $disableExtraConditions * @param string|null $morphable - * @static + * @static */ public static function joinNestedRelationship($relationships, $callback = null, $joinType = 'join', $useAlias = false, $disableExtraConditions = false, $morphable = null) { @@ -28782,15 +29538,13 @@ public static function joinNestedRelationship($relationships, $callback = null, } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByPowerJoins() * @param array|string $sort * @param string $direction * @param string|null $aggregation * @param string $joinType * @param mixed $aliases - * @static + * @static */ public static function orderByPowerJoins($sort, $direction = 'asc', $aggregation = null, $joinType = 'join', $aliases = null) { @@ -28798,12 +29552,10 @@ public static function orderByPowerJoins($sort, $direction = 'asc', $aggregation } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByLeftPowerJoins() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByLeftPowerJoins($sort, $direction = 'asc') { @@ -28811,12 +29563,10 @@ public static function orderByLeftPowerJoins($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByPowerJoinsCount() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByPowerJoinsCount($sort, $direction = 'asc') { @@ -28824,12 +29574,10 @@ public static function orderByPowerJoinsCount($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByLeftPowerJoinsCount() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByLeftPowerJoinsCount($sort, $direction = 'asc') { @@ -28837,12 +29585,10 @@ public static function orderByLeftPowerJoinsCount($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByPowerJoinsSum() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByPowerJoinsSum($sort, $direction = 'asc') { @@ -28850,12 +29596,10 @@ public static function orderByPowerJoinsSum($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByLeftPowerJoinsSum() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByLeftPowerJoinsSum($sort, $direction = 'asc') { @@ -28863,12 +29607,10 @@ public static function orderByLeftPowerJoinsSum($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByPowerJoinsAvg() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByPowerJoinsAvg($sort, $direction = 'asc') { @@ -28876,12 +29618,10 @@ public static function orderByPowerJoinsAvg($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByLeftPowerJoinsAvg() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByLeftPowerJoinsAvg($sort, $direction = 'asc') { @@ -28889,12 +29629,10 @@ public static function orderByLeftPowerJoinsAvg($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByPowerJoinsMin() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByPowerJoinsMin($sort, $direction = 'asc') { @@ -28902,12 +29640,10 @@ public static function orderByPowerJoinsMin($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByLeftPowerJoinsMin() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByLeftPowerJoinsMin($sort, $direction = 'asc') { @@ -28915,12 +29651,10 @@ public static function orderByLeftPowerJoinsMin($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByPowerJoinsMax() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByPowerJoinsMax($sort, $direction = 'asc') { @@ -28928,12 +29662,10 @@ public static function orderByPowerJoinsMax($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::orderByLeftPowerJoinsMax() * @param array|string $sort * @param string $direction - * @static + * @static */ public static function orderByLeftPowerJoinsMax($sort, $direction = 'asc') { @@ -28941,8 +29673,6 @@ public static function orderByLeftPowerJoinsMax($sort, $direction = 'asc') } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::powerJoinHas() * @param string $relation * @param string $operator @@ -28950,8 +29680,8 @@ public static function orderByLeftPowerJoinsMax($sort, $direction = 'asc') * @param mixed $boolean * @param \Closure|array|string|null $callback * @param string|null $morphable - * @return static - * @static + * @return static + * @static */ public static function powerJoinHas($relation, $operator = '>=', $count = 1, $boolean = 'and', $callback = null, $morphable = null) { @@ -28959,16 +29689,14 @@ public static function powerJoinHas($relation, $operator = '>=', $count = 1, $bo } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::hasNestedUsingJoins() * @param string $relations * @param string $operator * @param int $count * @param string $boolean * @param \Closure|array|string|null $callback - * @return static - * @static + * @return static + * @static */ public static function hasNestedUsingJoins($relations, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) { @@ -28976,13 +29704,11 @@ public static function hasNestedUsingJoins($relations, $operator = '>=', $count } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::powerJoinDoesntHave() * @param mixed $relation * @param mixed $boolean * @param \Closure|null $callback - * @static + * @static */ public static function powerJoinDoesntHave($relation, $boolean = 'and', $callback = null) { @@ -28990,14 +29716,12 @@ public static function powerJoinDoesntHave($relation, $boolean = 'and', $callbac } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\JoinRelationship::powerJoinWhereHas() * @param mixed $relation * @param mixed $callback * @param mixed $operator * @param mixed $count - * @static + * @static */ public static function powerJoinWhereHas($relation, $callback = null, $operator = '>=', $count = 1) { @@ -29005,10 +29729,8 @@ public static function powerJoinWhereHas($relation, $callback = null, $operator } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\QueryRelationshipExistence::getGroupBy() - * @static + * @static */ public static function getGroupBy() { @@ -29016,10 +29738,8 @@ public static function getGroupBy() } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\QueryRelationshipExistence::getScopes() - * @static + * @static */ public static function getScopes() { @@ -29027,10 +29747,8 @@ public static function getScopes() } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\QueryRelationshipExistence::getSelect() - * @static + * @static */ public static function getSelect() { @@ -29038,11 +29756,9 @@ public static function getSelect() } /** - * - * * @see \Kirschbaum\PowerJoins\Mixins\QueryRelationshipExistence::getRelationWithoutConstraintsProxy() * @param mixed $relation - * @static + * @static */ public static function getRelationWithoutConstraintsProxy($relation) { @@ -29052,9 +29768,9 @@ public static function getRelationWithoutConstraintsProxy($relation) /** * Set the columns to be selected. * - * @param array|mixed $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param mixed $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function select($columns = []) { @@ -29067,9 +29783,9 @@ public static function select($columns = []) * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query * @param string $as - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \InvalidArgumentException - * @static + * @static */ public static function selectSub($query, $as) { @@ -29077,12 +29793,26 @@ public static function selectSub($query, $as) return $instance->selectSub($query, $as); } + /** + * Add a select expression to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $expression + * @param string $as + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function selectExpression($expression, $as) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->selectExpression($expression, $as); + } + /** * Add a new "raw" select expression to the query. * * @param string $expression - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function selectRaw($expression, $bindings = []) { @@ -29095,9 +29825,9 @@ public static function selectRaw($expression, $bindings = []) * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query * @param string $as - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \InvalidArgumentException - * @static + * @static */ public static function fromSub($query, $as) { @@ -29106,12 +29836,12 @@ public static function fromSub($query, $as) } /** - * Add a raw from clause to the query. + * Add a raw "from" clause to the query. * * @param string $expression * @param mixed $bindings - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function fromRaw($expression, $bindings = []) { @@ -29122,9 +29852,9 @@ public static function fromRaw($expression, $bindings = []) /** * Add a new select column to the query. * - * @param array|mixed $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param mixed $column + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function addSelect($column) { @@ -29132,11 +29862,26 @@ public static function addSelect($column) return $instance->addSelect($column); } + /** + * Add a vector-similarity selection to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Support\Collection|\Illuminate\Contracts\Support\Arrayable|array|string $vector + * @param string|null $as + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function selectVectorDistance($column, $vector, $as = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->selectVectorDistance($column, $vector, $as); + } + /** * Force the query to only return distinct results. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function distinct() { @@ -29149,8 +29894,8 @@ public static function distinct() * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $table * @param string|null $as - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function from($table, $as = null) { @@ -29162,8 +29907,8 @@ public static function from($table, $as = null) * Add an index hint to suggest a query index. * * @param string $index - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function useIndex($index) { @@ -29175,8 +29920,8 @@ public static function useIndex($index) * Add an index hint to force a query index. * * @param string $index - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function forceIndex($index) { @@ -29188,8 +29933,8 @@ public static function forceIndex($index) * Add an index hint to ignore a query index. * * @param string $index - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function ignoreIndex($index) { @@ -29198,7 +29943,7 @@ public static function ignoreIndex($index) } /** - * Add a join clause to the query. + * Add a "join" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first @@ -29206,8 +29951,8 @@ public static function ignoreIndex($index) * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @param string $type * @param bool $where - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function join($table, $first, $operator = null, $second = null, $type = 'inner', $where = false) { @@ -29223,8 +29968,8 @@ public static function join($table, $first, $operator = null, $second = null, $t * @param string $operator * @param \Illuminate\Contracts\Database\Query\Expression|string $second * @param string $type - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function joinWhere($table, $first, $operator, $second, $type = 'inner') { @@ -29233,7 +29978,7 @@ public static function joinWhere($table, $first, $operator, $second, $type = 'in } /** - * Add a subquery join clause to the query. + * Add a "subquery join" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query * @param string $as @@ -29242,9 +29987,9 @@ public static function joinWhere($table, $first, $operator, $second, $type = 'in * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @param string $type * @param bool $where - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \InvalidArgumentException - * @static + * @static */ public static function joinSub($query, $as, $first, $operator = null, $second = null, $type = 'inner', $where = false) { @@ -29253,11 +29998,11 @@ public static function joinSub($query, $as, $first, $operator = null, $second = } /** - * Add a lateral join clause to the query. + * Add a "lateral join" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function joinLateral($query, $as, $type = 'inner') { @@ -29269,8 +30014,8 @@ public static function joinLateral($query, $as, $type = 'inner') * Add a lateral left join to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function leftJoinLateral($query, $as) { @@ -29285,8 +30030,8 @@ public static function leftJoinLateral($query, $as) * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function leftJoin($table, $first, $operator = null, $second = null) { @@ -29301,8 +30046,8 @@ public static function leftJoin($table, $first, $operator = null, $second = null * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function leftJoinWhere($table, $first, $operator, $second) { @@ -29318,8 +30063,8 @@ public static function leftJoinWhere($table, $first, $operator, $second) * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function leftJoinSub($query, $as, $first, $operator = null, $second = null) { @@ -29334,8 +30079,8 @@ public static function leftJoinSub($query, $as, $first, $operator = null, $secon * @param \Closure|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function rightJoin($table, $first, $operator = null, $second = null) { @@ -29350,8 +30095,8 @@ public static function rightJoin($table, $first, $operator = null, $second = nul * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string $operator * @param \Illuminate\Contracts\Database\Query\Expression|string $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function rightJoinWhere($table, $first, $operator, $second) { @@ -29367,8 +30112,8 @@ public static function rightJoinWhere($table, $first, $operator, $second) * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function rightJoinSub($query, $as, $first, $operator = null, $second = null) { @@ -29383,8 +30128,8 @@ public static function rightJoinSub($query, $as, $first, $operator = null, $seco * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string|null $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function crossJoin($table, $first = null, $operator = null, $second = null) { @@ -29397,8 +30142,8 @@ public static function crossJoin($table, $first = null, $operator = null, $secon * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query * @param string $as - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function crossJoinSub($query, $as) { @@ -29407,12 +30152,12 @@ public static function crossJoinSub($query, $as) } /** - * Merge an array of where clauses and bindings. + * Merge an array of "where" clauses and bindings. * * @param array $wheres * @param array $bindings - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function mergeWheres($wheres, $bindings) { @@ -29426,9 +30171,9 @@ public static function mergeWheres($wheres, $bindings) * @param string $value * @param string $operator * @param bool $useDefault - * @return array + * @return array * @throws \InvalidArgumentException - * @static + * @static */ public static function prepareValueAndOperator($value, $operator, $useDefault = false) { @@ -29443,8 +30188,8 @@ public static function prepareValueAndOperator($value, $operator, $useDefault = * @param string|null $operator * @param string|null $second * @param string|null $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereColumn($first, $operator = null, $second = null, $boolean = 'and') { @@ -29458,8 +30203,8 @@ public static function whereColumn($first, $operator = null, $second = null, $bo * @param \Illuminate\Contracts\Database\Query\Expression|string|array $first * @param string|null $operator * @param string|null $second - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereColumn($first, $operator = null, $second = null) { @@ -29468,13 +30213,60 @@ public static function orWhereColumn($first, $operator = null, $second = null) } /** - * Add a raw where clause to the query. + * Add a vector similarity clause to the query, filtering by minimum similarity and ordering by similarity. * - * @param string $sql + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Support\Collection|\Illuminate\Contracts\Support\Arrayable|array|string $vector + * @param float $minSimilarity A value between 0.0 and 1.0, where 1.0 is identical. + * @param bool $order + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereVectorSimilarTo($column, $vector, $minSimilarity = 0.6, $order = true) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereVectorSimilarTo($column, $vector, $minSimilarity, $order); + } + + /** + * Add a vector distance "where" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Support\Collection|\Illuminate\Contracts\Support\Arrayable|array|string $vector + * @param float $maxDistance + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereVectorDistanceLessThan($column, $vector, $maxDistance, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereVectorDistanceLessThan($column, $vector, $maxDistance, $boolean); + } + + /** + * Add a vector distance "or where" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Support\Collection|\Illuminate\Contracts\Support\Arrayable|array|string $vector + * @param float $maxDistance + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereVectorDistanceLessThan($column, $vector, $maxDistance) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereVectorDistanceLessThan($column, $vector, $maxDistance); + } + + /** + * Add a raw "where" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $sql * @param mixed $bindings * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereRaw($sql, $bindings = [], $boolean = 'and') { @@ -29483,12 +30275,12 @@ public static function whereRaw($sql, $bindings = [], $boolean = 'and') } /** - * Add a raw or where clause to the query. + * Add a raw "or where" clause to the query. * * @param string $sql * @param mixed $bindings - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereRaw($sql, $bindings = []) { @@ -29504,8 +30296,8 @@ public static function orWhereRaw($sql, $bindings = []) * @param bool $caseSensitive * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereLike($column, $value, $caseSensitive = false, $boolean = 'and', $not = false) { @@ -29519,8 +30311,8 @@ public static function whereLike($column, $value, $caseSensitive = false, $boole * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $value * @param bool $caseSensitive - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereLike($column, $value, $caseSensitive = false) { @@ -29535,8 +30327,8 @@ public static function orWhereLike($column, $value, $caseSensitive = false) * @param string $value * @param bool $caseSensitive * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNotLike($column, $value, $caseSensitive = false, $boolean = 'and') { @@ -29550,8 +30342,8 @@ public static function whereNotLike($column, $value, $caseSensitive = false, $bo * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $value * @param bool $caseSensitive - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNotLike($column, $value, $caseSensitive = false) { @@ -29559,6 +30351,35 @@ public static function orWhereNotLike($column, $value, $caseSensitive = false) return $instance->orWhereNotLike($column, $value, $caseSensitive); } + /** + * Add a "where null safe equals" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereNullSafeEquals($column, $value, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereNullSafeEquals($column, $value, $boolean); + } + + /** + * Add an "or where null safe equals" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param mixed $value + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereNullSafeEquals($column, $value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereNullSafeEquals($column, $value); + } + /** * Add a "where in" clause to the query. * @@ -29566,8 +30387,8 @@ public static function orWhereNotLike($column, $value, $caseSensitive = false) * @param mixed $values * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereIn($column, $values, $boolean = 'and', $not = false) { @@ -29580,8 +30401,8 @@ public static function whereIn($column, $values, $boolean = 'and', $not = false) * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param mixed $values - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereIn($column, $values) { @@ -29595,8 +30416,8 @@ public static function orWhereIn($column, $values) * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param mixed $values * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNotIn($column, $values, $boolean = 'and') { @@ -29609,8 +30430,8 @@ public static function whereNotIn($column, $values, $boolean = 'and') * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param mixed $values - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNotIn($column, $values) { @@ -29625,8 +30446,8 @@ public static function orWhereNotIn($column, $values) * @param \Illuminate\Contracts\Support\Arrayable|array $values * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereIntegerInRaw($column, $values, $boolean = 'and', $not = false) { @@ -29639,8 +30460,8 @@ public static function whereIntegerInRaw($column, $values, $boolean = 'and', $no * * @param string $column * @param \Illuminate\Contracts\Support\Arrayable|array $values - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereIntegerInRaw($column, $values) { @@ -29654,8 +30475,8 @@ public static function orWhereIntegerInRaw($column, $values) * @param string $column * @param \Illuminate\Contracts\Support\Arrayable|array $values * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereIntegerNotInRaw($column, $values, $boolean = 'and') { @@ -29668,8 +30489,8 @@ public static function whereIntegerNotInRaw($column, $values, $boolean = 'and') * * @param string $column * @param \Illuminate\Contracts\Support\Arrayable|array $values - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereIntegerNotInRaw($column, $values) { @@ -29683,8 +30504,8 @@ public static function orWhereIntegerNotInRaw($column, $values) * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNull($columns, $boolean = 'and', $not = false) { @@ -29696,8 +30517,8 @@ public static function whereNull($columns, $boolean = 'and', $not = false) * Add an "or where null" clause to the query. * * @param string|array|\Illuminate\Contracts\Database\Query\Expression $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNull($column) { @@ -29710,8 +30531,8 @@ public static function orWhereNull($column) * * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNotNull($columns, $boolean = 'and') { @@ -29720,13 +30541,13 @@ public static function whereNotNull($columns, $boolean = 'and') } /** - * Add a where between statement to the query. + * Add a "where between" statement to the query. * - * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereBetween($column, $values, $boolean = 'and', $not = false) { @@ -29735,13 +30556,13 @@ public static function whereBetween($column, $values, $boolean = 'and', $not = f } /** - * Add a where between statement using columns to the query. + * Add a "where between" statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereBetweenColumns($column, $values, $boolean = 'and', $not = false) { @@ -29750,11 +30571,11 @@ public static function whereBetweenColumns($column, $values, $boolean = 'and', $ } /** - * Add an or where between statement to the query. + * Add an "or where between" statement to the query. * - * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereBetween($column, $values) { @@ -29763,11 +30584,11 @@ public static function orWhereBetween($column, $values) } /** - * Add an or where between statement using columns to the query. + * Add an "or where between" statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereBetweenColumns($column, $values) { @@ -29776,12 +30597,12 @@ public static function orWhereBetweenColumns($column, $values) } /** - * Add a where not between statement to the query. + * Add a "where not between" statement to the query. * - * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNotBetween($column, $values, $boolean = 'and') { @@ -29790,12 +30611,12 @@ public static function whereNotBetween($column, $values, $boolean = 'and') } /** - * Add a where not between statement using columns to the query. + * Add a "where not between" statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNotBetweenColumns($column, $values, $boolean = 'and') { @@ -29804,11 +30625,11 @@ public static function whereNotBetweenColumns($column, $values, $boolean = 'and' } /** - * Add an or where not between statement to the query. + * Add an "or where not between" statement to the query. * - * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNotBetween($column, $values) { @@ -29817,11 +30638,11 @@ public static function orWhereNotBetween($column, $values) } /** - * Add an or where not between statement using columns to the query. + * Add an "or where not between" statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNotBetweenColumns($column, $values) { @@ -29829,12 +30650,71 @@ public static function orWhereNotBetweenColumns($column, $values) return $instance->orWhereNotBetweenColumns($column, $values); } + /** + * Add a "where between columns" statement using a value to the query. + * + * @param mixed $value + * @param array{\Illuminate\Contracts\Database\Query\Expression|string, \Illuminate\Contracts\Database\Query\Expression|string} $columns + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereValueBetween($value, $columns, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereValueBetween($value, $columns, $boolean, $not); + } + + /** + * Add an "or where between columns" statement using a value to the query. + * + * @param mixed $value + * @param array{\Illuminate\Contracts\Database\Query\Expression|string, \Illuminate\Contracts\Database\Query\Expression|string} $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereValueBetween($value, $columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereValueBetween($value, $columns); + } + + /** + * Add a "where not between columns" statement using a value to the query. + * + * @param mixed $value + * @param array{\Illuminate\Contracts\Database\Query\Expression|string, \Illuminate\Contracts\Database\Query\Expression|string} $columns + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function whereValueNotBetween($value, $columns, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereValueNotBetween($value, $columns, $boolean); + } + + /** + * Add an "or where not between columns" statement using a value to the query. + * + * @param mixed $value + * @param array{\Illuminate\Contracts\Database\Query\Expression|string, \Illuminate\Contracts\Database\Query\Expression|string} $columns + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orWhereValueNotBetween($value, $columns) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereValueNotBetween($value, $columns); + } + /** * Add an "or where not null" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNotNull($column) { @@ -29849,8 +30729,8 @@ public static function orWhereNotNull($column) * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereDate($column, $operator, $value = null, $boolean = 'and') { @@ -29864,8 +30744,8 @@ public static function whereDate($column, $operator, $value = null, $boolean = ' * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereDate($column, $operator, $value = null) { @@ -29880,8 +30760,8 @@ public static function orWhereDate($column, $operator, $value = null) * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereTime($column, $operator, $value = null, $boolean = 'and') { @@ -29895,8 +30775,8 @@ public static function whereTime($column, $operator, $value = null, $boolean = ' * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereTime($column, $operator, $value = null) { @@ -29911,8 +30791,8 @@ public static function orWhereTime($column, $operator, $value = null) * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereDay($column, $operator, $value = null, $boolean = 'and') { @@ -29926,8 +30806,8 @@ public static function whereDay($column, $operator, $value = null, $boolean = 'a * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereDay($column, $operator, $value = null) { @@ -29942,8 +30822,8 @@ public static function orWhereDay($column, $operator, $value = null) * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereMonth($column, $operator, $value = null, $boolean = 'and') { @@ -29957,8 +30837,8 @@ public static function whereMonth($column, $operator, $value = null, $boolean = * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereMonth($column, $operator, $value = null) { @@ -29973,8 +30853,8 @@ public static function orWhereMonth($column, $operator, $value = null) * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereYear($column, $operator, $value = null, $boolean = 'and') { @@ -29988,8 +30868,8 @@ public static function whereYear($column, $operator, $value = null, $boolean = ' * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereYear($column, $operator, $value = null) { @@ -29998,11 +30878,11 @@ public static function orWhereYear($column, $operator, $value = null) } /** - * Add a nested where statement to the query. + * Add a nested "where" statement to the query. * * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNested($callback, $boolean = 'and') { @@ -30013,8 +30893,8 @@ public static function whereNested($callback, $boolean = 'and') /** * Create a new query instance for nested where condition. * - * @return \Illuminate\Database\Query\Builder - * @static + * @return \Illuminate\Database\Query\Builder + * @static */ public static function forNestedWhere() { @@ -30027,8 +30907,8 @@ public static function forNestedWhere() * * @param \Illuminate\Database\Query\Builder $query * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function addNestedWhereQuery($query, $boolean = 'and') { @@ -30037,13 +30917,13 @@ public static function addNestedWhereQuery($query, $boolean = 'and') } /** - * Add an exists clause to the query. + * Add an "exists" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereExists($callback, $boolean = 'and', $not = false) { @@ -30052,12 +30932,12 @@ public static function whereExists($callback, $boolean = 'and', $not = false) } /** - * Add an or exists clause to the query. + * Add an "or where exists" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereExists($callback, $not = false) { @@ -30066,12 +30946,12 @@ public static function orWhereExists($callback, $not = false) } /** - * Add a where not exists clause to the query. + * Add a "where not exists" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNotExists($callback, $boolean = 'and') { @@ -30080,11 +30960,11 @@ public static function whereNotExists($callback, $boolean = 'and') } /** - * Add a where not exists clause to the query. + * Add an "or where not exists" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $callback - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNotExists($callback) { @@ -30093,12 +30973,12 @@ public static function orWhereNotExists($callback) } /** - * Add an exists clause to the query. + * Add an "exists" clause to the query. * * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function addWhereExistsQuery($query, $boolean = 'and', $not = false) { @@ -30113,9 +30993,9 @@ public static function addWhereExistsQuery($query, $boolean = 'and', $not = fals * @param string $operator * @param array $values * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \InvalidArgumentException - * @static + * @static */ public static function whereRowValues($columns, $operator, $values, $boolean = 'and') { @@ -30129,8 +31009,8 @@ public static function whereRowValues($columns, $operator, $values, $boolean = ' * @param array $columns * @param string $operator * @param array $values - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereRowValues($columns, $operator, $values) { @@ -30145,8 +31025,8 @@ public static function orWhereRowValues($columns, $operator, $values) * @param mixed $value * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereJsonContains($column, $value, $boolean = 'and', $not = false) { @@ -30159,8 +31039,8 @@ public static function whereJsonContains($column, $value, $boolean = 'and', $not * * @param string $column * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereJsonContains($column, $value) { @@ -30174,8 +31054,8 @@ public static function orWhereJsonContains($column, $value) * @param string $column * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereJsonDoesntContain($column, $value, $boolean = 'and') { @@ -30188,8 +31068,8 @@ public static function whereJsonDoesntContain($column, $value, $boolean = 'and') * * @param string $column * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereJsonDoesntContain($column, $value) { @@ -30204,8 +31084,8 @@ public static function orWhereJsonDoesntContain($column, $value) * @param mixed $value * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereJsonOverlaps($column, $value, $boolean = 'and', $not = false) { @@ -30218,8 +31098,8 @@ public static function whereJsonOverlaps($column, $value, $boolean = 'and', $not * * @param string $column * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereJsonOverlaps($column, $value) { @@ -30233,8 +31113,8 @@ public static function orWhereJsonOverlaps($column, $value) * @param string $column * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereJsonDoesntOverlap($column, $value, $boolean = 'and') { @@ -30247,8 +31127,8 @@ public static function whereJsonDoesntOverlap($column, $value, $boolean = 'and') * * @param string $column * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereJsonDoesntOverlap($column, $value) { @@ -30262,8 +31142,8 @@ public static function orWhereJsonDoesntOverlap($column, $value) * @param string $column * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereJsonContainsKey($column, $boolean = 'and', $not = false) { @@ -30275,8 +31155,8 @@ public static function whereJsonContainsKey($column, $boolean = 'and', $not = fa * Add an "or" clause that determines if a JSON path exists to the query. * * @param string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereJsonContainsKey($column) { @@ -30289,8 +31169,8 @@ public static function orWhereJsonContainsKey($column) * * @param string $column * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereJsonDoesntContainKey($column, $boolean = 'and') { @@ -30302,8 +31182,8 @@ public static function whereJsonDoesntContainKey($column, $boolean = 'and') * Add an "or" clause that determines if a JSON path does not exist to the query. * * @param string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereJsonDoesntContainKey($column) { @@ -30318,8 +31198,8 @@ public static function orWhereJsonDoesntContainKey($column) * @param mixed $operator * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereJsonLength($column, $operator, $value = null, $boolean = 'and') { @@ -30333,8 +31213,8 @@ public static function whereJsonLength($column, $operator, $value = null, $boole * @param string $column * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereJsonLength($column, $operator, $value = null) { @@ -30347,8 +31227,8 @@ public static function orWhereJsonLength($column, $operator, $value = null) * * @param string $method * @param array $parameters - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function dynamicWhere($method, $parameters) { @@ -30362,8 +31242,8 @@ public static function dynamicWhere($method, $parameters) * @param string|string[] $columns * @param string $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereFullText($columns, $value, $options = [], $boolean = 'and') { @@ -30372,12 +31252,12 @@ public static function whereFullText($columns, $value, $options = [], $boolean = } /** - * Add a "or where fulltext" clause to the query. + * Add an "or where fulltext" clause to the query. * * @param string|string[] $columns * @param string $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereFullText($columns, $value, $options = []) { @@ -30392,8 +31272,8 @@ public static function orWhereFullText($columns, $value, $options = []) * @param mixed $operator * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereAll($columns, $operator = null, $value = null, $boolean = 'and') { @@ -30407,8 +31287,8 @@ public static function whereAll($columns, $operator = null, $value = null, $bool * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereAll($columns, $operator = null, $value = null) { @@ -30423,8 +31303,8 @@ public static function orWhereAll($columns, $operator = null, $value = null) * @param mixed $operator * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereAny($columns, $operator = null, $value = null, $boolean = 'and') { @@ -30438,8 +31318,8 @@ public static function whereAny($columns, $operator = null, $value = null, $bool * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereAny($columns, $operator = null, $value = null) { @@ -30454,8 +31334,8 @@ public static function orWhereAny($columns, $operator = null, $value = null) * @param mixed $operator * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNone($columns, $operator = null, $value = null, $boolean = 'and') { @@ -30469,8 +31349,8 @@ public static function whereNone($columns, $operator = null, $value = null, $boo * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNone($columns, $operator = null, $value = null) { @@ -30482,8 +31362,8 @@ public static function orWhereNone($columns, $operator = null, $value = null) * Add a "group by" clause to the query. * * @param array|\Illuminate\Contracts\Database\Query\Expression|string $groups - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function groupBy(...$groups) { @@ -30492,11 +31372,11 @@ public static function groupBy(...$groups) } /** - * Add a raw groupBy clause to the query. + * Add a raw "groupBy" clause to the query. * * @param string $sql - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function groupByRaw($sql, $bindings = []) { @@ -30508,11 +31388,11 @@ public static function groupByRaw($sql, $bindings = []) * Add a "having" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column - * @param string|int|float|null $operator - * @param string|int|float|null $value + * @param \DateTimeInterface|string|int|float|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|\DateTimeInterface|string|int|float|null $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function having($column, $operator = null, $value = null, $boolean = 'and') { @@ -30524,10 +31404,10 @@ public static function having($column, $operator = null, $value = null, $boolean * Add an "or having" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column - * @param string|int|float|null $operator - * @param string|int|float|null $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param \DateTimeInterface|string|int|float|null $operator + * @param \Illuminate\Contracts\Database\Query\Expression|\DateTimeInterface|string|int|float|null $value + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orHaving($column, $operator = null, $value = null) { @@ -30536,11 +31416,11 @@ public static function orHaving($column, $operator = null, $value = null) } /** - * Add a nested having statement to the query. + * Add a nested "having" statement to the query. * * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function havingNested($callback, $boolean = 'and') { @@ -30553,8 +31433,8 @@ public static function havingNested($callback, $boolean = 'and') * * @param \Illuminate\Database\Query\Builder $query * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function addNestedHavingQuery($query, $boolean = 'and') { @@ -30568,8 +31448,8 @@ public static function addNestedHavingQuery($query, $boolean = 'and') * @param array|string $columns * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function havingNull($columns, $boolean = 'and', $not = false) { @@ -30581,8 +31461,8 @@ public static function havingNull($columns, $boolean = 'and', $not = false) * Add an "or having null" clause to the query. * * @param string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orHavingNull($column) { @@ -30595,8 +31475,8 @@ public static function orHavingNull($column) * * @param array|string $columns * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function havingNotNull($columns, $boolean = 'and') { @@ -30608,8 +31488,8 @@ public static function havingNotNull($columns, $boolean = 'and') * Add an "or having not null" clause to the query. * * @param string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orHavingNotNull($column) { @@ -30618,13 +31498,13 @@ public static function orHavingNotNull($column) } /** - * Add a "having between " clause to the query. + * Add a "having between" clause to the query. * * @param string $column * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function havingBetween($column, $values, $boolean = 'and', $not = false) { @@ -30633,12 +31513,55 @@ public static function havingBetween($column, $values, $boolean = 'and', $not = } /** - * Add a raw having clause to the query. + * Add a "having not between" clause to the query. + * + * @param string $column + * @param iterable $values + * @param string $boolean + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function havingNotBetween($column, $values, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->havingNotBetween($column, $values, $boolean); + } + + /** + * Add an "or having between" clause to the query. + * + * @param string $column + * @param iterable $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHavingBetween($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orHavingBetween($column, $values); + } + + /** + * Add an "or having not between" clause to the query. + * + * @param string $column + * @param iterable $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orHavingNotBetween($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orHavingNotBetween($column, $values); + } + + /** + * Add a raw "having" clause to the query. * * @param string $sql * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function havingRaw($sql, $bindings = [], $boolean = 'and') { @@ -30647,11 +31570,11 @@ public static function havingRaw($sql, $bindings = [], $boolean = 'and') } /** - * Add a raw or having clause to the query. + * Add a raw "or having" clause to the query. * * @param string $sql - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orHavingRaw($sql, $bindings = []) { @@ -30664,9 +31587,9 @@ public static function orHavingRaw($sql, $bindings = []) * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column * @param string $direction - * @return \Illuminate\Database\Eloquent\Builder + * @return \Illuminate\Database\Eloquent\Builder * @throws \InvalidArgumentException - * @static + * @static */ public static function orderBy($column, $direction = 'asc') { @@ -30678,8 +31601,8 @@ public static function orderBy($column, $direction = 'asc') * Add a descending "order by" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Contracts\Database\Query\Expression|string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orderByDesc($column) { @@ -30687,12 +31610,26 @@ public static function orderByDesc($column) return $instance->orderByDesc($column); } + /** + * Add a vector-distance "order by" clause to the query. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Support\Collection|\Illuminate\Contracts\Support\Arrayable|array $vector + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function orderByVectorDistance($column, $vector) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orderByVectorDistance($column, $vector); + } + /** * Put the query's results in random order. * * @param string|int $seed - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function inRandomOrder($seed = '') { @@ -30700,13 +31637,27 @@ public static function inRandomOrder($seed = '') return $instance->inRandomOrder($seed); } + /** + * Add an "order by" clause to order results by a given sequence of values. + * + * @param \Illuminate\Contracts\Database\Query\Expression|string $column + * @param \Illuminate\Contracts\Support\Arrayable|array $values + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function inOrderOf($column, $values) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->inOrderOf($column, $values); + } + /** * Add a raw "order by" clause to the query. * * @param string $sql * @param array $bindings - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orderByRaw($sql, $bindings = []) { @@ -30718,8 +31669,8 @@ public static function orderByRaw($sql, $bindings = []) * Alias to set the "offset" value of the query. * * @param int $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function skip($value) { @@ -30731,8 +31682,8 @@ public static function skip($value) * Set the "offset" value of the query. * * @param int $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function offset($value) { @@ -30744,8 +31695,8 @@ public static function offset($value) * Alias to set the "limit" value of the query. * * @param int $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function take($value) { @@ -30757,8 +31708,8 @@ public static function take($value) * Set the "limit" value of the query. * * @param int $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function limit($value) { @@ -30771,8 +31722,8 @@ public static function limit($value) * * @param int $value * @param string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function groupLimit($value, $column) { @@ -30785,8 +31736,8 @@ public static function groupLimit($value, $column) * * @param int $page * @param int $perPage - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function forPage($page, $perPage = 15) { @@ -30800,8 +31751,8 @@ public static function forPage($page, $perPage = 15) * @param int $perPage * @param int|null $lastId * @param string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id') { @@ -30815,8 +31766,8 @@ public static function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id * @param int $perPage * @param int|null $lastId * @param string $column - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function forPageAfterId($perPage = 15, $lastId = 0, $column = 'id') { @@ -30829,8 +31780,8 @@ public static function forPageAfterId($perPage = 15, $lastId = 0, $column = 'id' * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string|null $column * @param string $direction - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function reorder($column = null, $direction = 'asc') { @@ -30839,12 +31790,25 @@ public static function reorder($column = null, $direction = 'asc') } /** - * Add a union statement to the query. + * Add descending "reorder" clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string|null $column + * @return \Illuminate\Database\Eloquent\Builder + * @static + */ + public static function reorderDesc($column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->reorderDesc($column); + } + + /** + * Add a "union" statement to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $query * @param bool $all - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function union($query, $all = false) { @@ -30853,11 +31817,11 @@ public static function union($query, $all = false) } /** - * Add a union all statement to the query. + * Add a "union all" statement to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*> $query - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function unionAll($query) { @@ -30869,8 +31833,8 @@ public static function unionAll($query) * Lock the selected rows in the table. * * @param string|bool $value - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function lock($value = true) { @@ -30881,8 +31845,8 @@ public static function lock($value = true) /** * Lock the selected rows in the table for updating. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function lockForUpdate() { @@ -30893,8 +31857,8 @@ public static function lockForUpdate() /** * Share lock the selected rows in the table. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function sharedLock() { @@ -30902,11 +31866,25 @@ public static function sharedLock() return $instance->sharedLock(); } + /** + * Set a query execution timeout in seconds. + * + * @param int|null $seconds + * @return \Illuminate\Database\Eloquent\Builder + * @throws InvalidArgumentException + * @static + */ + public static function timeout($seconds) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->timeout($seconds); + } + /** * Register a closure to be invoked before the query is executed. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function beforeQuery($callback) { @@ -30917,8 +31895,8 @@ public static function beforeQuery($callback) /** * Invoke the "before query" modification callbacks. * - * @return void - * @static + * @return void + * @static */ public static function applyBeforeQueryCallbacks() { @@ -30929,8 +31907,8 @@ public static function applyBeforeQueryCallbacks() /** * Get the SQL representation of the query. * - * @return string - * @static + * @return string + * @static */ public static function toSql() { @@ -30941,8 +31919,8 @@ public static function toSql() /** * Get the raw SQL representation of the query with embedded bindings. * - * @return string - * @static + * @return string + * @static */ public static function toRawSql() { @@ -30953,8 +31931,8 @@ public static function toRawSql() /** * Get a single expression value from the first result of a query. * - * @return mixed - * @static + * @return mixed + * @static */ public static function rawValue($expression, $bindings = []) { @@ -30965,9 +31943,9 @@ public static function rawValue($expression, $bindings = []) /** * Get the count of the total records for the paginator. * - * @param array $columns - * @return int - * @static + * @param array $columns + * @return int<0, max> + * @static */ public static function getCountForPagination($columns = []) { @@ -30980,8 +31958,8 @@ public static function getCountForPagination($columns = []) * * @param string $column * @param string $glue - * @return string - * @static + * @return string + * @static */ public static function implode($column, $glue = '') { @@ -30992,8 +31970,8 @@ public static function implode($column, $glue = '') /** * Determine if any rows exist for the current query. * - * @return bool - * @static + * @return bool + * @static */ public static function exists() { @@ -31004,8 +31982,8 @@ public static function exists() /** * Determine if no rows exist for the current query. * - * @return bool - * @static + * @return bool + * @static */ public static function doesntExist() { @@ -31016,8 +31994,8 @@ public static function doesntExist() /** * Execute the given callback if no rows exist for the current query. * - * @return mixed - * @static + * @return mixed + * @static */ public static function existsOr($callback) { @@ -31028,8 +32006,8 @@ public static function existsOr($callback) /** * Execute the given callback if rows exist for the current query. * - * @return mixed - * @static + * @return mixed + * @static */ public static function doesntExistOr($callback) { @@ -31041,8 +32019,8 @@ public static function doesntExistOr($callback) * Retrieve the "count" result of the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $columns - * @return int - * @static + * @return int<0, max> + * @static */ public static function count($columns = '*') { @@ -31054,8 +32032,8 @@ public static function count($columns = '*') * Retrieve the minimum value of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return mixed - * @static + * @return mixed + * @static */ public static function min($column) { @@ -31067,8 +32045,8 @@ public static function min($column) * Retrieve the maximum value of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return mixed - * @static + * @return mixed + * @static */ public static function max($column) { @@ -31080,8 +32058,8 @@ public static function max($column) * Retrieve the sum of the values of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return mixed - * @static + * @return mixed + * @static */ public static function sum($column) { @@ -31093,8 +32071,8 @@ public static function sum($column) * Retrieve the average of the values of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return mixed - * @static + * @return mixed + * @static */ public static function avg($column) { @@ -31106,8 +32084,8 @@ public static function avg($column) * Alias for the "avg" method. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @return mixed - * @static + * @return mixed + * @static */ public static function average($column) { @@ -31120,8 +32098,8 @@ public static function average($column) * * @param string $function * @param array $columns - * @return mixed - * @static + * @return mixed + * @static */ public static function aggregate($function, $columns = []) { @@ -31134,8 +32112,8 @@ public static function aggregate($function, $columns = []) * * @param string $function * @param array $columns - * @return float|int - * @static + * @return float|int + * @static */ public static function numericAggregate($function, $columns = []) { @@ -31146,8 +32124,8 @@ public static function numericAggregate($function, $columns = []) /** * Insert new records into the database. * - * @return bool - * @static + * @return bool + * @static */ public static function insert($values) { @@ -31158,8 +32136,8 @@ public static function insert($values) /** * Insert new records into the database while ignoring errors. * - * @return int - * @static + * @return int<0, max> + * @static */ public static function insertOrIgnore($values) { @@ -31171,8 +32149,8 @@ public static function insertOrIgnore($values) * Insert a new record and get the value of the primary key. * * @param string|null $sequence - * @return int - * @static + * @return int + * @static */ public static function insertGetId($values, $sequence = null) { @@ -31184,8 +32162,8 @@ public static function insertGetId($values, $sequence = null) * Insert new records into the table using a subquery. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query - * @return int - * @static + * @return int + * @static */ public static function insertUsing($columns, $query) { @@ -31197,8 +32175,8 @@ public static function insertUsing($columns, $query) * Insert new records into the table using a subquery while ignoring errors. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder<*>|string $query - * @return int - * @static + * @return int + * @static */ public static function insertOrIgnoreUsing($columns, $query) { @@ -31209,8 +32187,8 @@ public static function insertOrIgnoreUsing($columns, $query) /** * Update records in a PostgreSQL database using the update from syntax. * - * @return int - * @static + * @return int + * @static */ public static function updateFrom($values) { @@ -31221,8 +32199,8 @@ public static function updateFrom($values) /** * Insert or update a record matching the attributes, and fill it with values. * - * @return bool - * @static + * @return bool + * @static */ public static function updateOrInsert($attributes, $values = []) { @@ -31235,9 +32213,9 @@ public static function updateOrInsert($attributes, $values = []) * * @param array $columns * @param array $extra - * @return int + * @return int<0, max> * @throws \InvalidArgumentException - * @static + * @static */ public static function incrementEach($columns, $extra = []) { @@ -31250,9 +32228,9 @@ public static function incrementEach($columns, $extra = []) * * @param array $columns * @param array $extra - * @return int + * @return int<0, max> * @throws \InvalidArgumentException - * @static + * @static */ public static function decrementEach($columns, $extra = []) { @@ -31261,10 +32239,10 @@ public static function decrementEach($columns, $extra = []) } /** - * Run a truncate statement on the table. + * Run a "truncate" statement on the table. * - * @return void - * @static + * @return void + * @static */ public static function truncate() { @@ -31275,8 +32253,8 @@ public static function truncate() /** * Get all of the query builder's columns in a text-only array with all expressions evaluated. * - * @return array - * @static + * @return list + * @static */ public static function getColumns() { @@ -31288,8 +32266,8 @@ public static function getColumns() * Create a raw database expression. * * @param mixed $value - * @return \Illuminate\Contracts\Database\Query\Expression - * @static + * @return \Illuminate\Contracts\Database\Query\Expression + * @static */ public static function raw($value) { @@ -31300,8 +32278,8 @@ public static function raw($value) /** * Get the current query value bindings in a flattened array. * - * @return array - * @static + * @return list + * @static */ public static function getBindings() { @@ -31312,8 +32290,17 @@ public static function getBindings() /** * Get the raw array of bindings. * - * @return array - * @static + * @return \Illuminate\Database\Query\array{ select: list, + * from: list, + * join: list, + * where: list, + * groupBy: list, + * having: list, + * order: list, + * union: list, + * unionOrder: list, + * } + * @static */ public static function getRawBindings() { @@ -31324,10 +32311,11 @@ public static function getRawBindings() /** * Set the bindings on the query builder. * - * @param string $type - * @return \Illuminate\Database\Eloquent\Builder + * @param list $bindings + * @param "select"|"from"|"join"|"where"|"groupBy"|"having"|"order"|"union"|"unionOrder" $type + * @return \Illuminate\Database\Eloquent\Builder * @throws \InvalidArgumentException - * @static + * @static */ public static function setBindings($bindings, $type = 'where') { @@ -31339,10 +32327,10 @@ public static function setBindings($bindings, $type = 'where') * Add a binding to the query. * * @param mixed $value - * @param string $type - * @return \Illuminate\Database\Eloquent\Builder + * @param "select"|"from"|"join"|"where"|"groupBy"|"having"|"order"|"union"|"unionOrder" $type + * @return \Illuminate\Database\Eloquent\Builder * @throws \InvalidArgumentException - * @static + * @static */ public static function addBinding($value, $type = 'where') { @@ -31354,8 +32342,8 @@ public static function addBinding($value, $type = 'where') * Cast the given binding value. * * @param mixed $value - * @return mixed - * @static + * @return mixed + * @static */ public static function castBinding($value) { @@ -31366,8 +32354,9 @@ public static function castBinding($value) /** * Merge an array of bindings into our bindings. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @param self $query + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function mergeBindings($query) { @@ -31378,8 +32367,9 @@ public static function mergeBindings($query) /** * Remove all of the expressions from a list of bindings. * - * @return array - * @static + * @param array $bindings + * @return list + * @static */ public static function cleanBindings($bindings) { @@ -31390,8 +32380,8 @@ public static function cleanBindings($bindings) /** * Get the database query processor instance. * - * @return \Illuminate\Database\Query\Processors\Processor - * @static + * @return \Illuminate\Database\Query\Processors\Processor + * @static */ public static function getProcessor() { @@ -31402,8 +32392,8 @@ public static function getProcessor() /** * Get the query grammar instance. * - * @return \Illuminate\Database\Query\Grammars\Grammar - * @static + * @return \Illuminate\Database\Query\Grammars\Grammar + * @static */ public static function getGrammar() { @@ -31414,8 +32404,8 @@ public static function getGrammar() /** * Use the "write" PDO connection when executing the query. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function useWritePdo() { @@ -31426,8 +32416,8 @@ public static function useWritePdo() /** * Clone the query without the given properties. * - * @return static - * @static + * @return static + * @static */ public static function cloneWithout($properties) { @@ -31438,8 +32428,8 @@ public static function cloneWithout($properties) /** * Clone the query without the given bindings. * - * @return static - * @static + * @return static + * @static */ public static function cloneWithoutBindings($except) { @@ -31451,8 +32441,8 @@ public static function cloneWithoutBindings($except) * Dump the current SQL and bindings. * * @param mixed $args - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function dump(...$args) { @@ -31463,8 +32453,8 @@ public static function dump(...$args) /** * Dump the raw current SQL with embedded bindings. * - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function dumpRawSql() { @@ -31475,8 +32465,8 @@ public static function dumpRawSql() /** * Die and dump the current SQL and bindings. * - * @return never - * @static + * @return never + * @static */ public static function dd() { @@ -31487,8 +32477,8 @@ public static function dd() /** * Die and dump the current SQL with embedded bindings. * - * @return never - * @static + * @return never + * @static */ public static function ddRawSql() { @@ -31500,8 +32490,8 @@ public static function ddRawSql() * Add a where clause to determine if a "date" column is in the past to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function wherePast($columns) { @@ -31513,8 +32503,8 @@ public static function wherePast($columns) * Add a where clause to determine if a "date" column is in the past or now to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNowOrPast($columns) { @@ -31526,8 +32516,8 @@ public static function whereNowOrPast($columns) * Add an "or where" clause to determine if a "date" column is in the past to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWherePast($columns) { @@ -31539,8 +32529,8 @@ public static function orWherePast($columns) * Add a where clause to determine if a "date" column is in the past or now to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNowOrPast($columns) { @@ -31552,8 +32542,8 @@ public static function orWhereNowOrPast($columns) * Add a where clause to determine if a "date" column is in the future to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereFuture($columns) { @@ -31565,8 +32555,8 @@ public static function whereFuture($columns) * Add a where clause to determine if a "date" column is in the future or now to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereNowOrFuture($columns) { @@ -31578,8 +32568,8 @@ public static function whereNowOrFuture($columns) * Add an "or where" clause to determine if a "date" column is in the future to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereFuture($columns) { @@ -31591,8 +32581,8 @@ public static function orWhereFuture($columns) * Add an "or where" clause to determine if a "date" column is in the future or now to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereNowOrFuture($columns) { @@ -31605,8 +32595,8 @@ public static function orWhereNowOrFuture($columns) * * @param array|string $columns * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereToday($columns, $boolean = 'and') { @@ -31618,8 +32608,8 @@ public static function whereToday($columns, $boolean = 'and') * Add a "where date" clause to determine if a "date" column is before today. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereBeforeToday($columns) { @@ -31631,8 +32621,8 @@ public static function whereBeforeToday($columns) * Add a "where date" clause to determine if a "date" column is today or before to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereTodayOrBefore($columns) { @@ -31644,8 +32634,8 @@ public static function whereTodayOrBefore($columns) * Add a "where date" clause to determine if a "date" column is after today. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereAfterToday($columns) { @@ -31657,8 +32647,8 @@ public static function whereAfterToday($columns) * Add a "where date" clause to determine if a "date" column is today or after to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function whereTodayOrAfter($columns) { @@ -31670,8 +32660,8 @@ public static function whereTodayOrAfter($columns) * Add an "or where date" clause to determine if a "date" column is today to the query. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereToday($columns) { @@ -31683,8 +32673,8 @@ public static function orWhereToday($columns) * Add an "or where date" clause to determine if a "date" column is before today. * * @param array|string $columns - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereBeforeToday($columns) { @@ -31696,9 +32686,8 @@ public static function orWhereBeforeToday($columns) * Add an "or where date" clause to determine if a "date" column is today or before to the query. * * @param array|string $columns - * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereTodayOrBefore($columns) { @@ -31710,9 +32699,8 @@ public static function orWhereTodayOrBefore($columns) * Add an "or where date" clause to determine if a "date" column is after today. * * @param array|string $columns - * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereAfterToday($columns) { @@ -31724,9 +32712,8 @@ public static function orWhereAfterToday($columns) * Add an "or where date" clause to determine if a "date" column is today or after to the query. * * @param array|string $columns - * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ public static function orWhereTodayOrAfter($columns) { @@ -31737,8 +32724,8 @@ public static function orWhereTodayOrAfter($columns) /** * Explains the query. * - * @return \Illuminate\Support\Collection - * @static + * @return \Illuminate\Support\Collection + * @static */ public static function explain() { @@ -31752,8 +32739,8 @@ public static function explain() * @param string $name * @param object|callable $macro * @param-closure-this static $macro - * @return void - * @static + * @return void + * @static */ public static function macro($name, $macro) { @@ -31765,9 +32752,9 @@ public static function macro($name, $macro) * * @param object $mixin * @param bool $replace - * @return void + * @return void * @throws \ReflectionException - * @static + * @static */ public static function mixin($mixin, $replace = true) { @@ -31777,8 +32764,8 @@ public static function mixin($mixin, $replace = true) /** * Flush the existing macros. * - * @return void - * @static + * @return void + * @static */ public static function flushMacros() { @@ -31790,9 +32777,9 @@ public static function flushMacros() * * @param string $method * @param array $parameters - * @return mixed + * @return mixed * @throws \BadMethodCallException - * @static + * @static */ public static function macroCall($method, $parameters) { @@ -31824,7 +32811,6 @@ class Str extends \Illuminate\Support\Str {} class URL extends \Illuminate\Support\Facades\URL {} class Validator extends \Illuminate\Support\Facades\Validator {} class View extends \Illuminate\Support\Facades\View {} - class EloquentSerialize extends \AnourValar\EloquentSerialize\Facades\EloquentSerializeFacade {} class Debugbar extends \Barryvdh\Debugbar\Facades\Debugbar {} class Horizon extends \Laravel\Horizon\Horizon {} class Livewire extends \Livewire\Livewire {} diff --git a/_ide_helper_models.php b/_ide_helper_models.php index 3f6de736..b1f0062b 100644 --- a/_ide_helper_models.php +++ b/_ide_helper_models.php @@ -13,8 +13,6 @@ namespace App\Models{ /** - * - * * @property int $id * @property string $name * @property string $color @@ -106,22 +104,23 @@ class Agency extends \Eloquent {} namespace App\Models{ /** - * - * * @property int $id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @property bool $is_active * @property string|null $icon * @property string $color - * @property bool $can_be_closed * @property array|null $title * @property array $subtitle * @property array|null $body + * @property \App\Enums\AlertCategory|null $category * @property string|null $action - * @property \ArrayObject|null $action_parameters - * @property string|null $expiration + * @property \Illuminate\Database\Eloquent\Casts\ArrayObject|null $action_parameters * @property string|null $image + * @property bool $is_regional + * @property \App\Enums\AlertStatus $status + * @property \Illuminate\Support\Carbon|null $new_status_date + * @property \App\Enums\AlertStatus|null $new_status + * @property-read array $translatable_columns_from * @property-read \Illuminate\Database\Eloquent\Collection $regions * @property-read int|null $regions_count * @property-read mixed $translations @@ -129,21 +128,24 @@ class Agency extends \Eloquent {} * @method static \Illuminate\Database\Eloquent\Builder|Alert newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Alert newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Alert query() + * @method static \Illuminate\Database\Eloquent\Builder|Alert visible() * @method static \Illuminate\Database\Eloquent\Builder|Alert whereAction($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereActionParameters($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereBody($value) - * @method static \Illuminate\Database\Eloquent\Builder|Alert whereCanBeClosed($value) + * @method static \Illuminate\Database\Eloquent\Builder|Alert whereCategory($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereColor($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Alert whereExpiration($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereIcon($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereImage($value) - * @method static \Illuminate\Database\Eloquent\Builder|Alert whereIsActive($value) + * @method static \Illuminate\Database\Eloquent\Builder|Alert whereIsRegional($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereJsonContainsLocale(string $column, string $locale, ?mixed $value, string $operand = '=') * @method static \Illuminate\Database\Eloquent\Builder|Alert whereJsonContainsLocales(string $column, array $locales, ?mixed $value, string $operand = '=') * @method static \Illuminate\Database\Eloquent\Builder|Alert whereLocale(string $column, string $locale) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereLocales(string $column, array $locales) + * @method static \Illuminate\Database\Eloquent\Builder|Alert whereNewStatus($value) + * @method static \Illuminate\Database\Eloquent\Builder|Alert whereNewStatusDate($value) + * @method static \Illuminate\Database\Eloquent\Builder|Alert whereStatus($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereSubtitle($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereTitle($value) * @method static \Illuminate\Database\Eloquent\Builder|Alert whereUpdatedAt($value) @@ -153,8 +155,64 @@ class Alert extends \Eloquent {} namespace App\Models{ /** - * - * + * @property int $id + * @property string $agency_id + * @property string $carriage_id + * @property string $vehicle_id + * @property string|null $label + * @property \BenSampo\Enum\Enum|null $occupancy_status + * @property int|null $sequence + * @property int|null $carriage_type_id + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \App\Models\Agency|null $agency + * @property-read \App\Models\CarriageType|null $carriageType + * @property-read mixed $displayed_label + * @property-read \App\Models\Vehicle|null $vehicle + * @method static \Illuminate\Database\Eloquent\Builder|Carriage newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Carriage newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Carriage query() + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereAgencyId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereCarriageId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereCarriageTypeId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereLabel($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereOccupancyStatus($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereSequence($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Carriage whereVehicleId($value) + */ + class Carriage extends \Eloquent {} +} + +namespace App\Models{ +/** + * @property int $id + * @property \App\Enums\CarriageCategory $carriage_category + * @property string $make + * @property string $model + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property array|null $automatic_mappings + * @property-read \Illuminate\Database\Eloquent\Collection $carriages + * @property-read int|null $carriages_count + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType query() + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType whereAutomaticMappings($value) + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType whereCarriageCategory($value) + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType whereMake($value) + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType whereModel($value) + * @method static \Illuminate\Database\Eloquent\Builder|CarriageType whereUpdatedAt($value) + */ + class CarriageType extends \Eloquent {} +} + +namespace App\Models{ +/** * @property int $id * @property string $name * @property int|null $agency_id @@ -179,8 +237,6 @@ class FailedJob extends \Eloquent {} namespace App\Models\Gtfs{ /** - * - * * @property int $id * @property string $agency_id * @property string $gtfs_route_id @@ -211,8 +267,6 @@ class Route extends \Eloquent {} namespace App\Models\Gtfs{ /** - * - * * @property int $id * @property string $gtfs_service_id * @property int $monday @@ -253,8 +307,6 @@ class Service extends \Eloquent {} namespace App\Models\Gtfs{ /** - * - * * @property int $id * @property int $agency_id * @property string $gtfs_shape_id @@ -300,8 +352,6 @@ class Shape extends \Eloquent {} namespace App\Models\Gtfs{ /** - * - * * @property int $id * @property int $agency_id * @property string $gtfs_stop_id @@ -348,8 +398,6 @@ class Stop extends \Eloquent {} namespace App\Models\Gtfs{ /** - * - * * @property int $id * @property int $agency_id * @property string $gtfs_trip_id @@ -377,8 +425,6 @@ class StopTime extends \Eloquent {} namespace App\Models\Gtfs{ /** - * - * * @property int $id * @property int|null $agency_id * @property string $gtfs_trip_id @@ -421,8 +467,6 @@ class Trip extends \Eloquent {} namespace App\Models{ /** - * - * * @property int $id * @property string $internal_title * @property array $title @@ -433,6 +477,7 @@ class Trip extends \Eloquent {} * @property int $is_active * @property-read \Illuminate\Database\Eloquent\Collection $agencies * @property-read int|null $agencies_count + * @property-read array $translatable_columns_from * @property-read mixed $translations * @property-read \Illuminate\Database\Eloquent\Collection $vehicles * @property-read int|null $vehicles_count @@ -458,8 +503,6 @@ class Link extends \Eloquent {} namespace App\Models{ /** - * - * * @property int $id * @property string $uuid * @property bool $is_active @@ -498,15 +541,13 @@ class NotificationUser extends \Eloquent implements \Illuminate\Contracts\Transl namespace App\Models{ /** - * - * * @property int $id * @property string $name * @property string $slug * @property array|null $info_title * @property array|null $info_body * @property array $map_box - * @property \ArrayObject $map_center + * @property \Illuminate\Database\Eloquent\Casts\ArrayObject $map_center * @property int $map_zoom * @property array $credits * @property \Illuminate\Support\Carbon|null $created_at @@ -523,6 +564,7 @@ class NotificationUser extends \Eloquent implements \Illuminate\Contracts\Transl * @property-read \Illuminate\Database\Eloquent\Collection $alerts * @property-read int|null $alerts_count * @property-read array $cities + * @property-read array $translatable_columns_from * @property-read \Illuminate\Database\Eloquent\Collection $stats * @property-read int|null $stats_count * @property-read mixed $translations @@ -553,8 +595,6 @@ class Region extends \Eloquent {} namespace App\Models{ /** - * - * * @property int $id * @property string $type * @property object $data @@ -577,8 +617,6 @@ class Stat extends \Eloquent {} namespace App\Models{ /** - * - * * @property int $id * @property array $label * @property array|null $short_label @@ -597,6 +635,7 @@ class Stat extends \Eloquent {} * @property-read int|null $agencies_count * @property-read \Illuminate\Database\Eloquent\Collection $exoVinVehicles * @property-read int|null $exo_vin_vehicles_count + * @property-read array $translatable_columns_from * @property-read mixed $translations * @property-read \Illuminate\Database\Eloquent\Collection $vehicles * @property-read int|null $vehicles_count @@ -628,8 +667,6 @@ class Tag extends \Eloquent {} namespace App\Models{ /** - * - * * @property int $id * @property string $name * @property string $email @@ -638,6 +675,8 @@ class Tag extends \Eloquent {} * @property string|null $remember_token * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $actions + * @property-read int|null $actions_count * @property-read \Illuminate\Notifications\DatabaseNotificationCollection $notifications * @property-read int|null $notifications_count * @property-read \Illuminate\Database\Eloquent\Collection $roles @@ -660,8 +699,6 @@ class User extends \Eloquent implements \Filament\Models\Contracts\FilamentUser namespace App\Models{ /** - * - * * @property int $id * @property int|null $agency_id * @property string|null $gtfs_trip @@ -691,7 +728,11 @@ class User extends \Eloquent implements \Filament\Models\Contracts\FilamentUser * @property string|null $force_vehicle_id * @property-read \Illuminate\Database\Eloquent\Collection $activeLinks * @property-read int|null $active_links_count + * @property-read \Illuminate\Database\Eloquent\Collection $activities + * @property-read int|null $activities_count * @property-read \App\Models\Agency|null $agency + * @property-read \Illuminate\Database\Eloquent\Collection $carriages + * @property-read int|null $carriages_count * @property-read string $displayed_label * @property-read string $ref * @property-read \App\Models\Gtfs\Route|null $gtfsRoute @@ -768,8 +809,6 @@ class Vehicle extends \Eloquent {} namespace App\Models\Vin{ /** - * - * * @property string $vin * @property string $make * @property string $model @@ -805,8 +844,6 @@ class Information extends \Eloquent {} namespace App\Models\Vin{ /** - * - * * @property-read \Illuminate\Database\Eloquent\Collection $vehicles * @property-read int|null $vehicles_count * @method static \Illuminate\Database\Eloquent\Builder|Suggestion newModelQuery() @@ -815,4 +852,3 @@ class Information extends \Eloquent {} */ class Suggestion extends \Eloquent {} } - diff --git a/app/Actions/HandleExpiredGtfs.php b/app/Actions/HandleExpiredGtfs.php index 26195b42..dd087770 100755 --- a/app/Actions/HandleExpiredGtfs.php +++ b/app/Actions/HandleExpiredGtfs.php @@ -12,9 +12,7 @@ class HandleExpiredGtfs { - public function __construct(private Agency $agency) - { - } + public function __construct(private Agency $agency) {} public function execute() { diff --git a/app/Actions/HandleExpiredRealtimeData.php b/app/Actions/HandleExpiredRealtimeData.php index e846d63d..2406a634 100755 --- a/app/Actions/HandleExpiredRealtimeData.php +++ b/app/Actions/HandleExpiredRealtimeData.php @@ -12,9 +12,7 @@ class HandleExpiredRealtimeData { - public function __construct(private Agency $agency) - { - } + public function __construct(private Agency $agency) {} public function execute() { diff --git a/app/Authorizer/ActivityLogAuthorizer.php b/app/Authorizer/ActivityLogAuthorizer.php new file mode 100644 index 00000000..200fc70e --- /dev/null +++ b/app/Authorizer/ActivityLogAuthorizer.php @@ -0,0 +1,13 @@ +isAdmin(); + } +} diff --git a/app/Console/Commands/RealtimeData/SyncGoTransitCarriages.php b/app/Console/Commands/RealtimeData/SyncGoTransitCarriages.php new file mode 100644 index 00000000..809756d8 --- /dev/null +++ b/app/Console/Commands/RealtimeData/SyncGoTransitCarriages.php @@ -0,0 +1,36 @@ +onQueue('default'); + + $this->newLine(); + $this->info('Carriage sync launched for GO Transit!'); + + return Command::SUCCESS; + } +} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 3c03c726..6465abf7 100755 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -4,6 +4,7 @@ use App\Jobs\CleanFolders; use App\Jobs\RealtimeData\CheckTimestamps; +use App\Jobs\RealtimeData\SyncGoTransitCarriageDetails; use App\Jobs\Tags\SyncTagsWithFleetStats; use App\Jobs\UpdateAlertsStatus; use App\Models\FailedJob; @@ -29,17 +30,18 @@ class Kernel extends ConsoleKernel protected function schedule(Schedule $schedule): void { $schedule->command('realtime:update')->everyMinute()->unlessBetween('03:34', '03:56'); - $schedule->job(new CheckTimestamps(), 'default')->everyThreeMinutes(); - $schedule->job(new SyncTagsWithFleetStats(), 'default')->everyTwoHours(); + $schedule->job(new CheckTimestamps, 'default')->everyThreeMinutes(); + $schedule->job(new SyncGoTransitCarriageDetails, 'default')->everyFiveMinutes(); + $schedule->job(new SyncTagsWithFleetStats, 'default')->everyTwoHours(); $schedule->command('schedule-monitor:sync')->dailyAt('02:45'); $schedule->command('model:prune', ['--model' => [Shape::class, FailedJob::class, MonitoredScheduledTaskLogItem::class]])->dailyAt('02:50'); $schedule->command('static:update')->dailyAt('03:00'); - $schedule->job(new CleanFolders(), 'static')->dailyAt('03:55'); + $schedule->job(new CleanFolders, 'static')->dailyAt('03:55'); $schedule->command('horizon:snapshot')->everyFiveMinutes(); $schedule->command('cache:prune-stale-tags')->hourly(); $schedule->command('queue:prune-batches')->daily(); $schedule->command('queue:prune-failed')->daily(); - $schedule->job(new UpdateAlertsStatus(), 'default')->dailyAt('00:15'); + $schedule->job(new UpdateAlertsStatus, 'default')->dailyAt('00:15'); } /** diff --git a/app/Enums/AlertCategory.php b/app/Enums/AlertCategory.php index d9fbe394..e883f9e3 100644 --- a/app/Enums/AlertCategory.php +++ b/app/Enums/AlertCategory.php @@ -20,7 +20,7 @@ public function getLabel(): string return match ($this) { self::Update => 'Version Update', self::NewAgency => 'New Agency', - self::Maintenance => 'App Maintenacne', + self::Maintenance => 'App Maintenance', self::StatusUpdate => 'App Status Update', }; } diff --git a/app/Enums/CarriageCategory.php b/app/Enums/CarriageCategory.php new file mode 100644 index 00000000..8884f30b --- /dev/null +++ b/app/Enums/CarriageCategory.php @@ -0,0 +1,23 @@ + 'Locomotive', + self::Coach => 'Coach', + self::CabCar => 'Cab Car', + }; + } +} diff --git a/app/Enums/RegionImageStatus.php b/app/Enums/RegionImageStatus.php new file mode 100644 index 00000000..49ed48ac --- /dev/null +++ b/app/Enums/RegionImageStatus.php @@ -0,0 +1,19 @@ +schema([ + return $schema + ->components([ Group::make()->columnSpan(['lg' => 2])->schema([ Section::make()->schema([ TextInput::make('name') @@ -145,10 +147,10 @@ public static function table(Table $table): Table ->toggleable(), TextColumn::make('regions.name'), ]) - ->actions([ + ->recordActions([ ReplicateAction::make() ->excludeAttributes(['slug', 'is_active', 'refresh_is_active']) - ->form([ + ->schema([ TextInput::make('slug')->required(), Toggle::make('is_active')->default(false), Toggle::make('refresh_is_active')->default(false), @@ -157,7 +159,7 @@ public static function table(Table $table): Table $replica->fill($data); }), ]) - ->bulkActions([ + ->toolbarActions([ BulkAction::make('generateMapboxIcon') ->requiresConfirmation() ->form([ @@ -195,9 +197,9 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => Pages\ListAgencies::route('/'), - 'create' => Pages\CreateAgency::route('/create'), - 'edit' => Pages\EditAgency::route('/{record}/edit'), + 'index' => ListAgencies::route('/'), + 'create' => CreateAgency::route('/create'), + 'edit' => EditAgency::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Resources/AgencyResource/Pages/CreateAgency.php b/app/Filament/Resources/Agencies/Pages/CreateAgency.php similarity index 61% rename from app/Filament/Resources/AgencyResource/Pages/CreateAgency.php rename to app/Filament/Resources/Agencies/Pages/CreateAgency.php index 60881cfd..62e0ac0c 100644 --- a/app/Filament/Resources/AgencyResource/Pages/CreateAgency.php +++ b/app/Filament/Resources/Agencies/Pages/CreateAgency.php @@ -1,8 +1,8 @@ form([ + ->schema([ Toggle::make('forceRefresh'), CheckboxList::make('files')->options([ 'calendar.txt' => 'calendar.txt', diff --git a/app/Filament/Resources/AgencyResource/Pages/ListAgencies.php b/app/Filament/Resources/Agencies/Pages/ListAgencies.php similarity index 75% rename from app/Filament/Resources/AgencyResource/Pages/ListAgencies.php rename to app/Filament/Resources/Agencies/Pages/ListAgencies.php index d6968c7d..005bc984 100644 --- a/app/Filament/Resources/AgencyResource/Pages/ListAgencies.php +++ b/app/Filament/Resources/Agencies/Pages/ListAgencies.php @@ -1,8 +1,8 @@ schema([ - Forms\Components\TextInput::make('internal_title') + return $schema + ->components([ + TextInput::make('internal_title') ->required() ->maxLength(255), ]); @@ -30,19 +33,19 @@ public function table(Table $table): Table { return $table ->columns([ - Tables\Columns\TextColumn::make('internal_title'), + TextColumn::make('internal_title'), ]) ->filters([ // ]) ->headerActions([ - Tables\Actions\AssociateAction::make(), + AssociateAction::make(), ]) - ->actions([ - Tables\Actions\DissociateAction::make(), + ->recordActions([ + DissociateAction::make(), ]) - ->bulkActions([ - Tables\Actions\DissociateBulkAction::make(), + ->toolbarActions([ + DissociateBulkAction::make(), ]); } } diff --git a/app/Filament/Resources/AgencyResource/RelationManagers/RegionsRelationManager.php b/app/Filament/Resources/Agencies/RelationManagers/RegionsRelationManager.php similarity index 64% rename from app/Filament/Resources/AgencyResource/RelationManagers/RegionsRelationManager.php rename to app/Filament/Resources/Agencies/RelationManagers/RegionsRelationManager.php index 1873b73d..ec7489a4 100644 --- a/app/Filament/Resources/AgencyResource/RelationManagers/RegionsRelationManager.php +++ b/app/Filament/Resources/Agencies/RelationManagers/RegionsRelationManager.php @@ -1,9 +1,11 @@ headerActions([ - Tables\Actions\AttachAction::make(), + AttachAction::make(), ]) - ->actions([ - Tables\Actions\DetachAction::make(), + ->recordActions([ + DetachAction::make(), ]) - ->bulkActions([ - Tables\Actions\DetachBulkAction::make(), + ->toolbarActions([ + DetachBulkAction::make(), ]); } } diff --git a/app/Filament/Resources/AlertResource.php b/app/Filament/Resources/Alerts/AlertResource.php similarity index 82% rename from app/Filament/Resources/AlertResource.php rename to app/Filament/Resources/Alerts/AlertResource.php index 2876842e..c3699045 100644 --- a/app/Filament/Resources/AlertResource.php +++ b/app/Filament/Resources/Alerts/AlertResource.php @@ -1,32 +1,35 @@ schema([ + return $schema + ->components([ Group::make() ->columnSpan(['lg' => 2]) ->schema([ @@ -130,12 +133,12 @@ public static function table(Table $table): Table { return $table ->columns([ - Tables\Columns\TextColumn::make('status')->badge(), - Tables\Columns\TextColumn::make('title') + TextColumn::make('status')->badge(), + TextColumn::make('title') ->description(fn (Alert $record): string => $record->subtitle), - Tables\Columns\TextColumn::make('category')->badge(), - Tables\Columns\TextColumn::make('regions_count')->counts('regions'), - Tables\Columns\TextColumn::make('created_at')->since(), + TextColumn::make('category')->badge(), + TextColumn::make('regions_count')->counts('regions'), + TextColumn::make('created_at')->since(), ]) ->filters([ SelectFilter::make('status') @@ -143,8 +146,8 @@ public static function table(Table $table): Table SelectFilter::make('category') ->options(AlertCategory::class), ]) - ->actions([ - Tables\Actions\EditAction::make(), + ->recordActions([ + EditAction::make(), ]) ->defaultSort('created_at', 'desc'); } @@ -159,9 +162,9 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => Pages\ListAlerts::route('/'), - 'create' => Pages\CreateAlert::route('/create'), - 'edit' => Pages\EditAlert::route('/{record}/edit'), + 'index' => ListAlerts::route('/'), + 'create' => CreateAlert::route('/create'), + 'edit' => EditAlert::route('/{record}/edit'), ]; } diff --git a/app/Filament/Resources/AlertResource/Pages/CreateAlert.php b/app/Filament/Resources/Alerts/Pages/CreateAlert.php similarity index 52% rename from app/Filament/Resources/AlertResource/Pages/CreateAlert.php rename to app/Filament/Resources/Alerts/Pages/CreateAlert.php index f2b83773..8f81f4ea 100644 --- a/app/Filament/Resources/AlertResource/Pages/CreateAlert.php +++ b/app/Filament/Resources/Alerts/Pages/CreateAlert.php @@ -1,14 +1,15 @@ regions->first()?->id : null, ]) - ->form([ + ->schema([ Select::make('region') ->options(Region::pluck('name', 'id')) ->placeholder('None - Open in user\'s active region') diff --git a/app/Filament/Resources/AlertResource/Pages/ListAlerts.php b/app/Filament/Resources/Alerts/Pages/ListAlerts.php similarity index 60% rename from app/Filament/Resources/AlertResource/Pages/ListAlerts.php rename to app/Filament/Resources/Alerts/Pages/ListAlerts.php index f692a340..8f502c13 100644 --- a/app/Filament/Resources/AlertResource/Pages/ListAlerts.php +++ b/app/Filament/Resources/Alerts/Pages/ListAlerts.php @@ -1,16 +1,17 @@ components([ + ToggleButtons::make('carriage_category') + ->options(CarriageCategory::class) + ->columnSpanFull() + ->inline(), + TextInput::make('make'), + TextInput::make('model'), + Repeater::make('automatic_mappings') + ->schema([ + Select::make('agency_id') + ->label('Agency') + ->options(Agency::select('id', 'short_name')->get()->pluck('short_name', 'id')) + ->required(), + TextInput::make('min') + ->label('Minimum value') + ->integer() + ->required(), + TextInput::make('max') + ->label('Maximum value') + ->integer() + ->required(), + ]) + ->columns(3) + ->columnSpanFull() + ->reorderable(false) + ->addActionAlignment(Alignment::Start) + ->cloneable(), + ]); + } + + public static function table(Table $table): Table + { + return $table + ->columns([ + TextColumn::make('carriage_category'), + TextColumn::make('make'), + TextColumn::make('model'), + ]) + ->filters([ + // + ]) + ->recordActions([ + EditAction::make(), + DeleteAction::make(), + ]) + ->toolbarActions([ + BulkActionGroup::make([ + DeleteBulkAction::make(), + ]), + ]); + } + + public static function getPages(): array + { + return [ + 'index' => ManageCarriageTypes::route('/'), + ]; + } +} diff --git a/app/Filament/Resources/CarriageTypes/Pages/ManageCarriageTypes.php b/app/Filament/Resources/CarriageTypes/Pages/ManageCarriageTypes.php new file mode 100644 index 00000000..6474c04e --- /dev/null +++ b/app/Filament/Resources/CarriageTypes/Pages/ManageCarriageTypes.php @@ -0,0 +1,19 @@ +components([ + + ]); + } + + public static function table(Table $table): Table + { + return $table + ->columns([ + TextColumn::make('agency.name'), + TextColumn::make('carriage_id') + ->sortable(), + TextColumn::make('label'), + TextColumn::make('carriageType.make') + ->label('Make'), + TextColumn::make('carriageType.model') + ->label('Model'), + TextColumn::make('carriageType.carriage_category') + ->label('Category'), + ]) + ->filters([ + // + ]) + ->recordActions([ + ]) + ->toolbarActions([ + BulkAction::make('assignCarriageType') + ->form([ + Select::make('carriageTypeId') + ->label('Carriage Type') + ->relationship( + name: 'carriageType', + titleAttribute: 'model', + ) + ->getOptionLabelFromRecordUsing( + fn (CarriageType $record) => "{$record->make} {$record->model} [{$record->carriage_category->name}]" + ) + ->searchable() + ->preload() + ->required(), + ]) + ->action(function (array $data, Collection $records): void { + Carriage::whereKey($records->pluck('id')) + ->update([ + 'carriage_type_id' => $data['carriageTypeId'], + ]); + }), + ]); + } + + public static function getRelations(): array + { + return [ + // + ]; + } + + public static function getPages(): array + { + return [ + 'index' => ListCarriages::route('/'), + ]; + } +} diff --git a/app/Filament/Resources/Carriages/Pages/CreateCarriage.php b/app/Filament/Resources/Carriages/Pages/CreateCarriage.php new file mode 100644 index 00000000..36065c0a --- /dev/null +++ b/app/Filament/Resources/Carriages/Pages/CreateCarriage.php @@ -0,0 +1,11 @@ +schema([ - Forms\Components\Toggle::make('is_active') - ->default(true) - ->columnSpan(4) - ->inline(false), - Forms\Components\TextInput::make('internal_title') - ->required() - ->columnSpan(2), - Forms\Components\TextInput::make('title') - ->required() - ->columnSpan(3), - Forms\Components\TextInput::make('description') - ->required() - ->columnSpan(3), - Forms\Components\TextInput::make('link') - ->required() - ->helperText(str('Available dynamic variable: `:id`, `:ref`, `:trip`')->inlineMarkdown()->toHtmlString()) - ->columnSpanFull(), - Forms\Components\Select::make('agencies') - ->multiple() - ->relationship('agencies', 'short_name') - ->label('Applies to new vehicles from agencies') - ->columnSpanFull(), - ]) - ->columns(6); - } - - public static function table(Table $table): Table - { - return $table - ->columns([ - Tables\Columns\TextColumn::make('internal_title'), - Tables\Columns\TextColumn::make('link'), - Tables\Columns\IconColumn::make('is_active')->boolean(), - Tables\Columns\TextColumn::make('agencies_count')->counts('agencies'), - Tables\Columns\TextColumn::make('vehicles_count')->counts('vehicles'), - ]) - ->filters([ - // - ]); - } - - public static function getRelations(): array - { - return [ - VehiclesRelationManager::class, - ]; - } - - public static function getPages(): array - { - return [ - 'index' => Pages\ListLinks::route('/'), - 'create' => Pages\CreateLink::route('/create'), - 'edit' => Pages\EditLink::route('/{record}/edit'), - ]; - } -} diff --git a/app/Filament/Resources/Links/LinkResource.php b/app/Filament/Resources/Links/LinkResource.php new file mode 100644 index 00000000..f1c634b9 --- /dev/null +++ b/app/Filament/Resources/Links/LinkResource.php @@ -0,0 +1,128 @@ +components([ + Group::make() + ->columnSpan(['lg' => 2]) + ->schema([ + Section::make() + ->columns(3) + ->schema([ + TextInput::make('internal_title') + ->required(), + TextInput::make('title') + ->required() + ->columnSpan(2), + TextInput::make('description') + ->required() + ->columnSpanFull(), + + TextInput::make('link') + ->required() + ->helperText(str('Available dynamic variable: `:id`, `:ref`, `:trip`')->inlineMarkdown()->toHtmlString()) + ->columnSpanFull(), + ]), + Section::make('Default associations') + ->schema([ + Select::make('agencies') + ->multiple() + ->relationship('agencies', 'short_name') + ->label('Applies to new vehicles from agencies') + ->columnSpanFull(), + + ]), + ]), + Group::make() + ->schema([ + Section::make() + ->schema([ + Toggle::make('is_active') + ->default(true) + ->columnSpan(4) + ->inline(false), + ]), + Section::make() + ->schema([ + Placeholder::make('id') + ->label('ID') + ->content(fn (Link $record): string => $record->id), + Placeholder::make('created_at') + ->label('Created') + ->content(fn (Link $record): ?string => $record->created_at?->diffForHumans()), + Placeholder::make('updated_at') + ->label('Last modified') + ->content(fn (Link $record): ?string => $record->updated_at?->diffForHumans()), + + ])->hidden(fn (?Link $record) => $record === null), + ])->columnSpan(['lg' => 1]), + ])->columns(3); + } + + public static function table(Table $table): Table + { + return $table + ->columns([ + TextColumn::make('internal_title'), + TextColumn::make('link'), + IconColumn::make('is_active')->boolean(), + TextColumn::make('agencies_count')->counts('agencies'), + TextColumn::make('vehicles_count')->counts('vehicles'), + ]) + ->filters([ + // + ]); + } + + public static function getRelations(): array + { + return [ + VehiclesRelationManager::class, + ]; + } + + public static function getPages(): array + { + return [ + 'index' => ListLinks::route('/'), + 'create' => CreateLink::route('/create'), + 'edit' => EditLink::route('/{record}/edit'), + ]; + } +} diff --git a/app/Filament/Resources/LinkResource/Pages/CreateLink.php b/app/Filament/Resources/Links/Pages/CreateLink.php similarity index 52% rename from app/Filament/Resources/LinkResource/Pages/CreateLink.php rename to app/Filament/Resources/Links/Pages/CreateLink.php index 1de881f4..0113f7fb 100644 --- a/app/Filament/Resources/LinkResource/Pages/CreateLink.php +++ b/app/Filament/Resources/Links/Pages/CreateLink.php @@ -1,14 +1,15 @@ columns([ - Tables\Columns\TextColumn::make('agency.short_name'), - Tables\Columns\TextColumn::make('displayed_label'), + TextColumn::make('agency.short_name'), + TextColumn::make('displayed_label'), ]) ->filters([ // ]) ->headerActions([ - Tables\Actions\AssociateAction::make(), + AssociateAction::make(), ]) - ->actions([ - Tables\Actions\DissociateAction::make(), + ->recordActions([ + DissociateAction::make(), ]) - ->bulkActions([ - Tables\Actions\DissociateBulkAction::make(), + ->toolbarActions([ + DissociateBulkAction::make(), ]); } } diff --git a/app/Filament/Resources/RegionImageResource.php b/app/Filament/Resources/RegionImageResource.php new file mode 100644 index 00000000..5cf22a01 --- /dev/null +++ b/app/Filament/Resources/RegionImageResource.php @@ -0,0 +1,128 @@ +schema([ + Select::make('region_id') + ->relationship('region', 'name') + ->required(), + TextInput::make('author_name') + ->required(), + TextInput::make('author_email') + ->email() + ->required(), + TextInput::make('author_link') + ->url(), + Textarea::make('description') + ->required() + ->columnSpanFull(), + FileUpload::make('image_path') + ->image() + ->disk('public') + ->directory('content/regions') + ->columnSpanFull() + ->required(), + Select::make('status') + ->options(RegionImageStatus::asSelectArray()) + ->required(), + ]); + } + + public static function table(Table $table): Table + { + return $table + ->columns([ + ImageColumn::make('image_path') + ->disk('public'), + TextColumn::make('region.name') + ->sortable(), + TextColumn::make('author_name') + ->searchable(), + TextColumn::make('author_email') + ->searchable(), + TextColumn::make('status') + ->badge() + ->color(fn (RegionImageStatus $state): string => match ($state->value) { + RegionImageStatus::Pending => 'warning', + RegionImageStatus::Accepted => 'success', + RegionImageStatus::Rejected => 'danger', + default => 'gray', + }), + TextColumn::make('created_at') + ->dateTime() + ->sortable() + ->toggleable(isToggledHiddenByDefault: true), + ]) + ->defaultSort('created_at', 'desc') + ->filters([ + SelectFilter::make('status') + ->options(RegionImageStatus::asSelectArray()), + SelectFilter::make('region_id') + ->relationship('region', 'name'), + ]) + ->actions([ + Action::make('accept') + ->icon('gmdi-check') + ->color('success') + ->requiresConfirmation() + ->visible(fn (RegionImage $record): bool => $record->status->value !== RegionImageStatus::Accepted) + ->action(function (RegionImage $record) { + $record->update(['status' => RegionImageStatus::Accepted]); + $record->region->update(['active_image_id' => $record->id]); + }), + Action::make('reject') + ->icon('gmdi-close') + ->color('danger') + ->requiresConfirmation() + ->visible(fn (RegionImage $record): bool => $record->status->value === RegionImageStatus::Pending) + ->action(fn (RegionImage $record) => $record->update(['status' => RegionImageStatus::Rejected])), + EditAction::make(), + ]) + ->bulkActions([ + // + ]); + } + + public static function getRelations(): array + { + return [ + // + ]; + } + + public static function getPages(): array + { + return [ + 'index' => Pages\ListRegionImages::route('/'), + 'create' => Pages\CreateRegionImage::route('/create'), + 'edit' => Pages\EditRegionImage::route('/{record}/edit'), + ]; + } +} diff --git a/app/Filament/Resources/RegionResource/Pages/CreateRegion.php b/app/Filament/Resources/Regions/Pages/CreateRegion.php similarity index 52% rename from app/Filament/Resources/RegionResource/Pages/CreateRegion.php rename to app/Filament/Resources/Regions/Pages/CreateRegion.php index bad47c1b..abc47da3 100644 --- a/app/Filament/Resources/RegionResource/Pages/CreateRegion.php +++ b/app/Filament/Resources/Regions/Pages/CreateRegion.php @@ -1,14 +1,15 @@ schema([ - Split::make([ + return $schema + ->components([ + Flex::make([ Section::make([ TextInput::make('name')->columnSpan(4) ->required(), @@ -99,6 +101,7 @@ public static function form(Form $form): Form ->required(), Section::make('Deprecated field') ->collapsed() + ->columnSpanFull() ->schema([ TextInput::make('info_title') ->hint('Deprecated') @@ -144,9 +147,9 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => Pages\ListRegions::route('/'), - 'create' => Pages\CreateRegion::route('/create'), - 'edit' => Pages\EditRegion::route('/{record}/edit'), + 'index' => ListRegions::route('/'), + 'create' => CreateRegion::route('/create'), + 'edit' => EditRegion::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Resources/RegionResource/RelationManagers/AgenciesRelationManager.php b/app/Filament/Resources/Regions/RelationManagers/AgenciesRelationManager.php similarity index 59% rename from app/Filament/Resources/RegionResource/RelationManagers/AgenciesRelationManager.php rename to app/Filament/Resources/Regions/RelationManagers/AgenciesRelationManager.php index a8962e88..e83727fb 100644 --- a/app/Filament/Resources/RegionResource/RelationManagers/AgenciesRelationManager.php +++ b/app/Filament/Resources/Regions/RelationManagers/AgenciesRelationManager.php @@ -1,10 +1,12 @@ schema([ + return $schema + ->components([ // ]); } @@ -33,13 +35,13 @@ public function table(Table $table): Table // ]) ->headerActions([ - Tables\Actions\AttachAction::make(), + AttachAction::make(), ]) - ->actions([ - Tables\Actions\DetachAction::make(), + ->recordActions([ + DetachAction::make(), ]) - ->bulkActions([ - Tables\Actions\DetachBulkAction::make(), + ->toolbarActions([ + DetachBulkAction::make(), ]); } } diff --git a/app/Filament/Resources/TagResource/RelationManagers/AgenciesRelationManager.php b/app/Filament/Resources/TagResource/RelationManagers/AgenciesRelationManager.php deleted file mode 100644 index 60bcb7f8..00000000 --- a/app/Filament/Resources/TagResource/RelationManagers/AgenciesRelationManager.php +++ /dev/null @@ -1,46 +0,0 @@ -schema([ - Forms\Components\TextInput::make('name') - ->required() - ->maxLength(255), - ]); - } - - public function table(Table $table): Table - { - return $table - ->columns([ - Tables\Columns\TextColumn::make('name'), - ]) - ->filters([ - // - ]) - ->headerActions([ - Tables\Actions\AttachAction::make(), - ]) - ->actions([ - Tables\Actions\DetachAction::make(), - ]) - ->bulkActions([ - Tables\Actions\DetachBulkAction::make(), - ]); - } -} diff --git a/app/Filament/Resources/TagResource/Pages/CreateTag.php b/app/Filament/Resources/Tags/Pages/CreateTag.php similarity index 56% rename from app/Filament/Resources/TagResource/Pages/CreateTag.php rename to app/Filament/Resources/Tags/Pages/CreateTag.php index 66d76d39..6c1530b5 100644 --- a/app/Filament/Resources/TagResource/Pages/CreateTag.php +++ b/app/Filament/Resources/Tags/Pages/CreateTag.php @@ -1,11 +1,11 @@ components([ + TextInput::make('name') + ->required() + ->maxLength(255), + ]); + } + + public function table(Table $table): Table + { + return $table + ->columns([ + TextColumn::make('name'), + ]) + ->filters([ + // + ]) + ->headerActions([ + AttachAction::make(), + ]) + ->recordActions([ + DetachAction::make(), + ]) + ->toolbarActions([ + DetachBulkAction::make(), + ]); + } +} diff --git a/app/Filament/Resources/TagResource/RelationManagers/VehiclesRelationManager.php b/app/Filament/Resources/Tags/RelationManagers/VehiclesRelationManager.php similarity index 51% rename from app/Filament/Resources/TagResource/RelationManagers/VehiclesRelationManager.php rename to app/Filament/Resources/Tags/RelationManagers/VehiclesRelationManager.php index 3f4a1e2b..045360ac 100644 --- a/app/Filament/Resources/TagResource/RelationManagers/VehiclesRelationManager.php +++ b/app/Filament/Resources/Tags/RelationManagers/VehiclesRelationManager.php @@ -1,9 +1,12 @@ columns([ - Tables\Columns\TextColumn::make('agency.short_name'), - Tables\Columns\TextColumn::make('displayed_label'), + TextColumn::make('agency.short_name'), + TextColumn::make('displayed_label'), ]) ->filters([ // ]) ->headerActions([ - Tables\Actions\AttachAction::make(), + AttachAction::make(), ]) - ->actions([ - Tables\Actions\DetachAction::make(), + ->recordActions([ + DetachAction::make(), ]) - ->bulkActions([ - Tables\Actions\DetachBulkAction::make(), + ->toolbarActions([ + DetachBulkAction::make(), ]); } } diff --git a/app/Filament/Resources/TagResource.php b/app/Filament/Resources/Tags/TagResource.php similarity index 75% rename from app/Filament/Resources/TagResource.php rename to app/Filament/Resources/Tags/TagResource.php index 7eace399..023ece66 100644 --- a/app/Filament/Resources/TagResource.php +++ b/app/Filament/Resources/Tags/TagResource.php @@ -1,28 +1,30 @@ schema([ + return $schema + ->components([ Group::make()->columnSpan(['lg' => 2])->schema([ - Card::make()->columns(3)->schema([ + Section::make()->columns(3)->schema([ TextInput::make('label') ->required() ->columnSpan(2), TextInput::make('short_label') ->reactive() - ->afterStateUpdated(function (\Filament\Forms\Set $set, $state) { + ->afterStateUpdated(function (Set $set, $state) { $set('slug', Str::slug($state)); }), TextInput::make('description') @@ -60,14 +62,14 @@ public static function form(Form $form): Form ColorPicker::make('color') ->required() ->reactive() - ->afterStateUpdated(function (\Filament\Forms\Set $set, $state) { + ->afterStateUpdated(function (Set $set, $state) { $set('dark_color', $state); }), ColorPicker::make('dark_color')->required(), ColorPicker::make('text_color') ->required() ->reactive() - ->afterStateUpdated(function (\Filament\Forms\Set $set, $state) { + ->afterStateUpdated(function (Set $set, $state) { $set('dark_text_color', $state); }), ColorPicker::make('dark_text_color'), @@ -76,11 +78,11 @@ public static function form(Form $form): Form ]), Group::make() ->schema([ - Card::make() + Section::make() ->schema([ Select::make('type')->options(TagType::asFlippedArray()), ]), - Card::make() + Section::make() ->schema([ Placeholder::make('id') ->label('ID') @@ -122,9 +124,9 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => Pages\ListTags::route('/'), - 'create' => Pages\CreateTag::route('/create'), - 'edit' => Pages\EditTag::route('/{record}/edit'), + 'index' => ListTags::route('/'), + 'create' => CreateTag::route('/create'), + 'edit' => EditTag::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Resources/UserResource/Pages/CreateUser.php b/app/Filament/Resources/Users/Pages/CreateUser.php similarity index 62% rename from app/Filament/Resources/UserResource/Pages/CreateUser.php rename to app/Filament/Resources/Users/Pages/CreateUser.php index 78a38949..125b3ff8 100644 --- a/app/Filament/Resources/UserResource/Pages/CreateUser.php +++ b/app/Filament/Resources/Users/Pages/CreateUser.php @@ -1,8 +1,8 @@ model(User::class) - ->form([ + ->schema([ TextInput::make('name') ->required(), TextInput::make('email') @@ -37,7 +37,7 @@ protected function getHeaderActions(): array }) ), ]) - ->mutateFormDataUsing(function (array $data): array { + ->mutateDataUsing(function (array $data): array { $data['password'] = Hash::make($data['password']); return $data; diff --git a/app/Filament/Resources/UserResource.php b/app/Filament/Resources/Users/UserResource.php similarity index 51% rename from app/Filament/Resources/UserResource.php rename to app/Filament/Resources/Users/UserResource.php index bba4d266..3354edef 100644 --- a/app/Filament/Resources/UserResource.php +++ b/app/Filament/Resources/Users/UserResource.php @@ -1,13 +1,21 @@ schema([ - Forms\Components\TextInput::make('name') + return $schema + ->components([ + TextInput::make('name') ->required(), - Forms\Components\TextInput::make('email') + TextInput::make('email') ->required(), - Forms\Components\TextInput::make('password') + TextInput::make('password') ->label('New password') ->password() ->dehydrateStateUsing(fn (string $state): string => Hash::make($state)) ->dehydrated(fn (?string $state): bool => filled($state)), - Forms\Components\Repeater::make('roles') + Repeater::make('roles') ->relationship() ->disableItemMovement() ->grid(2) ->columnSpanFull() ->schema([ - Forms\Components\TextInput::make('role') + TextInput::make('role') ->required(), ]), ]); @@ -53,28 +61,28 @@ public static function table(Table $table): Table { return $table ->columns([ - Tables\Columns\TextColumn::make('name'), - Tables\Columns\TextColumn::make('email'), - Tables\Columns\IconColumn::make('isAdmin') + TextColumn::make('name'), + TextColumn::make('email'), + IconColumn::make('isAdmin') ->boolean() ->getStateUsing(function (User $record): bool { return $record->isAdmin(); }), - Tables\Columns\TagsColumn::make('roles.role'), + TagsColumn::make('roles.role'), ]) ->filters([ // ]) - ->actions([ - Tables\Actions\EditAction::make(), + ->recordActions([ + EditAction::make(), ]) - ->bulkActions([ - Tables\Actions\BulkActionGroup::make([ - Tables\Actions\DeleteBulkAction::make(), + ->toolbarActions([ + BulkActionGroup::make([ + DeleteBulkAction::make(), ]), ]) ->emptyStateActions([ - Tables\Actions\CreateAction::make(), + CreateAction::make(), ]); } @@ -88,8 +96,8 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => Pages\ListUsers::route('/'), - 'edit' => Pages\EditUser::route('/{record}/edit'), + 'index' => ListUsers::route('/'), + 'edit' => EditUser::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Resources/VehicleResource/Pages/EditVehicle.php b/app/Filament/Resources/Vehicles/Pages/EditVehicle.php similarity index 80% rename from app/Filament/Resources/VehicleResource/Pages/EditVehicle.php rename to app/Filament/Resources/Vehicles/Pages/EditVehicle.php index ee1edc7a..77612691 100644 --- a/app/Filament/Resources/VehicleResource/Pages/EditVehicle.php +++ b/app/Filament/Resources/Vehicles/Pages/EditVehicle.php @@ -1,10 +1,10 @@ ListRecords\Tab::make(), - 'vin' => ListRecords\Tab::make('Only exo VIN') + 'all' => Tab::make(), + 'vin' => Tab::make('Only exo VIN') ->modifyQueryUsing(fn (Builder $query) => $query->exoWithVin()), - 'zenbus' => ListRecords\Tab::make('Only Zenbus') + 'zenbus' => Tab::make('Only Zenbus') ->modifyQueryUsing(fn (Builder $query) => $query->where('vehicle_id', 'LIKE', 'zenbus:Vehicle:%')), ]; } @@ -27,7 +28,7 @@ public function getDefaultActiveTab(): string|int|null if ($permissions === ['vin:edit']) { return 'vin'; - } else if ($permissions === ['zenbus:edit']) { + } elseif ($permissions === ['zenbus:edit']) { return 'zenbus'; } else { return 'all'; diff --git a/app/Filament/Resources/VehicleResource/RelationManagers/TagsRelationManager.php b/app/Filament/Resources/Vehicles/RelationManagers/TagsRelationManager.php similarity index 67% rename from app/Filament/Resources/VehicleResource/RelationManagers/TagsRelationManager.php rename to app/Filament/Resources/Vehicles/RelationManagers/TagsRelationManager.php index cede14af..adad8226 100644 --- a/app/Filament/Resources/VehicleResource/RelationManagers/TagsRelationManager.php +++ b/app/Filament/Resources/Vehicles/RelationManagers/TagsRelationManager.php @@ -1,14 +1,17 @@ columns([ - Tables\Columns\ViewColumn::make('label')->view('tables.columns.tag-preview'), + ViewColumn::make('label')->view('tables.columns.tag-preview'), ]) ->filters([ // ]) ->headerActions([ - Tables\Actions\AttachAction::make() + AttachAction::make() ->preloadRecordSelect() ->recordSelectOptionsQuery(fn (Builder $query) => $query->orderBy('type')), ]) - ->actions([ - Tables\Actions\DetachAction::make(), + ->recordActions([ + DetachAction::make(), ]) - ->bulkActions([ - Tables\Actions\DetachBulkAction::make(), + ->toolbarActions([ + DetachBulkAction::make(), ]); } diff --git a/app/Filament/Resources/VehicleResource.php b/app/Filament/Resources/Vehicles/VehicleResource.php similarity index 69% rename from app/Filament/Resources/VehicleResource.php rename to app/Filament/Resources/Vehicles/VehicleResource.php index b61ab243..d40e2e07 100644 --- a/app/Filament/Resources/VehicleResource.php +++ b/app/Filament/Resources/Vehicles/VehicleResource.php @@ -1,35 +1,41 @@ schema([ + return $schema + ->components([ Placeholder::make('agency') ->content(fn (Vehicle $record): string => $record->agency->name)->hidden(fn (?Vehicle $record) => $record === null), Placeholder::make('original_vehicle_id') ->content(fn (Vehicle $record): string => $record->vehicle_id)->hidden(fn (?Vehicle $record) => $record === null), - Card::make()->columns(2)->schema([ - TextInput::make('force_label')->label('Fleet label')->columnSpan(1)->hint('force_label')->helperText('Use to replace the vehicle number provided by the agency'), - TextInput::make('force_vehicle_id')->label('Custom identifier')->columnSpan(1)->hint('force_vehicle_id')->helperText('Use to replace an incorrect vehicle identifier provided by the agency (like a wrong VIN). Remember to change this field for every vehicle with a wrong vin!'), - ]), + Section::make() + ->schema([ + TextInput::make('force_label')->label('Fleet label')->columnSpan(1)->hint('force_label')->helperText('Use to replace the vehicle number provided by the agency'), + TextInput::make('force_vehicle_id')->label('Custom identifier')->columnSpan(1)->hint('force_vehicle_id')->helperText('Use to replace an incorrect vehicle identifier provided by the agency (like a wrong VIN). Remember to change this field for every vehicle with a wrong vin!'), + ]) + ->columns(2) + ->columnSpanFull(), ]); } @@ -70,50 +79,50 @@ public static function table(Table $table): Table { return $table ->columns([ - Tables\Columns\TextColumn::make('agency.short_name') + TextColumn::make('agency.short_name') ->label('Agency') ->sortable(), - Tables\Columns\TagsColumn::make('tags.label') + TagsColumn::make('tags.label') ->toggleable(), - Tables\Columns\IconColumn::make('is_active') + IconColumn::make('is_active') ->boolean() ->toggleable() ->sortable(), - Tables\Columns\TextColumn::make('vehicle_type') + TextColumn::make('vehicle_type') ->formatStateUsing(fn (VehicleType $state): string => $state->description) ->toggleable() ->sortable(), - Tables\Columns\TextColumn::make('displayed_label') + TextColumn::make('displayed_label') ->label('Label') ->toggleable() ->sortable(), - Tables\Columns\TextColumn::make('ref') + TextColumn::make('ref') ->sortable(), - Tables\Columns\TextColumn::make('vinInformationOriginal.make') + TextColumn::make('vinInformationOriginal.make') ->label('Make') ->toggleable() ->sortable(), - Tables\Columns\TextColumn::make('vinInformationOriginal.model') + TextColumn::make('vinInformationOriginal.model') ->label('Model') ->toggleable() ->sortable(), - Tables\Columns\TextColumn::make('created_at') + TextColumn::make('created_at') ->dateTime('M d, Y') ->toggleable(), - Tables\Columns\TextColumn::make('updated_at') + TextColumn::make('updated_at') ->dateTime('M d, Y') ->toggleable(), ]) - ->actions([ - Tables\Actions\EditAction::make(), - ], position: Tables\Enums\ActionsPosition::BeforeColumns) + ->recordActions([ + EditAction::make(), + ], position: RecordActionsPosition::BeforeColumns) ->filters([ Filter::make('onlyWithoutOperators') ->query(fn (Builder $query): Builder => $query->withoutTypeOfTags(TagType::Operator)) ->toggle(), - Tables\Filters\TernaryFilter::make('is_active'), + TernaryFilter::make('is_active'), SelectFilter::make('agency')->relationship('agency', 'short_name'), - Filter::make('refStartsWith')->form([ + Filter::make('refStartsWith')->schema([ TextInput::make('refStartsWith'), ])->query(function (Builder $query, array $data): Builder { if (! $data['refStartsWith']) { @@ -122,7 +131,7 @@ public static function table(Table $table): Table return $query->where('vehicle_id', 'LIKE', "{$data['refStartsWith']}%"); }), - Filter::make('forceLabelStartsWith')->form([ + Filter::make('forceLabelStartsWith')->schema([ TextInput::make('forceLabelStartsWith'), ])->query(function (Builder $query, array $data): Builder { if (! $data['forceLabelStartsWith']) { @@ -132,7 +141,7 @@ public static function table(Table $table): Table return $query->where('force_label', 'LIKE', "{$data['forceLabelStartsWith']}%"); }), ]) - ->bulkActions([ + ->toolbarActions([ BulkAction::make('changeType') ->action(function (Collection $records, array $data): void { @@ -172,15 +181,15 @@ public static function getRelations(): array { return [ TagsRelationManager::class, - ActivitylogRelationManager::class, + ActivitiesRelationManager::class, ]; } public static function getPages(): array { return [ - 'index' => Pages\ListVehicles::route('/'), - 'edit' => Pages\EditVehicle::route('/{record}/edit'), + 'index' => ListVehicles::route('/'), + 'edit' => EditVehicle::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Widgets/VehiclesWithoutOperators.php b/app/Filament/Widgets/VehiclesWithoutOperators.php index f289b3f3..9e79bfdc 100644 --- a/app/Filament/Widgets/VehiclesWithoutOperators.php +++ b/app/Filament/Widgets/VehiclesWithoutOperators.php @@ -3,14 +3,13 @@ namespace App\Filament\Widgets; use App\Enums\TagType; -use App\Filament\Resources\VehicleResource; +use App\Filament\Resources\Vehicles\VehicleResource; use App\Models\Tag; use App\Models\Vehicle; +use Filament\Actions\Action; +use Filament\Actions\BulkAction; use Filament\Forms\Components\Select; -use Filament\Notifications\Actions\Action as NotificationsAction; use Filament\Notifications\Notification; -use Filament\Tables\Actions\Action; -use Filament\Tables\Actions\BulkAction; use Filament\Tables\Columns\TextColumn; use Filament\Widgets\TableWidget as BaseWidget; use Illuminate\Database\Eloquent\Builder; @@ -24,7 +23,7 @@ class VehiclesWithoutOperators extends BaseWidget public static function canView(): bool { - return auth()->user()->hasPermission('vin:edit'); + return auth()->user()->hasPermission('vin:edit'); } protected function getTableQuery(): Builder @@ -68,7 +67,7 @@ protected function getTableActions(): array ->url(fn (Vehicle $record): string => VehicleResource::getUrl('edit', ['record' => $record])) ->icon('heroicon-s-pencil'), Action::make('attachTag') - ->form([ + ->schema([ Select::make('tagId')->options(Tag::pluck('label', 'id'))->label('Tag')->required(), ]) ->icon('gmdi-label') @@ -80,7 +79,7 @@ protected function getTableActions(): array ->title("Tag attached to {$record->agency->short_name} {$record->ref}") ->success() ->actions([ - NotificationsAction::make('view') + Action::make('view') ->button() ->url(VehicleResource::getUrl('edit', ['record' => $record]), shouldOpenInNewTab: true), ]) diff --git a/app/Filament/Widgets/WelcomeAdmin.php b/app/Filament/Widgets/WelcomeAdmin.php index e0723e61..63213070 100644 --- a/app/Filament/Widgets/WelcomeAdmin.php +++ b/app/Filament/Widgets/WelcomeAdmin.php @@ -6,7 +6,7 @@ class WelcomeAdmin extends Widget { - protected static string $view = 'filament.widgets.welcome-admin'; + protected string $view = 'filament.widgets.welcome-admin'; protected static ?int $sort = 1; diff --git a/app/Http/Controllers/Api/V2/AgencyController.php b/app/Http/Controllers/Api/V2/AgencyController.php index d22ecc95..d2200a6f 100755 --- a/app/Http/Controllers/Api/V2/AgencyController.php +++ b/app/Http/Controllers/Api/V2/AgencyController.php @@ -15,7 +15,6 @@ use Illuminate\Support\Facades\Auth; use Knuckles\Scribe\Attributes\Group; use Knuckles\Scribe\Attributes\QueryParam; -use MatanYadaev\EloquentSpatial\SpatialBuilder; #[Group('Agencies')] class AgencyController extends Controller @@ -112,10 +111,11 @@ public function vehiclesGeoJsonShow(Agency $agency, string $vehicleRef) ->orWhere(function (Builder $query) use ($agency, $vehicleRef) { $query->where(['agency_id' => $agency->id, 'force_vehicle_id' => $vehicleRef]); }) - ->select(['id', 'is_active', 'position', 'gtfs_trip_id', 'start_time', 'schedule_relationship', 'gtfs_route_id', 'force_vehicle_id', 'vehicle_id', 'force_label', 'label', 'license_plate', 'vehicle_type', 'bearing', 'odometer', 'speed', 'current_stop_sequence', 'current_status', 'congestion_level', 'occupancy_status', 'agency_id', 'created_at', 'last_seen_at',]) + ->select(['id', 'is_active', 'position', 'gtfs_trip_id', 'start_time', 'schedule_relationship', 'gtfs_route_id', 'force_vehicle_id', 'vehicle_id', 'force_label', 'label', 'license_plate', 'vehicle_type', 'bearing', 'odometer', 'speed', 'current_stop_sequence', 'current_status', 'congestion_level', 'occupancy_status', 'agency_id', 'created_at', 'last_seen_at']) ->with([ 'trip:agency_id,gtfs_trip_id,short_name,headsign,gtfs_block_id,gtfs_service_id,gtfs_shape_id', 'gtfsRoute:agency_id,gtfs_route_id,short_name,long_name,color,text_color', + 'carriages:agency_id,vehicle_id,carriage_id,label,occupancy_status,sequence,carriage_type_id', 'activeLinks:id', 'tags:id', ]) @@ -140,6 +140,7 @@ public function vehiclesGeoJson(string $agency, Request $request) ->with([ 'trip:agency_id,gtfs_trip_id,short_name,headsign,gtfs_block_id,gtfs_service_id,gtfs_shape_id', 'gtfsRoute:agency_id,gtfs_route_id,short_name,long_name,color,text_color', + 'carriages:agency_id,vehicle_id,carriage_id,label,occupancy_status,sequence,carriage_type_id', ]); // When downloading data, add internal title and short label to download diff --git a/app/Http/Controllers/Api/V2/CarriageTypeController.php b/app/Http/Controllers/Api/V2/CarriageTypeController.php new file mode 100644 index 00000000..bb11bb46 --- /dev/null +++ b/app/Http/Controllers/Api/V2/CarriageTypeController.php @@ -0,0 +1,24 @@ +middleware('throttle:5,1,v2-carriageTypes;cacheResponse'); + } + + public function index() + { + $carriageTypes = CarriageType::select(['id', 'carriage_category', 'make', 'model'])->get(); + + return CarriageTypeResource::collection($carriageTypes); + } +} diff --git a/app/Http/Controllers/Api/V2/ShapeController.php b/app/Http/Controllers/Api/V2/ShapeController.php index 335b80cd..d36b3b1e 100644 --- a/app/Http/Controllers/Api/V2/ShapeController.php +++ b/app/Http/Controllers/Api/V2/ShapeController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers\Api\V2; +use App; use App\Http\Controllers\Controller; use App\Http\Resources\V2\GeoJsonShapeResource; use App\Models\Agency; @@ -13,7 +14,7 @@ class ShapeController extends Controller { public function __construct() { - if (! \App::environment('local')) { + if (! App::environment('local')) { $this->middleware('throttle:45,1,v2-shapes'); } diff --git a/app/Http/Controllers/Api/V2/VehicleController.php b/app/Http/Controllers/Api/V2/VehicleController.php index ff00932e..c2c5c20a 100755 --- a/app/Http/Controllers/Api/V2/VehicleController.php +++ b/app/Http/Controllers/Api/V2/VehicleController.php @@ -3,8 +3,8 @@ namespace App\Http\Controllers\Api\V2; use App\Http\Controllers\Controller; -use App\Http\Resources\V2\VehiclesGeoJson\VehicleResource as GeoJsonVehicleResource; use App\Http\Resources\V2\VehicleResource; +use App\Http\Resources\V2\VehiclesGeoJson\VehicleResource as GeoJsonVehicleResource; use App\Http\Resources\V2\VehiclesGeoJson\VehiclesCollection; use App\Models\Vehicle; use Illuminate\Http\Request; @@ -52,6 +52,7 @@ public function indexGeoJson(Request $request) ->with([ 'trip:agency_id,gtfs_trip_id,short_name,headsign,gtfs_block_id,gtfs_shape_id', 'gtfsRoute:agency_id,gtfs_route_id,short_name,long_name,color,text_color', + 'carriages:agency_id,vehicle_id,carriage_id,label,occupancy_status,sequence,carriage_type_id', 'activeLinks:id,internal_title', 'tags:id,short_label', ]); diff --git a/app/Http/Controllers/Vin/RegionImageController.php b/app/Http/Controllers/Vin/RegionImageController.php new file mode 100644 index 00000000..803b1135 --- /dev/null +++ b/app/Http/Controllers/Vin/RegionImageController.php @@ -0,0 +1,93 @@ +pluck('name', 'id'); + + return view('vin.region-image', compact('regions')); + } + + public function store(Request $request) + { + $validated = $request->validate([ + 'region_id' => ['required', 'exists:regions,id'], + 'images' => ['required', 'array', 'min:1', 'max:5'], // 5 max pictures + 'images.*' => ['required', 'image', 'mimes:jpeg,png,jpg,webp', 'max:10240'], // 10MB max + 'author_name' => ['required', 'string', 'max:255'], + 'author_email' => ['required', 'email', 'max:255'], + 'author_link' => ['nullable', 'url', 'max:255'], + 'description' => ['required', 'string', 'max:1000'], + 'cf-turnstile-response' => ['required', 'string', new Turnstile], + ]); + + $manager = new ImageManager(new Driver); + $createdImages = collect(); + + foreach ($request->file('images') as $image) { + $filename = uniqid('region_').'.webp'; + $path = "content/regions/{$filename}"; + + // Convert to webp and 16:9 ratio using Intervention Image + $img = $manager->read($image); + + // Calculate 16:9 dimensions + $width = $img->width(); + $height = $img->height(); + $targetRatio = 16 / 9; + $currentRatio = $width / $height; + + if ($currentRatio > $targetRatio) { + // Image is too wide + $cropWidth = (int) ($height * $targetRatio); + $img->cover($cropWidth, $height); + } else { + // Image is too tall + $cropHeight = (int) ($width / $targetRatio); + $img->cover($width, $cropHeight); + } + + // Save image + $fullPath = storage_path('app/public/'.$path); + + // Ensure directory exists + $dir = dirname($fullPath); + if (! is_dir($dir)) { + mkdir($dir, 0755, true); + } + + $img->toWebp(90)->save($fullPath); + + $regionImage = RegionImage::create([ + 'region_id' => $validated['region_id'], + 'image_path' => $path, + 'author_name' => $validated['author_name'], + 'author_email' => $validated['author_email'], + 'author_link' => $validated['author_link'], + 'description' => $validated['description'], + ]); + + $createdImages->push($regionImage); + } + + $adminEmail = config('transittracker.admin_email'); + if ($adminEmail) { + Mail::to($adminEmail)->send(new RegionImageSubmitted($createdImages)); + } + + return back()->with('status', 'Thanks for your submission! It will be reviewed shortly.'); + } +} diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index f56b6493..744b5afd 100755 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -2,7 +2,31 @@ namespace App\Http; +use App\Http\Middleware\Authenticate; +use App\Http\Middleware\EncryptCookies; +use App\Http\Middleware\PreventRequestsDuringMaintenance; +use App\Http\Middleware\RedirectIfAuthenticated; +use App\Http\Middleware\TrimStrings; +use App\Http\Middleware\TrustProxies; +use App\Http\Middleware\VerifyCsrfToken; +use App\Http\Middleware\WebLocalization; +use Illuminate\Auth\Middleware\AuthenticateWithBasicAuth; +use Illuminate\Auth\Middleware\Authorize; +use Illuminate\Auth\Middleware\EnsureEmailIsVerified; +use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse; use Illuminate\Foundation\Http\Kernel as HttpKernel; +use Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull; +use Illuminate\Foundation\Http\Middleware\ValidatePostSize; +use Illuminate\Http\Middleware\HandleCors; +use Illuminate\Http\Middleware\SetCacheHeaders; +use Illuminate\Routing\Middleware\SubstituteBindings; +use Illuminate\Routing\Middleware\ThrottleRequestsWithRedis; +use Illuminate\Routing\Middleware\ValidateSignature; +use Illuminate\Session\Middleware\AuthenticateSession; +use Illuminate\Session\Middleware\StartSession; +use Illuminate\View\Middleware\ShareErrorsFromSession; +use Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful; +use Spatie\ResponseCache\Middlewares\CacheResponse; class Kernel extends HttpKernel { @@ -14,12 +38,12 @@ class Kernel extends HttpKernel * @var array */ protected $middleware = [ - \App\Http\Middleware\TrustProxies::class, - \Illuminate\Http\Middleware\HandleCors::class, - \App\Http\Middleware\PreventRequestsDuringMaintenance::class, - \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, - \App\Http\Middleware\TrimStrings::class, - \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, + TrustProxies::class, + HandleCors::class, + PreventRequestsDuringMaintenance::class, + ValidatePostSize::class, + TrimStrings::class, + ConvertEmptyStringsToNull::class, ]; /** @@ -29,18 +53,18 @@ class Kernel extends HttpKernel */ protected $middlewareGroups = [ 'web' => [ - \App\Http\Middleware\EncryptCookies::class, - \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, - \Illuminate\Session\Middleware\StartSession::class, + EncryptCookies::class, + AddQueuedCookiesToResponse::class, + StartSession::class, // \Illuminate\Session\Middleware\AuthenticateSession::class, - \Illuminate\View\Middleware\ShareErrorsFromSession::class, - \App\Http\Middleware\VerifyCsrfToken::class, - \Illuminate\Routing\Middleware\SubstituteBindings::class, - \App\Http\Middleware\WebLocalization::class, + ShareErrorsFromSession::class, + VerifyCsrfToken::class, + SubstituteBindings::class, + WebLocalization::class, ], 'api' => [ - \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class, + EnsureFrontendRequestsAreStateful::class, 'bindings', ], ]; @@ -53,16 +77,16 @@ class Kernel extends HttpKernel * @var array */ protected $middlewareAliases = [ - 'auth' => \App\Http\Middleware\Authenticate::class, - 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, - 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, - 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, - 'can' => \Illuminate\Auth\Middleware\Authorize::class, - 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, - 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, - 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequestsWithRedis::class, - 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, - 'cacheResponse' => \Spatie\ResponseCache\Middlewares\CacheResponse::class, + 'auth' => Authenticate::class, + 'auth.basic' => AuthenticateWithBasicAuth::class, + 'bindings' => SubstituteBindings::class, + 'cache.headers' => SetCacheHeaders::class, + 'can' => Authorize::class, + 'guest' => RedirectIfAuthenticated::class, + 'signed' => ValidateSignature::class, + 'throttle' => ThrottleRequestsWithRedis::class, + 'verified' => EnsureEmailIsVerified::class, + 'cacheResponse' => CacheResponse::class, ]; /** @@ -73,11 +97,11 @@ class Kernel extends HttpKernel * @var array */ protected $middlewarePriority = [ - \Illuminate\Session\Middleware\StartSession::class, - \Illuminate\View\Middleware\ShareErrorsFromSession::class, - \App\Http\Middleware\Authenticate::class, - \Illuminate\Session\Middleware\AuthenticateSession::class, - \Illuminate\Routing\Middleware\SubstituteBindings::class, - \Illuminate\Auth\Middleware\Authorize::class, + StartSession::class, + ShareErrorsFromSession::class, + Authenticate::class, + AuthenticateSession::class, + SubstituteBindings::class, + Authorize::class, ]; } diff --git a/app/Http/Middleware/WebLocalization.php b/app/Http/Middleware/WebLocalization.php index ac5e9c54..c1692490 100644 --- a/app/Http/Middleware/WebLocalization.php +++ b/app/Http/Middleware/WebLocalization.php @@ -3,7 +3,9 @@ namespace App\Http\Middleware; use Closure; +use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; +use Illuminate\Http\Response; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Session; @@ -12,8 +14,8 @@ class WebLocalization /** * Handle an incoming request. * - * @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next - * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse + * @param Closure(Request):((Response|RedirectResponse)) $next + * @return Response|RedirectResponse */ public function handle(Request $request, Closure $next) { diff --git a/app/Http/Resources/V2/AgencyResource.php b/app/Http/Resources/V2/AgencyResource.php index 1633f1bc..37790f77 100755 --- a/app/Http/Resources/V2/AgencyResource.php +++ b/app/Http/Resources/V2/AgencyResource.php @@ -2,10 +2,11 @@ namespace App\Http\Resources\V2; +use App\Models\Agency; use Illuminate\Http\Resources\Json\JsonResource; /** - * @extends JsonResource<\App\Models\Agency> + * @extends JsonResource */ class AgencyResource extends JsonResource { diff --git a/app/Http/Resources/V2/CarriageResource.php b/app/Http/Resources/V2/CarriageResource.php new file mode 100644 index 00000000..7b6a3f59 --- /dev/null +++ b/app/Http/Resources/V2/CarriageResource.php @@ -0,0 +1,26 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'id' => $this->carriage_id, + 'label' => $this->label, + 'occupancyStatus' => $this->occupancy_status, + 'occupancyStatusLabel' => $this->when($request->boolean('label'), OccupancyStatus::coerce($this->occupancy_status)?->description), + 'type' => $this->carriage_type_id, + ]; + } +} diff --git a/app/Http/Resources/V2/CarriageTypeResource.php b/app/Http/Resources/V2/CarriageTypeResource.php new file mode 100644 index 00000000..ca835ea2 --- /dev/null +++ b/app/Http/Resources/V2/CarriageTypeResource.php @@ -0,0 +1,24 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'id' => $this->id, + 'category' => $this->carriage_category, + 'make' => $this->make, + 'model' => $this->model, + ]; + } +} diff --git a/app/Http/Resources/V2/VehiclePushResource.php b/app/Http/Resources/V2/VehiclePushResource.php index e42628d3..d1bb4db3 100644 --- a/app/Http/Resources/V2/VehiclePushResource.php +++ b/app/Http/Resources/V2/VehiclePushResource.php @@ -2,15 +2,18 @@ namespace App\Http\Resources\V2; +use Illuminate\Contracts\Support\Arrayable; +use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; +use JsonSerializable; class VehiclePushResource extends JsonResource { /** * Transform the resource into an array. * - * @param \Illuminate\Http\Request $request - * @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializable + * @param Request $request + * @return array|Arrayable|JsonSerializable */ public function toArray($request) { diff --git a/app/Http/Resources/V2/VehiclesGeoJson/VehicleResource.php b/app/Http/Resources/V2/VehiclesGeoJson/VehicleResource.php index 45c2f02c..8ea23c80 100644 --- a/app/Http/Resources/V2/VehiclesGeoJson/VehicleResource.php +++ b/app/Http/Resources/V2/VehiclesGeoJson/VehicleResource.php @@ -7,6 +7,7 @@ use App\Enums\ScheduleRelationship; use App\Enums\VehicleStopStatus; use App\Enums\VehicleType; +use App\Http\Resources\V2\CarriageResource; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; @@ -60,6 +61,7 @@ public function toArray(Request $request): array 'congestionLevelLabel' => $this->when($request->boolean('label'), CongestionLevel::coerce($this->congestion_level)?->description), 'occupancyStatus' => $this->occupancy_status, 'occupancyStatusLabel' => $this->when($request->boolean('label'), OccupancyStatus::coerce($this->occupancy_status)?->description), + 'carriageDetails' => CarriageResource::collection($this->carriages), 'firstSeenAt' => $this->created_at->getTimestamp(), 'firstSeenAtLabel' => $this->when($request->boolean('label'), $this->created_at->toDateTimeString()), 'lastSeenAt' => $this->last_seen_at->getTimestamp(), diff --git a/app/Jobs/RealtimeData/GtfsRtHandler.php b/app/Jobs/RealtimeData/GtfsRtHandler.php index 8731a196..ae740212 100755 --- a/app/Jobs/RealtimeData/GtfsRtHandler.php +++ b/app/Jobs/RealtimeData/GtfsRtHandler.php @@ -29,9 +29,7 @@ class GtfsRtHandler implements ShouldBeUniqueUntilProcessing, ShouldQueue /** * Create a new job instance. */ - public function __construct(private Agency $agency, private int $time) - { - } + public function __construct(private Agency $agency, private int $time) {} // Make sure that there is no duplicate job for this agency in the queue // Since this job will always pull the latest data, it's not a problem to delete duplicate jobs @@ -63,7 +61,7 @@ public function handle() // Convert protobuf to PHP object try { - $feed = new FeedMessage(); + $feed = new FeedMessage; $feed->mergeFromString($data); $count = count($feed->getEntity()); } catch (GPBDecodeException $e) { @@ -140,7 +138,7 @@ public function handle() $this->agency->save(); // Add statistics - $stat = new Stat(); + $stat = new Stat; $stat->type = 'vehicleTotal'; $stat->data = (object) [ 'count' => $count, diff --git a/app/Jobs/RealtimeData/JavascriptGtfsRtHandler.php b/app/Jobs/RealtimeData/JavascriptGtfsRtHandler.php index cb4ada41..99e4db12 100755 --- a/app/Jobs/RealtimeData/JavascriptGtfsRtHandler.php +++ b/app/Jobs/RealtimeData/JavascriptGtfsRtHandler.php @@ -2,9 +2,8 @@ namespace App\Jobs\RealtimeData; -use App\Actions\HandleExpiredGtfs; use App\Models\Agency; -use App\Models\Gtfs\Trip; +use App\Models\Carriage; use App\Models\Stat; use App\Models\Vehicle; use Carbon\Carbon; @@ -26,9 +25,7 @@ class JavascriptGtfsRtHandler implements ShouldQueue /** * Create a new job instance. */ - public function __construct(private Agency $agency, private int $time) - { - } + public function __construct(private Agency $agency, private int $time) {} private array $activeArray = []; @@ -37,12 +34,6 @@ public function __construct(private Agency $agency, private int $time) */ public function handle(): void { - // Put all previously active vehicle as inactive - $inactiveArray = Vehicle::where([ - ['is_active', true], - ['agency_id', $this->agency->id], - ])->select(['id', 'is_active'])->get(); - $filePath = Storage::path("realtime/{$this->agency->slug}"); $printGtfsRt = config('transittracker.print_gtfs_rt_bin'); @@ -57,11 +48,12 @@ public function handle(): void return; } - $vehiclesWithoutTrip = 0; + $carriagesToUpsert = []; + $seenVehicleIds = []; // Go through each vehicle // Where not null to exclude alerts and trip updates - $collection->whereNotNull('vehicle')->each(function ($entity) { + $collection->whereNotNull('vehicle')->each(function ($entity) use (&$carriagesToUpsert, &$seenVehicleIds) { /* * Check if entity has vehiclePosition or if is not valid */ @@ -70,6 +62,8 @@ public function handle(): void } $vehicle = $entity->vehicle; + $seenVehicleIds[] = $vehicle->vehicle->id; + /* * Prepare a new array to update the vehicle model */ @@ -77,16 +71,32 @@ public function handle(): void 'is_active' => true, 'gtfs_trip_id' => $this->processField($vehicle->trip?->trip_id), 'gtfs_route_id' => $this->processField($vehicle->trip?->route_id), - 'start_time' => $this->processField($vehicle->trip?->start_time), + 'start_time' => $this->processField($vehicle->trip?->start_time ?? null), 'schedule_relationship' => $this->processField($vehicle->trip?->schedule_relationship), 'position' => $this->processField(['lat' => $vehicle->position?->latitude, 'lon' => $vehicle->position?->longitude], 'position'), - 'current_stop_sequence' => $this->processField($vehicle->current_stop_sequence), - 'current_status' => $this->processField($vehicle->current_status), + 'current_stop_sequence' => $this->processField($vehicle->current_stop_sequence ?? null), + 'current_status' => $this->processField($vehicle->current_status ?? null), 'timestamp' => $this->processField($vehicle->timestamp->low ?? $this->time), - 'gtfs_stop_id' => $this->processField($vehicle->stop_id), + 'gtfs_stop_id' => $this->processField($vehicle->stop_id ?? null), 'last_seen_at' => $this->processField($vehicle->timestamp->low ?? $this->time, 'timestamp'), ]; + /* + * Update vehicles carriage + */ + if (property_exists($vehicle, 'multi_carriage_details')) { + foreach ($vehicle->multi_carriage_details as $item) { + $carriagesToUpsert[] = [ + 'agency_id' => $this->agency->id, + 'carriage_id' => $item->id, + 'vehicle_id' => $vehicle->vehicle->id, + 'label' => $item->label ?? null, + 'occupancy_status' => $item->occupancy_status ?? null, + 'sequence' => $item->carriage_sequence, + ]; + } + } + /* * Create or update the vehicle model */ @@ -103,9 +113,21 @@ public function handle(): void } }); - // Update active information - if ($inactiveArray->except($this->activeArray)->count() > 0) { - $inactiveArray->except($this->activeArray)->toQuery()->update(['is_active' => false]); + // Mass Upsert Carriages + if (! empty($carriagesToUpsert)) { + Carriage::upsert( + $carriagesToUpsert, + ['agency_id', 'carriage_id'], + ['label', 'occupancy_status', 'sequence', 'vehicle_id'] + ); + } + + // Mark unseen vehicles as inactive in a single query + if (! empty($seenVehicleIds)) { + Vehicle::where('agency_id', $this->agency->id) + ->where('is_active', true) + ->whereNotIn('vehicle_id', $seenVehicleIds) + ->update(['is_active' => false]); } // Replace timestamp @@ -113,23 +135,17 @@ public function handle(): void $this->agency->save(); // Add statistics - $stat = new Stat(); - $stat->type = 'vehicleTotal'; - $stat->data = (object) [ - 'count' => $count, - 'agency' => $this->agency->slug, - 'time' => $this->time, - ]; - $stat->save(); - - // Launch a notification if more than half of the vehicles don't have corresponding trip - if ($count > 0 && ($vehiclesWithoutTrip / $count) > 0.5) { - $action = new HandleExpiredGtfs($this->agency); - $action->execute(); - } + Stat::create([ + 'type' => 'vehicleTotal', + 'data' => [ + 'count' => $count, + 'agency' => $this->agency->slug, + 'time' => $this->time, + ], + ]); } - private function processField($value, ?string $transformer = null) + private function processField(mixed $value, ?string $transformer = null) { if (! filled($value)) { return null; @@ -139,7 +155,7 @@ private function processField($value, ?string $transformer = null) return null; } - if ($transformer === 'position' && filled($value['lat']) && filled($value['lat'])) { + if ($transformer === 'position' && filled($value['lat']) && filled($value['lon'])) { return new Point(round($value['lat'], 5), round($value['lon'], 5)); } diff --git a/app/Jobs/RealtimeData/NextbusJsonHandler.php b/app/Jobs/RealtimeData/NextbusJsonHandler.php index dda36ffc..ac9f1254 100644 --- a/app/Jobs/RealtimeData/NextbusJsonHandler.php +++ b/app/Jobs/RealtimeData/NextbusJsonHandler.php @@ -25,9 +25,7 @@ class NextbusJsonHandler implements ShouldQueue /** * Create a new job instance. */ - public function __construct(private Agency $agency, private int $time) - { - } + public function __construct(private Agency $agency, private int $time) {} /** * Execute the job. @@ -100,7 +98,7 @@ public function handle() $count = count($json->vehicle); // Add statistics - $stat = new Stat(); + $stat = new Stat; $stat->type = 'vehicleTotal'; $stat->data = (object) [ 'count' => $count, diff --git a/app/Jobs/RealtimeData/SyncGoTransitCarriageDetails.php b/app/Jobs/RealtimeData/SyncGoTransitCarriageDetails.php new file mode 100644 index 00000000..23437efe --- /dev/null +++ b/app/Jobs/RealtimeData/SyncGoTransitCarriageDetails.php @@ -0,0 +1,97 @@ +get(); + + $go = Agency::firstWhere('slug', 'go'); + $key = $go->headers['key'] ?? ''; + $response = Http::get("https://api.openmetrolinx.com/OpenDataAPI/api/V1/Fleet/Consist/All?key={$key}"); + $response->throw(); + + $carriages = $response->collect('AllConsists.Consists') + ->flatMap(function (array $consist) use ($go, $carriageTypes) { + return collect($consist['Lineup'] ?? [])->map(function (array $carriage) use ($consist, $go, $carriageTypes) { + $carriageNumber = (int) $carriage['Number']; + + return [ + 'agency_id' => $go->id, + 'carriage_id' => $carriage['Number'], + 'vehicle_id' => $consist['EngineNumber'], + 'sequence' => $carriage['Order'], + 'carriage_type_id' => $this->resolveCarriageType($carriageTypes, $carriageNumber, $go->id), + ]; + }); + }); + + // Skip the database query if the API returned an empty dataset + if ($carriages->isEmpty()) { + return; + } + + // Chunk the upsert to prevent database query parameter limits + $carriages->chunk(500)->each(function ($chunk) { + Carriage::upsert( + $chunk->toArray(), + uniqueBy: ['agency_id', 'carriage_id'], + update: ['sequence', 'vehicle_id', 'carriage_type_id'], + ); + }); + } + + /** + * Match the carriage number to its correct type ID based on automatic mappings. + */ + private function resolveCarriageType(Collection $types, int $carriageNumber, int $agencyId): ?int + { + foreach ($types as $type) { + $mappings = $type->automatic_mappings; + + if (empty($mappings)) { + continue; + } + + foreach ($mappings as $mapping) { + if ((int) ($mapping['agency_id'] ?? 0) !== $agencyId) { + continue; + } + + $min = (int) ($mapping['min'] ?? 0); + $max = (int) ($mapping['max'] ?? 0); + + if ($carriageNumber >= $min && $carriageNumber <= $max) { + return $type->id; + } + } + } + + return null; + } +} diff --git a/app/Jobs/StaticData/DownloadStatic.php b/app/Jobs/StaticData/DownloadStatic.php index 405ce213..8de0327d 100755 --- a/app/Jobs/StaticData/DownloadStatic.php +++ b/app/Jobs/StaticData/DownloadStatic.php @@ -22,9 +22,7 @@ public function __construct(private Agency $agency, private array $files = [ 'stop_times.txt', 'trips.txt', 'shapes.txt', - ]) - { - } + ]) {} public function handle() { @@ -34,7 +32,7 @@ public function handle() $fileName = "{$cwd}/storage/app/static/{$this->agency->slug}-{$time}.zip"; // Download GTFS - $client = new Client(); + $client = new Client; $headers = filled($this->agency->static_etag) ? ['If-None-Match' => $this->agency->static_etag] : []; $response = $client->get($this->agency->static_gtfs_url, [ 'sink' => $fileName, diff --git a/app/Jobs/StaticData/ExtractAndDispatchStaticGtfs.php b/app/Jobs/StaticData/ExtractAndDispatchStaticGtfs.php index bf465db7..3bfbc11d 100755 --- a/app/Jobs/StaticData/ExtractAndDispatchStaticGtfs.php +++ b/app/Jobs/StaticData/ExtractAndDispatchStaticGtfs.php @@ -30,14 +30,12 @@ public function __construct(private Agency $agency, private string $zipFile, pri 'trips.txt', 'stop_times.txt', 'shapes.txt', - ]) - { - } + ]) {} public function handle() { // Open (will only unzip needed files) - $this->zip = new ZipArchive(); + $this->zip = new ZipArchive; $file = $this->zip->open($this->zipFile); if (! $file) { diff --git a/app/Jobs/StaticData/ProcessGtfsRoutes.php b/app/Jobs/StaticData/ProcessGtfsRoutes.php index ca537b05..d087f56b 100755 --- a/app/Jobs/StaticData/ProcessGtfsRoutes.php +++ b/app/Jobs/StaticData/ProcessGtfsRoutes.php @@ -19,9 +19,7 @@ class ProcessGtfsRoutes implements ShouldQueue { use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function __construct(private Agency $agency, private string $file) - { - } + public function __construct(private Agency $agency, private string $file) {} public function handle(): void { diff --git a/app/Jobs/StaticData/ProcessGtfsServices.php b/app/Jobs/StaticData/ProcessGtfsServices.php index 378e23ab..32826d38 100755 --- a/app/Jobs/StaticData/ProcessGtfsServices.php +++ b/app/Jobs/StaticData/ProcessGtfsServices.php @@ -17,9 +17,7 @@ class ProcessGtfsServices implements ShouldQueue { use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function __construct(private Agency $agency, private string $file) - { - } + public function __construct(private Agency $agency, private string $file) {} public function handle(): void { diff --git a/app/Jobs/StaticData/ProcessGtfsStopTimes.php b/app/Jobs/StaticData/ProcessGtfsStopTimes.php index 364613f5..9fe746bf 100755 --- a/app/Jobs/StaticData/ProcessGtfsStopTimes.php +++ b/app/Jobs/StaticData/ProcessGtfsStopTimes.php @@ -21,9 +21,7 @@ class ProcessGtfsStopTimes implements ShouldQueue { use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function __construct(private Agency $agency, private string $file, private int $offset = 0) - { - } + public function __construct(private Agency $agency, private string $file, private int $offset = 0) {} public function handle(): void { @@ -31,7 +29,7 @@ public function handle(): void $tripIdToImport = Trip::select(['gtfs_shape_id', DB::raw('MIN(gtfs_trip_id) as gtfs_trip_id')])->where('agency_id', $this->agency->id)->groupBy('gtfs_shape_id')->pluck('gtfs_trip_id'); $reader = Reader::createFromPath($this->file)->setHeaderOffset(0); - $statement = (new Statement()) + $statement = (new Statement) ->offset($this->offset) ->limit(100_000); diff --git a/app/Jobs/StaticData/ProcessGtfsStops.php b/app/Jobs/StaticData/ProcessGtfsStops.php index 913d4386..34485ae3 100755 --- a/app/Jobs/StaticData/ProcessGtfsStops.php +++ b/app/Jobs/StaticData/ProcessGtfsStops.php @@ -19,9 +19,7 @@ class ProcessGtfsStops implements ShouldQueue { use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function __construct(private Agency $agency, private string $file) - { - } + public function __construct(private Agency $agency, private string $file) {} public function handle(): void { diff --git a/app/Jobs/StaticData/ProcessGtfsTrips.php b/app/Jobs/StaticData/ProcessGtfsTrips.php index bd5c49d4..2ac92c5f 100755 --- a/app/Jobs/StaticData/ProcessGtfsTrips.php +++ b/app/Jobs/StaticData/ProcessGtfsTrips.php @@ -18,14 +18,12 @@ class ProcessGtfsTrips implements ShouldQueue { use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function __construct(private Agency $agency, private string $file, private int $offset = 0) - { - } + public function __construct(private Agency $agency, private string $file, private int $offset = 0) {} public function handle(): void { $tripsReader = Reader::createFromPath($this->file)->setHeaderOffset(0); - $tripsStatement = (new Statement()) + $tripsStatement = (new Statement) ->offset($this->offset) ->limit(25_000); $tripsRecords = $tripsStatement->process($tripsReader); diff --git a/app/Jobs/Tags/SyncTagsWithFleetStats.php b/app/Jobs/Tags/SyncTagsWithFleetStats.php index 44ddcdc0..3b276ff1 100644 --- a/app/Jobs/Tags/SyncTagsWithFleetStats.php +++ b/app/Jobs/Tags/SyncTagsWithFleetStats.php @@ -17,9 +17,7 @@ class SyncTagsWithFleetStats implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function __construct() - { - } + public function __construct() {} public function handle() { diff --git a/app/Jobs/Vin/DecodeVin.php b/app/Jobs/Vin/DecodeVin.php index 5efa34b2..c9a2e83a 100644 --- a/app/Jobs/Vin/DecodeVin.php +++ b/app/Jobs/Vin/DecodeVin.php @@ -15,9 +15,7 @@ class DecodeVin implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function __construct(private array $vins) - { - } + public function __construct(private array $vins) {} public function handle() { diff --git a/app/Listeners/AddTagIconToMapbox.php b/app/Listeners/AddTagIconToMapbox.php index e32f4ea5..1ce28ff3 100644 --- a/app/Listeners/AddTagIconToMapbox.php +++ b/app/Listeners/AddTagIconToMapbox.php @@ -8,9 +8,7 @@ class AddTagIconToMapbox { - public function __construct() - { - } + public function __construct() {} public function handle(TagUpdated|TagCreated $event) { diff --git a/app/Listeners/CreateVehicleForceLabel.php b/app/Listeners/CreateVehicleForceLabel.php index 08a0ac03..8dc1483c 100644 --- a/app/Listeners/CreateVehicleForceLabel.php +++ b/app/Listeners/CreateVehicleForceLabel.php @@ -7,11 +7,9 @@ class CreateVehicleForceLabel { - public $queue = 'misc'; + public $queue = 'default'; - public function __construct() - { - } + public function __construct() {} public function handle(VehicleCreating $event): bool { diff --git a/app/Listeners/DeactivateInactiveSubscription.php b/app/Listeners/DeactivateInactiveSubscription.php index 14981325..2459dd63 100644 --- a/app/Listeners/DeactivateInactiveSubscription.php +++ b/app/Listeners/DeactivateInactiveSubscription.php @@ -6,9 +6,7 @@ class DeactivateInactiveSubscription { - public function __construct() - { - } + public function __construct() {} public function handle(NotificationFailed $event) { diff --git a/app/Listeners/DecodeVin.php b/app/Listeners/DecodeVin.php index b9af6e0b..f4698bb1 100644 --- a/app/Listeners/DecodeVin.php +++ b/app/Listeners/DecodeVin.php @@ -9,11 +9,9 @@ class DecodeVin implements ShouldQueue { - public $queue = 'misc'; + public $queue = 'default'; - public function __construct() - { - } + public function __construct() {} public function handle(VehicleCreated|VehicleForceRefAdded $event) { diff --git a/app/Listeners/SendElectricStmNotification.php b/app/Listeners/SendElectricStmNotification.php index 3c8a5d5e..348c4fea 100644 --- a/app/Listeners/SendElectricStmNotification.php +++ b/app/Listeners/SendElectricStmNotification.php @@ -12,9 +12,7 @@ class SendElectricStmNotification implements ShouldQueue { public $queue = 'notifications'; - public function __construct() - { - } + public function __construct() {} public function handle(ElectricStmVehicleUpdated $event) { diff --git a/app/Listeners/SendNewVehicleNotification.php b/app/Listeners/SendNewVehicleNotification.php index 91cacca3..958ba830 100644 --- a/app/Listeners/SendNewVehicleNotification.php +++ b/app/Listeners/SendNewVehicleNotification.php @@ -11,9 +11,7 @@ class SendNewVehicleNotification implements ShouldQueue { public $queue = 'notifications'; - public function __construct() - { - } + public function __construct() {} public function handle(VehicleCreated $event) { diff --git a/app/Listeners/SendNewVinSuggestionNotification.php b/app/Listeners/SendNewVinSuggestionNotification.php index 96f5943e..349e2221 100644 --- a/app/Listeners/SendNewVinSuggestionNotification.php +++ b/app/Listeners/SendNewVinSuggestionNotification.php @@ -9,9 +9,7 @@ class SendNewVinSuggestionNotification { - public function __construct() - { - } + public function __construct() {} public function handle(SuggestionCreated $event) { diff --git a/app/Listeners/SendUpdatedVehicleNotification.php b/app/Listeners/SendUpdatedVehicleNotification.php index 50fec955..9205376b 100644 --- a/app/Listeners/SendUpdatedVehicleNotification.php +++ b/app/Listeners/SendUpdatedVehicleNotification.php @@ -10,9 +10,7 @@ class SendUpdatedVehicleNotification { public $queue = 'notifications'; - public function __construct() - { - } + public function __construct() {} public function handle(VehicleUpdated $event) { diff --git a/app/Listeners/SendWelcomeNotification.php b/app/Listeners/SendWelcomeNotification.php index 4e2daccf..d7cef1d2 100644 --- a/app/Listeners/SendWelcomeNotification.php +++ b/app/Listeners/SendWelcomeNotification.php @@ -10,12 +10,10 @@ class SendWelcomeNotification implements ShouldQueue { public $queue = 'notifications'; - public function __construct() - { - } + public function __construct() {} public function handle(NotificationUserCreated $event) { - $event->notificationUser->notify((new Welcome())->delay(now()->addMinute())); + $event->notificationUser->notify((new Welcome)->delay(now()->addMinute())); } } diff --git a/app/Mail/RegionImageSubmitted.php b/app/Mail/RegionImageSubmitted.php new file mode 100644 index 00000000..d3930c2a --- /dev/null +++ b/app/Mail/RegionImageSubmitted.php @@ -0,0 +1,60 @@ +regionImages = $regionImages; + } + + /** + * Get the message envelope. + */ + public function envelope(): Envelope + { + $firstImage = $this->regionImages->first(); + + return new Envelope( + subject: "New Region Images Submitted: {$firstImage->region->name}", + replyTo: [ + new \Illuminate\Mail\Mailables\Address($firstImage->author_email, $firstImage->author_name), + ], + ); + } + + /** + * Get the message content definition. + */ + public function content(): Content + { + return new Content( + markdown: 'mail.region-image-submitted', + ); + } + + /** + * Get the attachments for the message. + * + * @return array + */ + public function attachments(): array + { + return []; + } +} diff --git a/app/Models/Carriage.php b/app/Models/Carriage.php new file mode 100644 index 00000000..d25f2f99 --- /dev/null +++ b/app/Models/Carriage.php @@ -0,0 +1,39 @@ + OccupancyStatus::class, + ]; + + public function agency(): BelongsTo + { + return $this->belongsTo(Agency::class); + } + + public function vehicle(): BelongsTo + { + return $this->belongsTo(Vehicle::class, ['agency_id', 'vehicle_id'], ['agency_id', 'vehicle_id']); + } + + public function carriageType(): BelongsTo + { + return $this->belongsTo(CarriageType::class); + } + + protected function displayedLabel(): Attribute + { + return Attribute::make( + get: fn (mixed $value, array $attributes) => $attributes['label'] ?? $attributes['carriage_id'], + ); + } +} diff --git a/app/Models/CarriageType.php b/app/Models/CarriageType.php new file mode 100644 index 00000000..f6f1d858 --- /dev/null +++ b/app/Models/CarriageType.php @@ -0,0 +1,50 @@ + CarriageCategory::class, + 'automatic_mappings' => 'array', + ]; + + public function carriages(): HasMany + { + return $this->hasMany(Carriage::class); + } + + protected static function booted(): void + { + static::created(function () { + ResponseCache::selectCachedItems() + ->usingSuffix('en') + ->forUrls('/v2/carriageTypes') + ->forget(); + + ResponseCache::selectCachedItems() + ->usingSuffix('fr') + ->forUrls('/v2/carriageTypes') + ->forget(); + }); + + static::updated(function () { + ResponseCache::selectCachedItems() + ->usingSuffix('en') + ->forUrls('/v2/carriageTypes') + ->forget(); + + ResponseCache::selectCachedItems() + ->usingSuffix('fr') + ->forUrls('/v2/carriageTypes') + ->forget(); + }); + } +} diff --git a/app/Models/Region.php b/app/Models/Region.php index 954cb16f..a0898a58 100755 --- a/app/Models/Region.php +++ b/app/Models/Region.php @@ -16,6 +16,19 @@ class Region extends Model { use HasTranslations; + protected $fillable = [ + 'name', + 'slug', + 'info_title', + 'info_body', + 'map_box', + 'map_zoom', + 'conditions', + 'credits', + 'map', + 'active_image_id', + ]; + protected $guarded = []; protected $casts = [ @@ -26,6 +39,16 @@ class Region extends Model public $translatable = ['info_title', 'info_body', 'credits', 'description', 'meta_description']; + public function activeImage() + { + return $this->belongsTo(RegionImage::class, 'active_image_id'); + } + + public function images(): HasMany + { + return $this->hasMany(RegionImage::class); + } + public function agencies(): BelongsToMany { return $this->belongsToMany(Agency::class); diff --git a/app/Models/RegionImage.php b/app/Models/RegionImage.php new file mode 100644 index 00000000..d9a6e9ba --- /dev/null +++ b/app/Models/RegionImage.php @@ -0,0 +1,29 @@ + RegionImageStatus::class, + ]; + + public function region(): BelongsTo + { + return $this->belongsTo(Region::class); + } +} diff --git a/app/Models/User.php b/app/Models/User.php index 625a0bca..4276c9f6 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -12,7 +12,7 @@ class User extends Authenticatable implements FilamentUser { - use HasFactory, HasRoles, Notifiable, CausesActivity; + use CausesActivity, HasFactory, HasRoles, Notifiable; protected $fillable = [ 'name', 'email', 'password', diff --git a/app/Models/Vehicle.php b/app/Models/Vehicle.php index 4f99b5b0..272c3ade 100755 --- a/app/Models/Vehicle.php +++ b/app/Models/Vehicle.php @@ -13,10 +13,10 @@ use App\Models\Vin\Information; use Awobaz\Compoships\Database\Eloquent\Model; use Awobaz\Compoships\Database\Eloquent\Relations\BelongsTo; +use Awobaz\Compoships\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Relations\BelongsToMany; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\MorphToMany; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Str; @@ -31,6 +31,7 @@ class Vehicle extends Model use HasSpatial, LogsActivity; protected $guarded = []; + protected static $recordEvents = ['updated', 'deleted']; protected $casts = [ @@ -58,6 +59,11 @@ public function activeLinks(): BelongsToMany return $this->belongsToMany(Link::class)->active(); } + public function carriages(): HasMany + { + return $this->hasMany(Carriage::class, ['agency_id', 'vehicle_id'], ['agency_id', 'vehicle_id']); + } + public function links(): BelongsToMany { return $this->belongsToMany(Link::class); diff --git a/app/Notifications/DispatchFailed.php b/app/Notifications/DispatchFailed.php index b2f6b0bd..6425914d 100644 --- a/app/Notifications/DispatchFailed.php +++ b/app/Notifications/DispatchFailed.php @@ -13,9 +13,7 @@ class DispatchFailed extends Notification implements ShouldQueue { use Queueable; - public function __construct(private FailedJob $failedJob) - { - } + public function __construct(private FailedJob $failedJob) {} public function via($notifiable) { diff --git a/app/Notifications/NewVinSuggestion.php b/app/Notifications/NewVinSuggestion.php index faef2bdc..b7c7f490 100644 --- a/app/Notifications/NewVinSuggestion.php +++ b/app/Notifications/NewVinSuggestion.php @@ -13,9 +13,7 @@ class NewVinSuggestion extends Notification { use Queueable; - public function __construct(private Suggestion $suggestion) - { - } + public function __construct(private Suggestion $suggestion) {} public function via() { diff --git a/app/Notifications/Push/Welcome.php b/app/Notifications/Push/Welcome.php index a5613be7..f9a51fc4 100644 --- a/app/Notifications/Push/Welcome.php +++ b/app/Notifications/Push/Welcome.php @@ -13,9 +13,7 @@ class Welcome extends Notification implements ShouldQueue { use Queueable; - public function __construct() - { - } + public function __construct() {} public function via() { diff --git a/app/Notifications/RealtimeDataExpired.php b/app/Notifications/RealtimeDataExpired.php index 3f2635c5..e9ff2cf0 100644 --- a/app/Notifications/RealtimeDataExpired.php +++ b/app/Notifications/RealtimeDataExpired.php @@ -13,9 +13,7 @@ class RealtimeDataExpired extends Notification { use Queueable; - public function __construct(private Agency $agency) - { - } + public function __construct(private Agency $agency) {} public function via($notifiable) { diff --git a/app/Notifications/StaticDataUpdated.php b/app/Notifications/StaticDataUpdated.php index 7a439d78..ee08a21f 100644 --- a/app/Notifications/StaticDataUpdated.php +++ b/app/Notifications/StaticDataUpdated.php @@ -12,9 +12,7 @@ class StaticDataUpdated extends Notification { use Queueable; - public function __construct(private Agency $agency) - { - } + public function __construct(private Agency $agency) {} public function via($notifiable) { diff --git a/app/Notifications/StaticGtfsExpired.php b/app/Notifications/StaticGtfsExpired.php index 374dadfc..4f6489ef 100644 --- a/app/Notifications/StaticGtfsExpired.php +++ b/app/Notifications/StaticGtfsExpired.php @@ -12,9 +12,7 @@ class StaticGtfsExpired extends Notification { use Queueable; - public function __construct(private Agency $agency) - { - } + public function __construct(private Agency $agency) {} public function via($notifiable) { diff --git a/app/Policies/ActivityPolicy.php b/app/Policies/ActivityPolicy.php index e92a4062..70d29dd1 100644 --- a/app/Policies/ActivityPolicy.php +++ b/app/Policies/ActivityPolicy.php @@ -5,6 +5,7 @@ use App\Models\Agency; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; +use Illuminate\Auth\Access\Response; class ActivityPolicy { @@ -13,7 +14,7 @@ class ActivityPolicy /** * Determine whether the user can view any models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function viewAny(User $user) { @@ -23,7 +24,7 @@ public function viewAny(User $user) /** * Determine whether the user can view the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function view(User $user, Agency $agency) { @@ -33,7 +34,7 @@ public function view(User $user, Agency $agency) /** * Determine whether the user can create models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function create(User $user) { @@ -43,7 +44,7 @@ public function create(User $user) /** * Determine whether the user can update the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function update(User $user, Agency $agency) { @@ -53,7 +54,7 @@ public function update(User $user, Agency $agency) /** * Determine whether the user can delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function delete(User $user, Agency $agency) { @@ -63,7 +64,7 @@ public function delete(User $user, Agency $agency) /** * Determine whether the user can restore the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function restore(User $user, Agency $agency) { @@ -73,7 +74,7 @@ public function restore(User $user, Agency $agency) /** * Determine whether the user can permanently delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function forceDelete(User $user, Agency $agency) { diff --git a/app/Policies/AgencyPolicy.php b/app/Policies/AgencyPolicy.php index 9eb3ee67..d7431ff0 100644 --- a/app/Policies/AgencyPolicy.php +++ b/app/Policies/AgencyPolicy.php @@ -5,6 +5,7 @@ use App\Models\Agency; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; +use Illuminate\Auth\Access\Response; class AgencyPolicy { @@ -13,7 +14,7 @@ class AgencyPolicy /** * Determine whether the user can view any models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function viewAny(User $user) { @@ -23,7 +24,7 @@ public function viewAny(User $user) /** * Determine whether the user can view the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function view(User $user, Agency $agency) { @@ -33,7 +34,7 @@ public function view(User $user, Agency $agency) /** * Determine whether the user can create models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function create(User $user) { @@ -43,7 +44,7 @@ public function create(User $user) /** * Determine whether the user can update the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function update(User $user, Agency $agency) { @@ -53,7 +54,7 @@ public function update(User $user, Agency $agency) /** * Determine whether the user can delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function delete(User $user, Agency $agency) { @@ -63,7 +64,7 @@ public function delete(User $user, Agency $agency) /** * Determine whether the user can restore the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function restore(User $user, Agency $agency) { @@ -73,7 +74,7 @@ public function restore(User $user, Agency $agency) /** * Determine whether the user can permanently delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function forceDelete(User $user, Agency $agency) { diff --git a/app/Policies/AlertPolicy.php b/app/Policies/AlertPolicy.php index fb0fe133..f1ba8723 100644 --- a/app/Policies/AlertPolicy.php +++ b/app/Policies/AlertPolicy.php @@ -5,6 +5,7 @@ use App\Models\Alert; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; +use Illuminate\Auth\Access\Response; class AlertPolicy { @@ -13,7 +14,7 @@ class AlertPolicy /** * Determine whether the user can view any models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function viewAny(User $user) { @@ -23,7 +24,7 @@ public function viewAny(User $user) /** * Determine whether the user can view the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function view(User $user, Alert $alert) { @@ -33,7 +34,7 @@ public function view(User $user, Alert $alert) /** * Determine whether the user can create models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function create(User $user) { @@ -43,7 +44,7 @@ public function create(User $user) /** * Determine whether the user can update the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function update(User $user, Alert $alert) { @@ -53,7 +54,7 @@ public function update(User $user, Alert $alert) /** * Determine whether the user can delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function delete(User $user, Alert $alert) { @@ -63,7 +64,7 @@ public function delete(User $user, Alert $alert) /** * Determine whether the user can restore the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function restore(User $user, Alert $alert) { @@ -73,7 +74,7 @@ public function restore(User $user, Alert $alert) /** * Determine whether the user can permanently delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function forceDelete(User $user, Alert $alert) { diff --git a/app/Policies/LinkPolicy.php b/app/Policies/LinkPolicy.php index f9607887..17317be7 100644 --- a/app/Policies/LinkPolicy.php +++ b/app/Policies/LinkPolicy.php @@ -5,6 +5,7 @@ use App\Models\Link; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; +use Illuminate\Auth\Access\Response; class LinkPolicy { @@ -13,7 +14,7 @@ class LinkPolicy /** * Determine whether the user can view any models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function viewAny(User $user) { @@ -23,7 +24,7 @@ public function viewAny(User $user) /** * Determine whether the user can view the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function view(User $user, Link $link) { @@ -33,7 +34,7 @@ public function view(User $user, Link $link) /** * Determine whether the user can create models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function create(User $user) { @@ -43,7 +44,7 @@ public function create(User $user) /** * Determine whether the user can update the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function update(User $user, Link $link) { @@ -53,7 +54,7 @@ public function update(User $user, Link $link) /** * Determine whether the user can delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function delete(User $user, Link $link) { @@ -63,7 +64,7 @@ public function delete(User $user, Link $link) /** * Determine whether the user can restore the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function restore(User $user, Link $link) { @@ -73,7 +74,7 @@ public function restore(User $user, Link $link) /** * Determine whether the user can permanently delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function forceDelete(User $user, Link $link) { diff --git a/app/Policies/RegionPolicy.php b/app/Policies/RegionPolicy.php index 40a1ef9e..a1c98350 100644 --- a/app/Policies/RegionPolicy.php +++ b/app/Policies/RegionPolicy.php @@ -5,6 +5,7 @@ use App\Models\Region; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; +use Illuminate\Auth\Access\Response; class RegionPolicy { @@ -13,7 +14,7 @@ class RegionPolicy /** * Determine whether the user can view any models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function viewAny(User $user) { @@ -23,7 +24,7 @@ public function viewAny(User $user) /** * Determine whether the user can view the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function view(User $user, Region $region) { @@ -33,7 +34,7 @@ public function view(User $user, Region $region) /** * Determine whether the user can create models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function create(User $user) { @@ -43,7 +44,7 @@ public function create(User $user) /** * Determine whether the user can update the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function update(User $user, Region $region) { @@ -53,7 +54,7 @@ public function update(User $user, Region $region) /** * Determine whether the user can delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function delete(User $user, Region $region) { @@ -63,7 +64,7 @@ public function delete(User $user, Region $region) /** * Determine whether the user can restore the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function restore(User $user, Region $region) { @@ -73,7 +74,7 @@ public function restore(User $user, Region $region) /** * Determine whether the user can permanently delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function forceDelete(User $user, Region $region) { diff --git a/app/Policies/TagPolicy.php b/app/Policies/TagPolicy.php index eb8673bb..957af7c9 100644 --- a/app/Policies/TagPolicy.php +++ b/app/Policies/TagPolicy.php @@ -5,6 +5,7 @@ use App\Models\Tag; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; +use Illuminate\Auth\Access\Response; class TagPolicy { @@ -13,7 +14,7 @@ class TagPolicy /** * Determine whether the user can view any models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function viewAny(User $user) { @@ -23,7 +24,7 @@ public function viewAny(User $user) /** * Determine whether the user can view the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function view(User $user, Tag $tag) { @@ -33,7 +34,7 @@ public function view(User $user, Tag $tag) /** * Determine whether the user can create models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function create(User $user) { @@ -43,7 +44,7 @@ public function create(User $user) /** * Determine whether the user can update the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function update(User $user, Tag $tag) { @@ -53,7 +54,7 @@ public function update(User $user, Tag $tag) /** * Determine whether the user can delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function delete(User $user, Tag $tag) { @@ -63,7 +64,7 @@ public function delete(User $user, Tag $tag) /** * Determine whether the user can restore the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function restore(User $user, Tag $tag) { @@ -73,7 +74,7 @@ public function restore(User $user, Tag $tag) /** * Determine whether the user can permanently delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function forceDelete(User $user, Tag $tag) { diff --git a/app/Policies/VehiclePolicy.php b/app/Policies/VehiclePolicy.php index 543b67b6..dd9e4cb6 100644 --- a/app/Policies/VehiclePolicy.php +++ b/app/Policies/VehiclePolicy.php @@ -5,6 +5,7 @@ use App\Models\User; use App\Models\Vehicle; use Illuminate\Auth\Access\HandlesAuthorization; +use Illuminate\Auth\Access\Response; use Illuminate\Support\Str; class VehiclePolicy @@ -14,7 +15,7 @@ class VehiclePolicy /** * Determine whether the user can view any models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function viewAny(User $user) { @@ -24,7 +25,7 @@ public function viewAny(User $user) /** * Determine whether the user can view the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function view(User $user, Vehicle $vehicle) { @@ -34,7 +35,7 @@ public function view(User $user, Vehicle $vehicle) /** * Determine whether the user can create models. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function create(User $user) { @@ -44,7 +45,7 @@ public function create(User $user) /** * Determine whether the user can update the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function update(User $user, Vehicle $vehicle) { @@ -62,7 +63,7 @@ public function update(User $user, Vehicle $vehicle) /** * Determine whether the user can delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function delete(User $user, Vehicle $vehicle) { @@ -72,7 +73,7 @@ public function delete(User $user, Vehicle $vehicle) /** * Determine whether the user can restore the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function restore(User $user, Vehicle $vehicle) { @@ -82,7 +83,7 @@ public function restore(User $user, Vehicle $vehicle) /** * Determine whether the user can permanently delete the model. * - * @return \Illuminate\Auth\Access\Response|bool + * @return Response|bool */ public function forceDelete(User $user, Vehicle $vehicle) { diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 48da3f92..6e3baae2 100755 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -26,9 +26,7 @@ class AppServiceProvider extends ServiceProvider /** * Register any application services. */ - public function register(): void - { - } + public function register(): void {} /** * Bootstrap any application services. @@ -39,6 +37,7 @@ public function boot(): void Model::preventLazyLoading(App::environment('local')); + // TODO : Remove or improve Health::checks([ CacheCheck::new(), CpuLoadCheck::new()->failWhenLoadIsHigherInTheLast5Minutes(0.75), diff --git a/app/Providers/Filament/AdminPanelProvider.php b/app/Providers/Filament/AdminPanelProvider.php index 23ab486c..108eba3c 100644 --- a/app/Providers/Filament/AdminPanelProvider.php +++ b/app/Providers/Filament/AdminPanelProvider.php @@ -2,16 +2,17 @@ namespace App\Providers\Filament; +use AlizHarb\ActivityLog\ActivityLogPlugin; use Filament\Http\Middleware\Authenticate; use Filament\Http\Middleware\DisableBladeIconComponents; use Filament\Http\Middleware\DispatchServingFilamentEvent; use Filament\Navigation\NavigationItem; -use Filament\Pages; +use Filament\Pages\Dashboard; use Filament\Panel; use Filament\PanelProvider; -use Filament\SpatieLaravelTranslatablePlugin; use Filament\Support\Colors\Color; -use Filament\Widgets; +use Filament\Widgets\AccountWidget; +use Filament\Widgets\FilamentInfoWidget; use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse; use Illuminate\Cookie\Middleware\EncryptCookies; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken; @@ -19,8 +20,8 @@ use Illuminate\Session\Middleware\AuthenticateSession; use Illuminate\Session\Middleware\StartSession; use Illuminate\View\Middleware\ShareErrorsFromSession; +use LaraZeus\SpatieTranslatable\SpatieTranslatablePlugin; use pxlrbt\FilamentEnvironmentIndicator\EnvironmentIndicatorPlugin; -use Rmsramos\Activitylog\ActivitylogPlugin; class AdminPanelProvider extends PanelProvider { @@ -39,7 +40,7 @@ public function panel(Panel $panel): Panel ->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources') ->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages') ->pages([ - Pages\Dashboard::class, + Dashboard::class, ]) ->navigationItems([ NavigationItem::make('exo VIN') @@ -59,7 +60,7 @@ public function panel(Panel $panel): Panel ]) ->collapsibleNavigationGroups(false) ->plugins([ - SpatieLaravelTranslatablePlugin::make() + SpatieTranslatablePlugin::make() ->defaultLocales(['en', 'fr']), EnvironmentIndicatorPlugin::make() // Only super admin can see everything, so even if the permissions does not exist it's still ok! @@ -71,15 +72,14 @@ public function panel(Panel $panel): Panel 'local' => Color::Blue, default => Color::Pink, }), - ActivitylogPlugin::make() + ActivityLogPlugin::make() ->navigationGroup('System') - ->navigationIcon('gmdi-fact-check-tt') - ->authorize(fn (): bool => auth()->user()->isAdmin()), + ->navigationIcon('gmdi-fact-check-tt'), ]) ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets') ->widgets([ - Widgets\AccountWidget::class, - Widgets\FilamentInfoWidget::class, + AccountWidget::class, + FilamentInfoWidget::class, ]) ->middleware([ EncryptCookies::class, diff --git a/app/View/Components/Button/Text.php b/app/View/Components/Button/Text.php index 8dd38e26..f31a24a0 100644 --- a/app/View/Components/Button/Text.php +++ b/app/View/Components/Button/Text.php @@ -6,9 +6,7 @@ class Text extends Component { - public function __construct(public bool $hasIcon) - { - } + public function __construct(public bool $hasIcon) {} public function render() { diff --git a/app/View/Components/Dialog/Basic.php b/app/View/Components/Dialog/Basic.php index d1e59322..f7341cd7 100644 --- a/app/View/Components/Dialog/Basic.php +++ b/app/View/Components/Dialog/Basic.php @@ -2,6 +2,8 @@ namespace App\View\Components\Dialog; +use Closure; +use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Basic extends Component @@ -19,7 +21,7 @@ public function __construct(public ?string $showProp = null) /** * Get the view / contents that represent the component. * - * @return \Illuminate\Contracts\View\View|\Closure|string + * @return View|Closure|string */ public function render() { diff --git a/app/View/Components/IconButton/Standard.php b/app/View/Components/IconButton/Standard.php index 1f1c02e0..df3f1035 100644 --- a/app/View/Components/IconButton/Standard.php +++ b/app/View/Components/IconButton/Standard.php @@ -2,6 +2,8 @@ namespace App\View\Components\IconButton; +use Closure; +use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Standard extends Component @@ -19,7 +21,7 @@ public function __construct() /** * Get the view / contents that represent the component. * - * @return \Illuminate\Contracts\View\View|\Closure|string + * @return View|Closure|string */ public function render() { diff --git a/bootstrap/app.php b/bootstrap/app.php index 037e17df..b4a5fc36 100755 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -1,5 +1,10 @@ singleton( Illuminate\Contracts\Http\Kernel::class, - App\Http\Kernel::class + Kernel::class ); $app->singleton( @@ -37,8 +42,8 @@ ); $app->singleton( - Illuminate\Contracts\Debug\ExceptionHandler::class, - App\Exceptions\Handler::class + ExceptionHandler::class, + Handler::class ); /* diff --git a/composer.json b/composer.json index d3763b85..354a252b 100755 --- a/composer.json +++ b/composer.json @@ -8,10 +8,11 @@ ], "license": "MIT", "require": { - "php": "^8.1", + "php": "^8.3", "ext-json": "*", "ext-simplexml": "*", "ext-zip": "*", + "alizharb/filament-activity-log": "*", "awobaz/compoships": "^2.2", "bensampo/laravel-enum": "^6.3", "blade-ui-kit/blade-icons": "^1.4", @@ -20,27 +21,26 @@ "dragonmantank/cron-expression": "^3.1", "eneadm/ladder": "^1.0", "felixinx/gtfs-realtime-protobuf-php": "@dev", - "filament/filament": "^3.2", - "filament/spatie-laravel-translatable-plugin": "^3.2", + "filament/filament": "^4.0", "guzzlehttp/guzzle": "^7.2", "guzzlehttp/uri-template": "^1.0", + "lara-zeus/spatie-translatable": "^1.0", "larabug/larabug": "^3.0", - "laravel-notification-channels/webpush": "^9.0", - "laravel/framework": "^11.0", - "laravel/horizon": "^5.7", + "laravel-notification-channels/webpush": "^10.0", + "laravel/framework": "^12.0", + "laravel/horizon": "^5.29", "laravel/reverb": "^1.0", "laravel/sanctum": "^4.0", "laravel/slack-notification-channel": "^3.4", "league/csv": "^9.6", - "livewire/livewire": "^3.4", + "livewire/livewire": "^3.6", "masbug/flysystem-google-drive-ext": "^2.2", "matanyadaev/laravel-eloquent-spatial": "^4.4", "ohdearapp/ohdear-php-sdk": "^3.1", "opcodesio/log-viewer": "^3.0", "predis/predis": "^2.0", "pusher/pusher-php-server": "^7.0", - "pxlrbt/filament-environment-indicator": "^2.0", - "rmsramos/activitylog": "^1.0", + "pxlrbt/filament-environment-indicator": "^3.0", "spatie/cpu-load-health-check": "^1.0", "spatie/laravel-health": "^1.14", "spatie/laravel-package-tools": "^1.9", @@ -56,15 +56,16 @@ "barryvdh/laravel-debugbar": "^3.5", "barryvdh/laravel-ide-helper": "^3.5", "fakerphp/faker": "^1.13", + "filament/upgrade": "^4.0", "knuckleswtf/scribe": "^5.0", - "larastan/larastan": "^2.0", + "larastan/larastan": "^3.0", "laravel/pint": "^1.0", "laravel/telescope": "^5.0", "laravel/tinker": "^2.6", "laravel/ui": "^4.0", "mockery/mockery": "^1.4", - "nunomaduro/collision": "^8.1", - "phpunit/phpunit": "^10.0", + "nunomaduro/collision": "^8.6", + "phpunit/phpunit": "^11.0", "spatie/laravel-ignition": "^2.0" }, "config": { diff --git a/composer.lock b/composer.lock index 433fee40..16269dc7 100755 --- a/composer.lock +++ b/composer.lock @@ -4,95 +4,116 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d666afef492aab00266710a9182b8caf", + "content-hash": "006b14ff637787dcc74547a583b71141", "packages": [ { - "name": "anourvalar/eloquent-serialize", - "version": "1.3.3", + "name": "alizharb/filament-activity-log", + "version": "v1.3.2", "source": { "type": "git", - "url": "https://github.com/AnourValar/eloquent-serialize.git", - "reference": "2f05023f1e465a91dc4f08483e6710325641a444" + "url": "https://github.com/AlizHarb/filament-activity-log.git", + "reference": "6b84e8d9548e66fa548eba73bd22a7a28f7882d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/AnourValar/eloquent-serialize/zipball/2f05023f1e465a91dc4f08483e6710325641a444", - "reference": "2f05023f1e465a91dc4f08483e6710325641a444", + "url": "https://api.github.com/repos/AlizHarb/filament-activity-log/zipball/6b84e8d9548e66fa548eba73bd22a7a28f7882d5", + "reference": "6b84e8d9548e66fa548eba73bd22a7a28f7882d5", "shasum": "" }, "require": { - "laravel/framework": "^8.0|^9.0|^10.0|^11.0|^12.0", - "php": "^7.4|^8.0" + "filament/actions": "^4.2|^5.0", + "filament/filament": "^4.0|^5.0", + "filament/tables": "^4.0|^5.0", + "phiki/phiki": "^1.1|^2.0", + "php": "^8.3", + "spatie/laravel-activitylog": "^4.0|^5.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.26", - "laravel/legacy-factories": "^1.1", - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", - "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^9.5|^10.5|^11.0", - "psalm/plugin-laravel": "^2.8|^3.0", - "squizlabs/php_codesniffer": "^3.7" + "larastan/larastan": "^3.0", + "laravel/pint": "^1.0", + "orchestra/testbench": "^10.0|^11.0", + "pestphp/pest": "^3.0|^4.0", + "pestphp/pest-plugin-laravel": "^3.0|^4.0", + "pestphp/pest-plugin-livewire": "^3.0|^4.0", + "phpstan/phpstan": "^2.0" }, - "type": "library", + "type": "filament-plugin", "extra": { "laravel": { - "aliases": { - "EloquentSerialize": "AnourValar\\EloquentSerialize\\Facades\\EloquentSerializeFacade" - } + "providers": [ + "AlizHarb\\ActivityLog\\ActivityLogServiceProvider" + ] } }, "autoload": { "psr-4": { - "AnourValar\\EloquentSerialize\\": "src/" + "AlizHarb\\ActivityLog\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Laravel Query Builder (Eloquent) serialization", - "homepage": "https://github.com/AnourValar/eloquent-serialize", + "authors": [ + { + "name": "Ali Harb", + "email": "harbzali@gmail.com", + "homepage": "https://github.com/alizharb", + "role": "Developer" + } + ], + "description": "A powerful, feature-rich activity logging solution for FilamentPHP v4 & v5 with timeline views, dashboard widgets, and revert actions.", + "homepage": "https://github.com/alizharb/filament-activity-log", "keywords": [ - "anourvalar", - "builder", - "copy", - "eloquent", - "job", + "activity-log", + "activity-tracking", + "audit-log", + "audit-trail", + "dashboard-widget", + "filament", + "filament-plugin", + "filament-v4", + "filament-v5", "laravel", - "query", - "querybuilder", - "queue", - "serializable", - "serialization", - "serialize" + "laravel-12", + "php", + "spatie", + "timeline" ], "support": { - "issues": "https://github.com/AnourValar/eloquent-serialize/issues", - "source": "https://github.com/AnourValar/eloquent-serialize/tree/1.3.3" + "docs": "https://github.com/alizharb/filament-activity-log#readme", + "issues": "https://github.com/alizharb/filament-activity-log/issues", + "source": "https://github.com/alizharb/filament-activity-log" }, - "time": "2025-05-28T17:07:28+00:00" + "funding": [ + { + "url": "https://github.com/sponsors/alizharb", + "type": "github" + } + ], + "time": "2026-04-16T10:02:46+00:00" }, { "name": "awobaz/compoships", - "version": "2.4.1", + "version": "2.5.5", "source": { "type": "git", "url": "https://github.com/topclaudy/compoships.git", - "reference": "49ef79d912201c8649651d63b5682afae092502e" + "reference": "e3759efad4093c132a053bf5ad1c5b1c16955ad0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/topclaudy/compoships/zipball/49ef79d912201c8649651d63b5682afae092502e", - "reference": "49ef79d912201c8649651d63b5682afae092502e", + "url": "https://api.github.com/repos/topclaudy/compoships/zipball/e3759efad4093c132a053bf5ad1c5b1c16955ad0", + "reference": "e3759efad4093c132a053bf5ad1c5b1c16955ad0", "shasum": "" }, "require": { - "illuminate/database": ">=5.6 <13.0" + "illuminate/database": ">=5.6 <14.0" }, "require-dev": { "ext-sqlite3": "*", "fakerphp/faker": "^1.18", - "phpunit/phpunit": "^6.0|^8.0|^9.0|^10.0|^11.0" + "phpunit/phpunit": "^6.0|^8.0|^9.0|^10.0|^11.0|^12.0" }, "suggest": { "awobaz/blade-active": "Blade directives for the Laravel 'Active' package", @@ -124,7 +145,7 @@ ], "support": { "issues": "https://github.com/topclaudy/compoships/issues", - "source": "https://github.com/topclaudy/compoships/tree/2.4.1" + "source": "https://github.com/topclaudy/compoships/tree/2.5.5" }, "funding": [ { @@ -132,26 +153,26 @@ "type": "custom" } ], - "time": "2025-02-24T15:12:08+00:00" + "time": "2026-03-11T19:17:29+00:00" }, { "name": "bensampo/laravel-enum", - "version": "v6.12.1", + "version": "v6.14.0", "source": { "type": "git", "url": "https://github.com/BenSampo/laravel-enum.git", - "reference": "db2ffc473f23a6be71b14ac898b71064d1dff536" + "reference": "067df676131295e2084d9d1a0f1dee811a1d4c99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/BenSampo/laravel-enum/zipball/db2ffc473f23a6be71b14ac898b71064d1dff536", - "reference": "db2ffc473f23a6be71b14ac898b71064d1dff536", + "url": "https://api.github.com/repos/BenSampo/laravel-enum/zipball/067df676131295e2084d9d1a0f1dee811a1d4c99", + "reference": "067df676131295e2084d9d1a0f1dee811a1d4c99", "shasum": "" }, "require": { "composer/class-map-generator": "^1", - "illuminate/contracts": "^9 || ^10 || ^11 || ^12", - "illuminate/support": "^9 || ^10 || ^11 || ^12", + "illuminate/contracts": "^9 || ^10 || ^11 || ^12 || ^13", + "illuminate/support": "^9 || ^10 || ^11 || ^12 || ^13", "laminas/laminas-code": "^3.4 || ^4", "nikic/php-parser": "^4.13.2 || ^5", "php": "^8" @@ -162,12 +183,12 @@ "larastan/larastan": "^2.9.14 || ^3.1", "mll-lab/php-cs-fixer-config": "^5.10", "mockery/mockery": "^1.6.12", - "orchestra/testbench": "^7.6.1 || ^8.33 || ^9.11 || ^10", + "orchestra/testbench": "^7.6.1 || ^8.33 || ^9.11 || ^10 || ^11", "phpstan/extension-installer": "^1.4.3", "phpstan/phpstan": "^1.12.19 || ^2.1.6", "phpstan/phpstan-mockery": "^1.1.3 || ^2", "phpstan/phpstan-phpunit": "^1.4.2 || ^2.0.4", - "phpunit/phpunit": "^9.5.21 || ^10.5.45 || ^11.5.10 || ^12.0.5", + "phpunit/phpunit": "^9.5.21 || ^10.5.45 || ^11.5.10 || ^12", "rector/rector": "^1.2.10 || ^2.0.9", "symplify/rule-doc-generator": "^11.2 || ^12.2.5" }, @@ -216,7 +237,7 @@ ], "support": { "issues": "https://github.com/BenSampo/laravel-enum/issues", - "source": "https://github.com/BenSampo/laravel-enum/tree/v6.12.1" + "source": "https://github.com/BenSampo/laravel-enum/tree/v6.14.0" }, "funding": [ { @@ -224,30 +245,30 @@ "type": "github" } ], - "time": "2025-05-14T14:21:28+00:00" + "time": "2026-03-29T17:00:09+00:00" }, { "name": "blade-ui-kit/blade-heroicons", - "version": "2.6.0", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/driesvints/blade-heroicons.git", - "reference": "4553b2a1f6c76f0ac7f3bc0de4c0cfa06a097d19" + "reference": "66fa8ba09dba12e0cdb410b8cb94f3b890eca440" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/driesvints/blade-heroicons/zipball/4553b2a1f6c76f0ac7f3bc0de4c0cfa06a097d19", - "reference": "4553b2a1f6c76f0ac7f3bc0de4c0cfa06a097d19", + "url": "https://api.github.com/repos/driesvints/blade-heroicons/zipball/66fa8ba09dba12e0cdb410b8cb94f3b890eca440", + "reference": "66fa8ba09dba12e0cdb410b8cb94f3b890eca440", "shasum": "" }, "require": { "blade-ui-kit/blade-icons": "^1.6", - "illuminate/support": "^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^9.0|^10.0|^11.0|^12.0|^13.0", "php": "^8.0" }, "require-dev": { - "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", - "phpunit/phpunit": "^9.0|^10.5|^11.0" + "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0|^12.0" }, "type": "library", "extra": { @@ -273,7 +294,7 @@ } ], "description": "A package to easily make use of Heroicons in your Laravel Blade views.", - "homepage": "https://github.com/blade-ui-kit/blade-heroicons", + "homepage": "https://github.com/driesvints/blade-heroicons", "keywords": [ "Heroicons", "blade", @@ -281,7 +302,7 @@ ], "support": { "issues": "https://github.com/driesvints/blade-heroicons/issues", - "source": "https://github.com/driesvints/blade-heroicons/tree/2.6.0" + "source": "https://github.com/driesvints/blade-heroicons/tree/2.7.0" }, "funding": [ { @@ -293,34 +314,34 @@ "type": "paypal" } ], - "time": "2025-02-13T20:53:33+00:00" + "time": "2026-03-16T13:00:23+00:00" }, { "name": "blade-ui-kit/blade-icons", - "version": "1.8.0", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/driesvints/blade-icons.git", - "reference": "7b743f27476acb2ed04cb518213d78abe096e814" + "reference": "74189a80bbaa4966aebaee54fec3a3c2ef0a5f3a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/driesvints/blade-icons/zipball/7b743f27476acb2ed04cb518213d78abe096e814", - "reference": "7b743f27476acb2ed04cb518213d78abe096e814", + "url": "https://api.github.com/repos/driesvints/blade-icons/zipball/74189a80bbaa4966aebaee54fec3a3c2ef0a5f3a", + "reference": "74189a80bbaa4966aebaee54fec3a3c2ef0a5f3a", "shasum": "" }, "require": { - "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0", - "illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0|^12.0", - "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0", - "illuminate/view": "^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/view": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", "php": "^7.4|^8.0", - "symfony/console": "^5.3|^6.0|^7.0", - "symfony/finder": "^5.3|^6.0|^7.0" + "symfony/console": "^5.3|^6.0|^7.0|^8.0", + "symfony/finder": "^5.3|^6.0|^7.0|^8.0" }, "require-dev": { "mockery/mockery": "^1.5.1", - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "phpunit/phpunit": "^9.0|^10.5|^11.0" }, "bin": [ @@ -353,7 +374,7 @@ } ], "description": "A package to easily make use of icons in your Laravel Blade views.", - "homepage": "https://github.com/blade-ui-kit/blade-icons", + "homepage": "https://github.com/driesvints/blade-icons", "keywords": [ "blade", "icons", @@ -361,8 +382,8 @@ "svg" ], "support": { - "issues": "https://github.com/blade-ui-kit/blade-icons/issues", - "source": "https://github.com/blade-ui-kit/blade-icons" + "issues": "https://github.com/driesvints/blade-icons/issues", + "source": "https://github.com/driesvints/blade-icons" }, "funding": [ { @@ -374,29 +395,85 @@ "type": "paypal" } ], - "time": "2025-02-13T20:35:06+00:00" + "time": "2026-04-23T19:03:45+00:00" + }, + { + "name": "brick/geo", + "version": "0.13.1", + "source": { + "type": "git", + "url": "https://github.com/brick/geo.git", + "reference": "723b6a2f6b97fcb977b2f3cb91a1806dfbef250a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/geo/zipball/723b6a2f6b97fcb977b2f3cb91a1806dfbef250a", + "reference": "723b6a2f6b97fcb977b2f3cb91a1806dfbef250a", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "brick/reflection": "~0.5.0", + "ext-json": "*", + "ext-pdo": "*", + "ext-sqlite3": "*", + "php-coveralls/php-coveralls": "^2.0", + "phpunit/phpunit": "^10.0", + "vimeo/psalm": "6.8.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Geo\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "GIS geometry library", + "keywords": [ + "brick", + "geo", + "geography", + "geometry", + "gis" + ], + "support": { + "issues": "https://github.com/brick/geo/issues", + "source": "https://github.com/brick/geo/tree/0.13.1" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + } + ], + "time": "2025-03-20T13:03:31+00:00" }, { "name": "brick/math", - "version": "0.12.3", + "version": "0.14.8", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" + "reference": "63422359a44b7f06cae63c3b429b59e8efcc0629" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", - "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", + "url": "https://api.github.com/repos/brick/math/zipball/63422359a44b7f06cae63c3b429b59e8efcc0629", + "reference": "63422359a44b7f06cae63c3b429b59e8efcc0629", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.2" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^10.1", - "vimeo/psalm": "6.8.8" + "phpstan/phpstan": "2.1.22", + "phpunit/phpunit": "^11.5" }, "type": "library", "autoload": { @@ -426,7 +503,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.12.3" + "source": "https://github.com/brick/math/tree/0.14.8" }, "funding": [ { @@ -434,7 +511,7 @@ "type": "github" } ], - "time": "2025-02-28T13:11:00+00:00" + "time": "2026-02-10T14:33:43+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -505,6 +582,168 @@ ], "time": "2023-12-11T17:09:12+00:00" }, + { + "name": "chillerlan/php-qrcode", + "version": "5.0.5", + "source": { + "type": "git", + "url": "https://github.com/chillerlan/php-qrcode.git", + "reference": "7b66282572fc14075c0507d74d9837dab25b38d6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/chillerlan/php-qrcode/zipball/7b66282572fc14075c0507d74d9837dab25b38d6", + "reference": "7b66282572fc14075c0507d74d9837dab25b38d6", + "shasum": "" + }, + "require": { + "chillerlan/php-settings-container": "^2.1.6 || ^3.2.1", + "ext-mbstring": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "chillerlan/php-authenticator": "^4.3.1 || ^5.2.1", + "ext-fileinfo": "*", + "phan/phan": "^5.5.2", + "phpcompatibility/php-compatibility": "10.x-dev", + "phpmd/phpmd": "^2.15", + "phpunit/phpunit": "^9.6", + "setasign/fpdf": "^1.8.2", + "slevomat/coding-standard": "^8.23.0", + "squizlabs/php_codesniffer": "^4.0.0" + }, + "suggest": { + "chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.", + "setasign/fpdf": "Required to use the QR FPDF output.", + "simple-icons/simple-icons": "SVG icons that you can use to embed as logos in the QR Code" + }, + "type": "library", + "autoload": { + "psr-4": { + "chillerlan\\QRCode\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT", + "Apache-2.0" + ], + "authors": [ + { + "name": "Kazuhiko Arase", + "homepage": "https://github.com/kazuhikoarase/qrcode-generator" + }, + { + "name": "ZXing Authors", + "homepage": "https://github.com/zxing/zxing" + }, + { + "name": "Ashot Khanamiryan", + "homepage": "https://github.com/khanamiryan/php-qrcode-detector-decoder" + }, + { + "name": "Smiley", + "email": "smiley@chillerlan.net", + "homepage": "https://github.com/codemasher" + }, + { + "name": "Contributors", + "homepage": "https://github.com/chillerlan/php-qrcode/graphs/contributors" + } + ], + "description": "A QR Code generator and reader with a user-friendly API. PHP 7.4+", + "homepage": "https://github.com/chillerlan/php-qrcode", + "keywords": [ + "phpqrcode", + "qr", + "qr code", + "qr-reader", + "qrcode", + "qrcode-generator", + "qrcode-reader" + ], + "support": { + "docs": "https://php-qrcode.readthedocs.io", + "issues": "https://github.com/chillerlan/php-qrcode/issues", + "source": "https://github.com/chillerlan/php-qrcode" + }, + "funding": [ + { + "url": "https://ko-fi.com/codemasher", + "type": "Ko-Fi" + } + ], + "time": "2025-11-23T23:51:44+00:00" + }, + { + "name": "chillerlan/php-settings-container", + "version": "3.3.0", + "source": { + "type": "git", + "url": "https://github.com/chillerlan/php-settings-container.git", + "reference": "a0a487cbf5344f721eb504bf0f59bada40c381b7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/a0a487cbf5344f721eb504bf0f59bada40c381b7", + "reference": "a0a487cbf5344f721eb504bf0f59bada40c381b7", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^8.1" + }, + "require-dev": { + "phan/phan": "^5.5.2", + "phpmd/phpmd": "^2.15", + "phpstan/phpstan": "^2.1.31", + "phpstan/phpstan-deprecation-rules": "^2.0.3", + "phpunit/phpunit": "^10.5", + "slevomat/coding-standard": "^8.22", + "squizlabs/php_codesniffer": "^4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "chillerlan\\Settings\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Smiley", + "email": "smiley@chillerlan.net", + "homepage": "https://github.com/codemasher" + } + ], + "description": "A container class for immutable settings objects. Not a DI container.", + "homepage": "https://github.com/chillerlan/php-settings-container", + "keywords": [ + "Settings", + "configuration", + "container", + "helper", + "property hook" + ], + "support": { + "issues": "https://github.com/chillerlan/php-settings-container/issues", + "source": "https://github.com/chillerlan/php-settings-container" + }, + "funding": [ + { + "url": "https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4", + "type": "custom" + }, + { + "url": "https://ko-fi.com/codemasher", + "type": "ko_fi" + } + ], + "time": "2026-03-20T21:10:52+00:00" + }, { "name": "clue/redis-protocol", "version": "v0.3.2", @@ -637,28 +876,28 @@ }, { "name": "codeat3/blade-google-material-design-icons", - "version": "1.20.0", + "version": "1.21.0", "source": { "type": "git", "url": "https://github.com/codeat3/blade-google-material-design-icons.git", - "reference": "15fe382419813293a052ffe08c646d3eadfbd195" + "reference": "0211e358de31bbf1bb1722d0c29b6edeab3c7fa3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/codeat3/blade-google-material-design-icons/zipball/15fe382419813293a052ffe08c646d3eadfbd195", - "reference": "15fe382419813293a052ffe08c646d3eadfbd195", + "url": "https://api.github.com/repos/codeat3/blade-google-material-design-icons/zipball/0211e358de31bbf1bb1722d0c29b6edeab3c7fa3", + "reference": "0211e358de31bbf1bb1722d0c29b6edeab3c7fa3", "shasum": "" }, "require": { "blade-ui-kit/blade-icons": "^1.1", - "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", "php": "^7.4|^8.0" }, "require-dev": { - "codeat3/blade-icon-generation-helpers": "^0.10", + "codeat3/blade-icon-generation-helpers": "^0.12", "codeat3/phpcs-styles": "^1.0", - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", - "phpunit/phpunit": "^9.0|^10.5|^11.0" + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0|^12.0" }, "type": "library", "extra": { @@ -698,7 +937,7 @@ ], "support": { "issues": "https://github.com/codeat3/blade-google-material-design-icons/issues", - "source": "https://github.com/codeat3/blade-google-material-design-icons/tree/1.20.0" + "source": "https://github.com/codeat3/blade-google-material-design-icons/tree/1.21.0" }, "funding": [ { @@ -706,26 +945,26 @@ "type": "github" } ], - "time": "2025-02-25T06:49:30+00:00" + "time": "2026-03-22T15:12:28+00:00" }, { "name": "composer/class-map-generator", - "version": "1.6.1", + "version": "1.7.3", "source": { "type": "git", "url": "https://github.com/composer/class-map-generator.git", - "reference": "134b705ddb0025d397d8318a75825fe3c9d1da34" + "reference": "86d8208fc3c649a3a999daf1a63c25201be2990f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/134b705ddb0025d397d8318a75825fe3c9d1da34", - "reference": "134b705ddb0025d397d8318a75825fe3c9d1da34", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/86d8208fc3c649a3a999daf1a63c25201be2990f", + "reference": "86d8208fc3c649a3a999daf1a63c25201be2990f", "shasum": "" }, "require": { "composer/pcre": "^2.1 || ^3.1", "php": "^7.2 || ^8.0", - "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" + "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7 || ^8" }, "require-dev": { "phpstan/phpstan": "^1.12 || ^2", @@ -733,7 +972,7 @@ "phpstan/phpstan-phpunit": "^1 || ^2", "phpstan/phpstan-strict-rules": "^1.1 || ^2", "phpunit/phpunit": "^8", - "symfony/filesystem": "^5.4 || ^6" + "symfony/filesystem": "^5.4 || ^6 || ^7 || ^8" }, "type": "library", "extra": { @@ -763,7 +1002,7 @@ ], "support": { "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.6.1" + "source": "https://github.com/composer/class-map-generator/tree/1.7.3" }, "funding": [ { @@ -773,13 +1012,9 @@ { "url": "https://github.com/composer", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" } ], - "time": "2025-03-24T13:50:44+00:00" + "time": "2026-05-05T09:17:07+00:00" }, { "name": "composer/pcre", @@ -862,16 +1097,16 @@ }, { "name": "composer/semver", - "version": "3.4.3", + "version": "3.4.4", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "url": "https://api.github.com/repos/composer/semver/zipball/198166618906cb2de69b95d7d47e5fa8aa1b2b95", + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95", "shasum": "" }, "require": { @@ -923,7 +1158,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.3" + "source": "https://github.com/composer/semver/tree/3.4.4" }, "funding": [ { @@ -933,13 +1168,9 @@ { "url": "https://github.com/composer", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" } ], - "time": "2024-09-19T14:15:21+00:00" + "time": "2025-08-20T19:15:30+00:00" }, { "name": "danharrin/date-format-converter", @@ -994,27 +1225,27 @@ }, { "name": "danharrin/livewire-rate-limiting", - "version": "v2.1.0", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/danharrin/livewire-rate-limiting.git", - "reference": "14dde653a9ae8f38af07a0ba4921dc046235e1a0" + "reference": "c03e649220089f6e5a52d422e24e3f98c73e456d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/danharrin/livewire-rate-limiting/zipball/14dde653a9ae8f38af07a0ba4921dc046235e1a0", - "reference": "14dde653a9ae8f38af07a0ba4921dc046235e1a0", + "url": "https://api.github.com/repos/danharrin/livewire-rate-limiting/zipball/c03e649220089f6e5a52d422e24e3f98c73e456d", + "reference": "c03e649220089f6e5a52d422e24e3f98c73e456d", "shasum": "" }, "require": { - "illuminate/support": "^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^9.0|^10.0|^11.0|^12.0|^13.0", "php": "^8.0" }, "require-dev": { "livewire/livewire": "^3.0", "livewire/volt": "^1.3", - "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", - "phpunit/phpunit": "^9.0|^10.0|^11.5.3" + "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.0|^10.0|^11.5.3|^12.5.12" }, "type": "library", "autoload": { @@ -1044,7 +1275,7 @@ "type": "github" } ], - "time": "2025-02-21T08:52:11+00:00" + "time": "2026-03-16T11:29:23+00:00" }, { "name": "dflydev/dot-access-data", @@ -1123,16 +1354,16 @@ }, { "name": "doctrine/dbal", - "version": "3.10.0", + "version": "3.10.5", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "1cf840d696373ea0d58ad0a8875c0fadcfc67214" + "reference": "95d84866bf3c04b2ddca1df7c049714660959aef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/1cf840d696373ea0d58ad0a8875c0fadcfc67214", - "reference": "1cf840d696373ea0d58ad0a8875c0fadcfc67214", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/95d84866bf3c04b2ddca1df7c049714660959aef", + "reference": "95d84866bf3c04b2ddca1df7c049714660959aef", "shasum": "" }, "require": { @@ -1148,16 +1379,16 @@ }, "require-dev": { "doctrine/cache": "^1.11|^2.0", - "doctrine/coding-standard": "13.0.0", + "doctrine/coding-standard": "14.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "2.1.17", + "phpstan/phpstan": "2.1.30", "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "9.6.23", - "slevomat/coding-standard": "8.16.2", - "squizlabs/php_codesniffer": "3.13.1", - "symfony/cache": "^5.4|^6.0|^7.0", - "symfony/console": "^4.4|^5.4|^6.0|^7.0" + "phpunit/phpunit": "9.6.34", + "slevomat/coding-standard": "8.27.1", + "squizlabs/php_codesniffer": "4.0.1", + "symfony/cache": "^5.4|^6.0|^7.0|^8.0", + "symfony/console": "^4.4|^5.4|^6.0|^7.0|^8.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -1217,7 +1448,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.10.0" + "source": "https://github.com/doctrine/dbal/tree/3.10.5" }, "funding": [ { @@ -1233,33 +1464,33 @@ "type": "tidelift" } ], - "time": "2025-07-10T21:11:04+00:00" + "time": "2026-02-24T08:03:57+00:00" }, { "name": "doctrine/deprecations", - "version": "1.1.5", + "version": "1.1.6", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38" + "reference": "d4fe3e6fd9bb9e72557a19674f44d8ac7db4c6ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38", - "reference": "459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/d4fe3e6fd9bb9e72557a19674f44d8ac7db4c6ca", + "reference": "d4fe3e6fd9bb9e72557a19674f44d8ac7db4c6ca", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "conflict": { - "phpunit/phpunit": "<=7.5 || >=13" + "phpunit/phpunit": "<=7.5 || >=14" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^12 || ^13", - "phpstan/phpstan": "1.4.10 || 2.1.11", + "doctrine/coding-standard": "^9 || ^12 || ^14", + "phpstan/phpstan": "1.4.10 || 2.1.30", "phpstan/phpstan-phpunit": "^1.0 || ^2", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12.4 || ^13.0", "psr/log": "^1 || ^2 || ^3" }, "suggest": { @@ -1279,22 +1510,22 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.5" + "source": "https://github.com/doctrine/deprecations/tree/1.1.6" }, - "time": "2025-04-07T20:06:18+00:00" + "time": "2026-02-07T07:09:04+00:00" }, { "name": "doctrine/event-manager", - "version": "2.0.1", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/doctrine/event-manager.git", - "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e" + "reference": "dda33921b198841ca8dbad2eaa5d4d34769d18cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e", - "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/dda33921b198841ca8dbad2eaa5d4d34769d18cf", + "reference": "dda33921b198841ca8dbad2eaa5d4d34769d18cf", "shasum": "" }, "require": { @@ -1304,10 +1535,10 @@ "doctrine/common": "<2.9" }, "require-dev": { - "doctrine/coding-standard": "^12", - "phpstan/phpstan": "^1.8.8", - "phpunit/phpunit": "^10.5", - "vimeo/psalm": "^5.24" + "doctrine/coding-standard": "^14", + "phpdocumentor/guides-cli": "^1.4", + "phpstan/phpstan": "^2.1.32", + "phpunit/phpunit": "^10.5.58" }, "type": "library", "autoload": { @@ -1356,7 +1587,7 @@ ], "support": { "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/2.0.1" + "source": "https://github.com/doctrine/event-manager/tree/2.1.1" }, "funding": [ { @@ -1372,37 +1603,36 @@ "type": "tidelift" } ], - "time": "2024-05-22T20:47:39+00:00" + "time": "2026-01-29T07:11:08+00:00" }, { "name": "doctrine/inflector", - "version": "2.0.10", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" + "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", - "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/6d6c96277ea252fc1304627204c3d5e6e15faa3b", + "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^11.0", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "^8.5 || ^9.5", - "vimeo/psalm": "^4.25 || ^5.4" + "doctrine/coding-standard": "^12.0 || ^13.0", + "phpstan/phpstan": "^1.12 || ^2.0", + "phpstan/phpstan-phpunit": "^1.4 || ^2.0", + "phpstan/phpstan-strict-rules": "^1.6 || ^2.0", + "phpunit/phpunit": "^8.5 || ^12.2" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + "Doctrine\\Inflector\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1447,7 +1677,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.10" + "source": "https://github.com/doctrine/inflector/tree/2.1.0" }, "funding": [ { @@ -1463,7 +1693,7 @@ "type": "tidelift" } ], - "time": "2024-02-18T20:23:39+00:00" + "time": "2025-08-10T19:31:58+00:00" }, { "name": "doctrine/lexer", @@ -1544,29 +1774,28 @@ }, { "name": "dragonmantank/cron-expression", - "version": "v3.4.0", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "8c784d071debd117328803d86b2097615b457500" + "reference": "d61a8a9604ec1f8c3d150d09db6ce98b32675013" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/8c784d071debd117328803d86b2097615b457500", - "reference": "8c784d071debd117328803d86b2097615b457500", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/d61a8a9604ec1f8c3d150d09db6ce98b32675013", + "reference": "d61a8a9604ec1f8c3d150d09db6ce98b32675013", "shasum": "" }, "require": { - "php": "^7.2|^8.0", - "webmozart/assert": "^1.0" + "php": "^8.2|^8.3|^8.4|^8.5" }, "replace": { "mtdowling/cron-expression": "^1.0" }, "require-dev": { - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.0", - "phpunit/phpunit": "^7.0|^8.0|^9.0" + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.32|^2.1.31", + "phpunit/phpunit": "^8.5.48|^9.0" }, "type": "library", "extra": { @@ -1597,7 +1826,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.4.0" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.6.0" }, "funding": [ { @@ -1605,7 +1834,7 @@ "type": "github" } ], - "time": "2024-10-09T13:47:03+00:00" + "time": "2025-10-31T18:51:33+00:00" }, { "name": "egulias/email-validator", @@ -1676,27 +1905,27 @@ }, { "name": "eneadm/ladder", - "version": "v1.3.1", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/eneadm/ladder.git", - "reference": "b483a5b6620dec63b8769b0fbb4519ce0af24479" + "reference": "72a2575d4d181b805add31f40000a7179e407a06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/eneadm/ladder/zipball/b483a5b6620dec63b8769b0fbb4519ce0af24479", - "reference": "b483a5b6620dec63b8769b0fbb4519ce0af24479", + "url": "https://api.github.com/repos/eneadm/ladder/zipball/72a2575d4d181b805add31f40000a7179e407a06", + "reference": "72a2575d4d181b805add31f40000a7179e407a06", "shasum": "" }, "require": { "ext-json": "*", - "laravel/framework": "^10.0|^11.0|^12.0", + "laravel/framework": "^10.0|^11.0|^12.0|^13.0", "php": "^8.1" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^8.0|^9.0|^10.0", - "phpunit/phpunit": "^9.0|^10.5|^11.0" + "orchestra/testbench": "^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0|^12" }, "type": "library", "extra": { @@ -1730,7 +1959,7 @@ "issues": "https://github.com/eneadm/ladder/issues", "source": "https://github.com/eneadm/ladder" }, - "time": "2025-06-05T07:05:44+00:00" + "time": "2026-05-11T19:52:25+00:00" }, { "name": "evenement/evenement", @@ -1813,31 +2042,26 @@ }, { "name": "filament/actions", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "3fee2c23368e5ee8d4613786b1bed8d98a8073fc" + "reference": "6a2956424ded8821916ea0c1dd32de078a871244" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/3fee2c23368e5ee8d4613786b1bed8d98a8073fc", - "reference": "3fee2c23368e5ee8d4613786b1bed8d98a8073fc", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/6a2956424ded8821916ea0c1dd32de078a871244", + "reference": "6a2956424ded8821916ea0c1dd32de078a871244", "shasum": "" }, "require": { - "anourvalar/eloquent-serialize": "^1.2", "filament/forms": "self.version", "filament/infolists": "self.version", "filament/notifications": "self.version", "filament/support": "self.version", - "illuminate/contracts": "^10.45|^11.0|^12.0", - "illuminate/database": "^10.45|^11.0|^12.0", - "illuminate/support": "^10.45|^11.0|^12.0", - "league/csv": "^9.16", + "league/csv": "^9.27", "openspout/openspout": "^4.23", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9" + "php": "^8.2" }, "type": "library", "extra": { @@ -1862,43 +2086,35 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-07-08T20:42:21+00:00" + "time": "2026-05-27T16:11:15+00:00" }, { "name": "filament/filament", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "b432b938c35467b9626978fb8b72578ec4d162ae" + "reference": "766f7f0a0efdff1ece67cc4b551c004d10b92f6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/b432b938c35467b9626978fb8b72578ec4d162ae", - "reference": "b432b938c35467b9626978fb8b72578ec4d162ae", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/766f7f0a0efdff1ece67cc4b551c004d10b92f6a", + "reference": "766f7f0a0efdff1ece67cc4b551c004d10b92f6a", "shasum": "" }, "require": { - "danharrin/livewire-rate-limiting": "^0.3|^1.0|^2.0", + "chillerlan/php-qrcode": "^5.0", "filament/actions": "self.version", "filament/forms": "self.version", "filament/infolists": "self.version", "filament/notifications": "self.version", + "filament/schemas": "self.version", "filament/support": "self.version", "filament/tables": "self.version", "filament/widgets": "self.version", - "illuminate/auth": "^10.45|^11.0|^12.0", - "illuminate/console": "^10.45|^11.0|^12.0", - "illuminate/contracts": "^10.45|^11.0|^12.0", - "illuminate/cookie": "^10.45|^11.0|^12.0", - "illuminate/database": "^10.45|^11.0|^12.0", - "illuminate/http": "^10.45|^11.0|^12.0", - "illuminate/routing": "^10.45|^11.0|^12.0", - "illuminate/session": "^10.45|^11.0|^12.0", - "illuminate/support": "^10.45|^11.0|^12.0", - "illuminate/view": "^10.45|^11.0|^12.0", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9" + "php": "^8.2", + "pragmarx/google2fa": "^8.0|^9.0", + "pragmarx/google2fa-qrcode": "^3.0|^4.0" }, "type": "library", "extra": { @@ -1927,35 +2143,29 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-07-01T09:34:40+00:00" + "time": "2026-05-27T16:10:49+00:00" }, { "name": "filament/forms", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "e348d8a92c96fc87b002830848e48559eb0ef715" + "reference": "9f678d0937a5a94e33d7ce45ae3218abccc12a98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/e348d8a92c96fc87b002830848e48559eb0ef715", - "reference": "e348d8a92c96fc87b002830848e48559eb0ef715", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/9f678d0937a5a94e33d7ce45ae3218abccc12a98", + "reference": "9f678d0937a5a94e33d7ce45ae3218abccc12a98", "shasum": "" }, "require": { "danharrin/date-format-converter": "^0.3", "filament/actions": "self.version", + "filament/schemas": "self.version", "filament/support": "self.version", - "illuminate/console": "^10.45|^11.0|^12.0", - "illuminate/contracts": "^10.45|^11.0|^12.0", - "illuminate/database": "^10.45|^11.0|^12.0", - "illuminate/filesystem": "^10.45|^11.0|^12.0", - "illuminate/support": "^10.45|^11.0|^12.0", - "illuminate/validation": "^10.45|^11.0|^12.0", - "illuminate/view": "^10.45|^11.0|^12.0", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9" + "php": "^8.2", + "ueberdosis/tiptap-php": "^2.0" }, "type": "library", "extra": { @@ -1983,33 +2193,27 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-07-08T20:42:22+00:00" + "time": "2026-05-27T16:11:29+00:00" }, { "name": "filament/infolists", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "89a3f1f236863e2035be3d7b0c68987508dd06fa" + "reference": "bd724a7149e14cd53e9ba0ce848fc53e1ecf2834" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/89a3f1f236863e2035be3d7b0c68987508dd06fa", - "reference": "89a3f1f236863e2035be3d7b0c68987508dd06fa", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/bd724a7149e14cd53e9ba0ce848fc53e1ecf2834", + "reference": "bd724a7149e14cd53e9ba0ce848fc53e1ecf2834", "shasum": "" }, "require": { "filament/actions": "self.version", + "filament/schemas": "self.version", "filament/support": "self.version", - "illuminate/console": "^10.45|^11.0|^12.0", - "illuminate/contracts": "^10.45|^11.0|^12.0", - "illuminate/database": "^10.45|^11.0|^12.0", - "illuminate/filesystem": "^10.45|^11.0|^12.0", - "illuminate/support": "^10.45|^11.0|^12.0", - "illuminate/view": "^10.45|^11.0|^12.0", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9" + "php": "^8.2" }, "type": "library", "extra": { @@ -2034,31 +2238,26 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-06-23T10:46:53+00:00" + "time": "2026-05-22T07:37:00+00:00" }, { "name": "filament/notifications", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", - "reference": "adc118c7fc34a423f3c01d6936ad0316f489949c" + "reference": "cd45ef9618bae8b5d4bcf5d19bbece505e985dbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/notifications/zipball/adc118c7fc34a423f3c01d6936ad0316f489949c", - "reference": "adc118c7fc34a423f3c01d6936ad0316f489949c", + "url": "https://api.github.com/repos/filamentphp/notifications/zipball/cd45ef9618bae8b5d4bcf5d19bbece505e985dbd", + "reference": "cd45ef9618bae8b5d4bcf5d19bbece505e985dbd", "shasum": "" }, "require": { "filament/actions": "self.version", "filament/support": "self.version", - "illuminate/contracts": "^10.45|^11.0|^12.0", - "illuminate/filesystem": "^10.45|^11.0|^12.0", - "illuminate/notifications": "^10.45|^11.0|^12.0", - "illuminate/support": "^10.45|^11.0|^12.0", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9" + "php": "^8.2" }, "type": "library", "extra": { @@ -2070,7 +2269,7 @@ }, "autoload": { "files": [ - "src/Testing/Autoload.php" + "src/Testing/helpers.php" ], "psr-4": { "Filament\\Notifications\\": "src" @@ -2086,83 +2285,128 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-07-08T20:42:18+00:00" + "time": "2026-05-20T17:18:04+00:00" }, { - "name": "filament/spatie-laravel-translatable-plugin", - "version": "v3.3.31", + "name": "filament/query-builder", + "version": "v4.11.6", "source": { "type": "git", - "url": "https://github.com/filamentphp/spatie-laravel-translatable-plugin.git", - "reference": "342aa249ea4ec45974732635299eb5db1ab9da9f" + "url": "https://github.com/filamentphp/query-builder.git", + "reference": "34adfe3f6cded48ea5dfb6f081a33080819c900c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/spatie-laravel-translatable-plugin/zipball/342aa249ea4ec45974732635299eb5db1ab9da9f", - "reference": "342aa249ea4ec45974732635299eb5db1ab9da9f", + "url": "https://api.github.com/repos/filamentphp/query-builder/zipball/34adfe3f6cded48ea5dfb6f081a33080819c900c", + "reference": "34adfe3f6cded48ea5dfb6f081a33080819c900c", "shasum": "" }, "require": { + "filament/actions": "self.version", + "filament/forms": "self.version", + "filament/schemas": "self.version", "filament/support": "self.version", - "illuminate/support": "^10.45|^11.0|^12.0", - "php": "^8.1", - "spatie/laravel-translatable": "^6.0" + "php": "^8.2" }, "type": "library", "extra": { "laravel": { "providers": [ - "Filament\\SpatieLaravelTranslatablePluginServiceProvider" + "Filament\\QueryBuilder\\QueryBuilderServiceProvider" ] } }, "autoload": { "psr-4": { - "Filament\\": "src" + "Filament\\QueryBuilder\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Filament support for `spatie/laravel-translatable`.", + "description": "A powerful query builder component for Filament.", + "homepage": "https://github.com/filamentphp/filament", + "support": { + "issues": "https://github.com/filamentphp/filament/issues", + "source": "https://github.com/filamentphp/filament" + }, + "time": "2026-05-27T16:12:03+00:00" + }, + { + "name": "filament/schemas", + "version": "v4.11.6", + "source": { + "type": "git", + "url": "https://github.com/filamentphp/schemas.git", + "reference": "cb3549bdf6108e06b389d23d6349910548b8d3b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filamentphp/schemas/zipball/cb3549bdf6108e06b389d23d6349910548b8d3b5", + "reference": "cb3549bdf6108e06b389d23d6349910548b8d3b5", + "shasum": "" + }, + "require": { + "danharrin/date-format-converter": "^0.3", + "filament/actions": "self.version", + "filament/support": "self.version", + "php": "^8.2" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Filament\\Schemas\\SchemasServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Filament\\Schemas\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Easily add beautiful UI to any Livewire component.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-02-25T08:19:17+00:00" + "time": "2026-05-27T16:11:05+00:00" }, { "name": "filament/support", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "ec8c7e9e6b49d4f1150a19bfd6fc585c717a857d" + "reference": "bea5b4767b3e711ad779164db4d24cdab21685d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/ec8c7e9e6b49d4f1150a19bfd6fc585c717a857d", - "reference": "ec8c7e9e6b49d4f1150a19bfd6fc585c717a857d", + "url": "https://api.github.com/repos/filamentphp/support/zipball/bea5b4767b3e711ad779164db4d24cdab21685d5", + "reference": "bea5b4767b3e711ad779164db4d24cdab21685d5", "shasum": "" }, "require": { "blade-ui-kit/blade-heroicons": "^2.5", - "doctrine/dbal": "^3.2|^4.0", + "danharrin/livewire-rate-limiting": "^2.0", "ext-intl": "*", - "illuminate/contracts": "^10.45|^11.0|^12.0", - "illuminate/support": "^10.45|^11.0|^12.0", - "illuminate/view": "^10.45|^11.0|^12.0", - "kirschbaum-development/eloquent-power-joins": "^3.0|^4.0", + "illuminate/contracts": "^11.28|^12.0|^13.0", + "kirschbaum-development/eloquent-power-joins": "^4.0", + "league/uri-components": "^7.0", "livewire/livewire": "^3.5", - "php": "^8.1", - "ryangjchandler/blade-capture-directive": "^0.2|^0.3|^1.0", - "spatie/color": "^1.5", - "spatie/invade": "^1.0|^2.0", + "nette/php-generator": "^4.0", + "php": "^8.2", + "ryangjchandler/blade-capture-directive": "^1.0", + "spatie/invade": "^2.0", "spatie/laravel-package-tools": "^1.9", - "symfony/console": "^6.0|^7.0", - "symfony/html-sanitizer": "^6.1|^7.0" + "symfony/console": "^7.0|^8.0", + "symfony/html-sanitizer": "^7.0|^8.0" }, "type": "library", "extra": { @@ -2190,34 +2434,28 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-07-08T20:42:46+00:00" + "time": "2026-05-27T16:11:10+00:00" }, { "name": "filament/tables", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "3f0d827c960f1ee4a67ab71c416ad67e24747dc4" + "reference": "06e71c8e798e3a47cffae6262e70d050393f2fa7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/3f0d827c960f1ee4a67ab71c416ad67e24747dc4", - "reference": "3f0d827c960f1ee4a67ab71c416ad67e24747dc4", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/06e71c8e798e3a47cffae6262e70d050393f2fa7", + "reference": "06e71c8e798e3a47cffae6262e70d050393f2fa7", "shasum": "" }, "require": { "filament/actions": "self.version", "filament/forms": "self.version", + "filament/query-builder": "self.version", "filament/support": "self.version", - "illuminate/console": "^10.45|^11.0|^12.0", - "illuminate/contracts": "^10.45|^11.0|^12.0", - "illuminate/database": "^10.45|^11.0|^12.0", - "illuminate/filesystem": "^10.45|^11.0|^12.0", - "illuminate/support": "^10.45|^11.0|^12.0", - "illuminate/view": "^10.45|^11.0|^12.0", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9" + "php": "^8.2" }, "type": "library", "extra": { @@ -2242,26 +2480,26 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-07-08T20:42:18+00:00" + "time": "2026-05-27T16:10:49+00:00" }, { "name": "filament/widgets", - "version": "v3.3.31", + "version": "v4.11.6", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", - "reference": "5b956f884aaef479f6091463cb829e7c9f2afc2c" + "reference": "da75cb629d475549779451c152c01a64707f933b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/widgets/zipball/5b956f884aaef479f6091463cb829e7c9f2afc2c", - "reference": "5b956f884aaef479f6091463cb829e7c9f2afc2c", + "url": "https://api.github.com/repos/filamentphp/widgets/zipball/da75cb629d475549779451c152c01a64707f933b", + "reference": "da75cb629d475549779451c152c01a64707f933b", "shasum": "" }, "require": { + "filament/schemas": "self.version", "filament/support": "self.version", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9" + "php": "^8.2" }, "type": "library", "extra": { @@ -2286,20 +2524,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-06-12T15:11:14+00:00" + "time": "2026-05-27T16:12:03+00:00" }, { "name": "firebase/php-jwt", - "version": "v6.11.1", + "version": "v7.0.5", "source": { "type": "git", - "url": "https://github.com/firebase/php-jwt.git", - "reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66" + "url": "https://github.com/googleapis/php-jwt.git", + "reference": "47ad26bab5e7c70ae8a6f08ed25ff83631121380" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/d1e91ecf8c598d073d0995afa8cd5c75c6e19e66", - "reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66", + "url": "https://api.github.com/repos/googleapis/php-jwt/zipball/47ad26bab5e7c70ae8a6f08ed25ff83631121380", + "reference": "47ad26bab5e7c70ae8a6f08ed25ff83631121380", "shasum": "" }, "require": { @@ -2307,6 +2545,7 @@ }, "require-dev": { "guzzlehttp/guzzle": "^7.4", + "phpfastcache/phpfastcache": "^9.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", "psr/cache": "^2.0||^3.0", @@ -2346,38 +2585,38 @@ "php" ], "support": { - "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.11.1" + "issues": "https://github.com/googleapis/php-jwt/issues", + "source": "https://github.com/googleapis/php-jwt/tree/v7.0.5" }, - "time": "2025-04-09T20:32:01+00:00" + "time": "2026-04-01T20:38:03+00:00" }, { "name": "fruitcake/php-cors", - "version": "v1.3.0", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/fruitcake/php-cors.git", - "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" + "reference": "38aaa6c3fd4c157ffe2a4d10aa8b9b16ba8de379" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", - "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/38aaa6c3fd4c157ffe2a4d10aa8b9b16ba8de379", + "reference": "38aaa6c3fd4c157ffe2a4d10aa8b9b16ba8de379", "shasum": "" }, "require": { - "php": "^7.4|^8.0", - "symfony/http-foundation": "^4.4|^5.4|^6|^7" + "php": "^8.1", + "symfony/http-foundation": "^5.4|^6.4|^7.3|^8" }, "require-dev": { - "phpstan/phpstan": "^1.4", + "phpstan/phpstan": "^2", "phpunit/phpunit": "^9", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -2408,7 +2647,7 @@ ], "support": { "issues": "https://github.com/fruitcake/php-cors/issues", - "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" + "source": "https://github.com/fruitcake/php-cors/tree/v1.4.0" }, "funding": [ { @@ -2420,35 +2659,34 @@ "type": "github" } ], - "time": "2023-10-12T05:21:21+00:00" + "time": "2025-12-03T09:33:47+00:00" }, { "name": "google/apiclient", - "version": "v2.18.3", + "version": "v2.19.3", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client.git", - "reference": "4eee42d201eff054428a4836ec132944d271f051" + "reference": "a1f02761994fd9defb20f6f1449205fd66f450de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/4eee42d201eff054428a4836ec132944d271f051", - "reference": "4eee42d201eff054428a4836ec132944d271f051", + "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/a1f02761994fd9defb20f6f1449205fd66f450de", + "reference": "a1f02761994fd9defb20f6f1449205fd66f450de", "shasum": "" }, "require": { - "firebase/php-jwt": "^6.0", + "firebase/php-jwt": "^6.0||^7.0", "google/apiclient-services": "~0.350", "google/auth": "^1.37", "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.6", "monolog/monolog": "^2.9||^3.0", - "php": "^8.0", - "phpseclib/phpseclib": "^3.0.36" + "php": "^8.1" }, "require-dev": { "cache/filesystem-adapter": "^1.1", - "composer/composer": "^1.10.23", + "composer/composer": "^2.9", "phpcompatibility/php-compatibility": "^9.2", "phpspec/prophecy-phpunit": "^2.1", "phpunit/phpunit": "^9.6", @@ -2461,6 +2699,9 @@ }, "type": "library", "extra": { + "component": { + "entry": "src/Client.php" + }, "branch-alias": { "dev-main": "2.x-dev" } @@ -2487,26 +2728,26 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client/issues", - "source": "https://github.com/googleapis/google-api-php-client/tree/v2.18.3" + "source": "https://github.com/googleapis/google-api-php-client/tree/v2.19.3" }, - "time": "2025-04-08T21:59:36+00:00" + "time": "2026-05-04T21:00:36+00:00" }, { "name": "google/apiclient-services", - "version": "v0.402.0", + "version": "v0.443.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client-services.git", - "reference": "8366037e450b62ffc1c5489459f207640acca2b4" + "reference": "102aba0523d5105adaffdcac6c0c74a527f2bbfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/8366037e450b62ffc1c5489459f207640acca2b4", - "reference": "8366037e450b62ffc1c5489459f207640acca2b4", + "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/102aba0523d5105adaffdcac6c0c74a527f2bbfc", + "reference": "102aba0523d5105adaffdcac6c0c74a527f2bbfc", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.1" }, "require-dev": { "phpunit/phpunit": "^9.6" @@ -2531,43 +2772,44 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client-services/issues", - "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.402.0" + "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.443.0" }, - "time": "2025-06-04T17:28:44+00:00" + "time": "2026-05-29T01:56:23+00:00" }, { "name": "google/auth", - "version": "v1.47.1", + "version": "v1.50.2", "source": { "type": "git", "url": "https://github.com/googleapis/google-auth-library-php.git", - "reference": "d7a0a215ec42ca0c8cb40e9ae0c5960aa9a024b7" + "reference": "58788f86d47e59de692c0dae0bb0c006bd0b6018" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/d7a0a215ec42ca0c8cb40e9ae0c5960aa9a024b7", - "reference": "d7a0a215ec42ca0c8cb40e9ae0c5960aa9a024b7", + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/58788f86d47e59de692c0dae0bb0c006bd0b6018", + "reference": "58788f86d47e59de692c0dae0bb0c006bd0b6018", "shasum": "" }, "require": { - "firebase/php-jwt": "^6.0", + "firebase/php-jwt": "^6.0||^7.0", "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.4.5", - "php": "^8.0", + "php": "^8.1", "psr/cache": "^2.0||^3.0", "psr/http-message": "^1.1||^2.0", - "psr/log": "^3.0" + "psr/log": "^2.0||^3.0" }, "require-dev": { "guzzlehttp/promises": "^2.0", - "kelvinmo/simplejwt": "0.7.1", + "kelvinmo/simplejwt": "^1.1.0", "phpseclib/phpseclib": "^3.0.35", "phpspec/prophecy-phpunit": "^2.1", "phpunit/phpunit": "^9.6", "sebastian/comparator": ">=1.2.3", - "squizlabs/php_codesniffer": "^3.5", + "squizlabs/php_codesniffer": "^4.0", + "symfony/filesystem": "^6.3||^7.3", "symfony/process": "^6.0||^7.0", - "webmozart/assert": "^1.11" + "webmozart/assert": "^1.11||^2.0" }, "suggest": { "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2." @@ -2592,22 +2834,22 @@ "support": { "docs": "https://cloud.google.com/php/docs/reference/auth/latest", "issues": "https://github.com/googleapis/google-auth-library-php/issues", - "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.47.1" + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.50.2" }, - "time": "2025-07-09T15:26:02+00:00" + "time": "2026-05-29T19:22:31+00:00" }, { "name": "google/protobuf", - "version": "v3.25.8", + "version": "v3.25.9", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "57d440fc54a00fda5b8781e8d9bf0140ea6d8e52" + "reference": "7430ad4744937be8ffcc0259a8e921bcf26589f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/57d440fc54a00fda5b8781e8d9bf0140ea6d8e52", - "reference": "57d440fc54a00fda5b8781e8d9bf0140ea6d8e52", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/7430ad4744937be8ffcc0259a8e921bcf26589f3", + "reference": "7430ad4744937be8ffcc0259a8e921bcf26589f3", "shasum": "" }, "require": { @@ -2636,30 +2878,30 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.25.8" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.25.9" }, - "time": "2025-05-27T21:04:40+00:00" + "time": "2026-03-25T20:44:55+00:00" }, { "name": "graham-campbell/result-type", - "version": "v1.1.3", + "version": "v1.1.4", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" + "reference": "e01f4a821471308ba86aa202fed6698b6b695e3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", - "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/e01f4a821471308ba86aa202fed6698b6b695e3b", + "reference": "e01f4a821471308ba86aa202fed6698b6b695e3b", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.3" + "phpoption/phpoption": "^1.9.5" }, "require-dev": { - "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + "phpunit/phpunit": "^8.5.41 || ^9.6.22 || ^10.5.45 || ^11.5.7" }, "type": "library", "autoload": { @@ -2688,7 +2930,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.4" }, "funding": [ { @@ -2700,29 +2942,30 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:45:45+00:00" + "time": "2025-12-27T19:43:20+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.9.3", + "version": "7.11.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77" + "reference": "c987f8ce84b8434fa430795eca0f3430663da72b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", - "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/c987f8ce84b8434fa430795eca0f3430663da72b", + "reference": "c987f8ce84b8434fa430795eca0f3430663da72b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.3", - "guzzlehttp/psr7": "^2.7.0", + "guzzlehttp/promises": "^2.5", + "guzzlehttp/psr7": "^2.11", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" + "symfony/deprecation-contracts": "^2.5 || ^3.0", + "symfony/polyfill-php80": "^1.24" }, "provide": { "psr/http-client-implementation": "1.0" @@ -2731,8 +2974,9 @@ "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", "guzzle/client-integration-tests": "3.0.2", + "guzzlehttp/test-server": "^0.4", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "phpunit/phpunit": "^8.5.52 || ^9.6.34", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -2810,7 +3054,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.9.3" + "source": "https://github.com/guzzle/guzzle/tree/7.11.0" }, "funding": [ { @@ -2826,28 +3070,29 @@ "type": "tidelift" } ], - "time": "2025-03-27T13:37:11+00:00" + "time": "2026-06-02T12:40:51+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.2.0", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c" + "reference": "4360e982f87f5f258bf872d094647791db2f4c8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/7c69f28996b0a6920945dd20b3857e499d9ca96c", - "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c", + "url": "https://api.github.com/repos/guzzle/promises/zipball/4360e982f87f5f258bf872d094647791db2f4c8e", + "reference": "4360e982f87f5f258bf872d094647791db2f4c8e", "shasum": "" }, "require": { - "php": "^7.2.5 || ^8.0" + "php": "^7.2.5 || ^8.0", + "symfony/deprecation-contracts": "^2.5 || ^3.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" + "phpunit/phpunit": "^8.5.52 || ^9.6.34" }, "type": "library", "extra": { @@ -2893,7 +3138,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.2.0" + "source": "https://github.com/guzzle/promises/tree/2.5.0" }, "funding": [ { @@ -2909,27 +3154,29 @@ "type": "tidelift" } ], - "time": "2025-03-27T13:27:01+00:00" + "time": "2026-06-02T12:23:43+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.7.1", + "version": "2.11.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" + "reference": "bbb5e61349fa5cb822b3e87842b951088b76b81f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16", - "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/bbb5e61349fa5cb822b3e87842b951088b76b81f", + "reference": "bbb5e61349fa5cb822b3e87842b951088b76b81f", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.1 || ^2.0", - "ralouphie/getallheaders": "^3.0" + "ralouphie/getallheaders": "^3.0", + "symfony/deprecation-contracts": "^2.5 || ^3.0", + "symfony/polyfill-php80": "^1.24" }, "provide": { "psr/http-factory-implementation": "1.0", @@ -2937,8 +3184,9 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "0.9.0", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" + "http-interop/http-factory-tests": "1.1.0", + "jshttp/mime-db": "1.54.0.1", + "phpunit/phpunit": "^8.5.52 || ^9.6.34" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -3009,7 +3257,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.7.1" + "source": "https://github.com/guzzle/psr7/tree/2.11.0" }, "funding": [ { @@ -3025,20 +3273,20 @@ "type": "tidelift" } ], - "time": "2025-03-27T12:30:47+00:00" + "time": "2026-06-02T12:30:48+00:00" }, { "name": "guzzlehttp/uri-template", - "version": "v1.0.4", + "version": "v1.0.6", "source": { "type": "git", "url": "https://github.com/guzzle/uri-template.git", - "reference": "30e286560c137526eccd4ce21b2de477ab0676d2" + "reference": "eef7f87bab6f204eba3c39224d8075c70c637946" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/uri-template/zipball/30e286560c137526eccd4ce21b2de477ab0676d2", - "reference": "30e286560c137526eccd4ce21b2de477ab0676d2", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/eef7f87bab6f204eba3c39224d8075c70c637946", + "reference": "eef7f87bab6f204eba3c39224d8075c70c637946", "shasum": "" }, "require": { @@ -3047,7 +3295,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.52 || ^9.6.34", "uri-template/tests": "1.0.0" }, "type": "library", @@ -3095,7 +3343,7 @@ ], "support": { "issues": "https://github.com/guzzle/uri-template/issues", - "source": "https://github.com/guzzle/uri-template/tree/v1.0.4" + "source": "https://github.com/guzzle/uri-template/tree/v1.0.6" }, "funding": [ { @@ -3111,32 +3359,32 @@ "type": "tidelift" } ], - "time": "2025-02-03T10:55:03+00:00" + "time": "2026-05-23T22:00:21+00:00" }, { "name": "kirschbaum-development/eloquent-power-joins", - "version": "4.2.6", + "version": "4.3.2", "source": { "type": "git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", - "reference": "72cff1e838bb3f826dc09a5566219ad7fa56237f" + "reference": "33c189bd51a510c1ceba67222395ead08a29863a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/72cff1e838bb3f826dc09a5566219ad7fa56237f", - "reference": "72cff1e838bb3f826dc09a5566219ad7fa56237f", + "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/33c189bd51a510c1ceba67222395ead08a29863a", + "reference": "33c189bd51a510c1ceba67222395ead08a29863a", "shasum": "" }, "require": { - "illuminate/database": "^11.42|^12.0", - "illuminate/support": "^11.42|^12.0", + "illuminate/database": "^11.42|^12.0|^13.0", + "illuminate/support": "^11.42|^12.0|^13.0", "php": "^8.2" }, "require-dev": { "friendsofphp/php-cs-fixer": "dev-master", - "laravel/legacy-factories": "^1.0@dev", - "orchestra/testbench": "^9.0|^10.0", - "phpunit/phpunit": "^10.0|^11.0" + "laravel/legacy-factories": "^1.0@dev|dev-master", + "orchestra/testbench": "^9.0|^10.0|^11.0", + "phpunit/phpunit": "^10.0|^11.0|^12.0" }, "type": "library", "extra": { @@ -3172,33 +3420,33 @@ ], "support": { "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", - "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.6" + "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.3.2" }, - "time": "2025-07-10T16:55:34+00:00" + "time": "2026-05-28T20:35:55+00:00" }, { "name": "laminas/laminas-code", - "version": "4.16.0", + "version": "4.17.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-code.git", - "reference": "1793e78dad4108b594084d05d1fb818b85b110af" + "reference": "40d61e2899ec17c5d08bbc0a2d586b3ca17ab9bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/1793e78dad4108b594084d05d1fb818b85b110af", - "reference": "1793e78dad4108b594084d05d1fb818b85b110af", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/40d61e2899ec17c5d08bbc0a2d586b3ca17ab9bd", + "reference": "40d61e2899ec17c5d08bbc0a2d586b3ca17ab9bd", "shasum": "" }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" + "php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0" }, "require-dev": { "doctrine/annotations": "^2.0.1", "ext-phar": "*", "laminas/laminas-coding-standard": "^3.0.0", "laminas/laminas-stdlib": "^3.18.0", - "phpunit/phpunit": "^10.5.37", + "phpunit/phpunit": "^10.5.58", "psalm/plugin-phpunit": "^0.19.0", "vimeo/psalm": "^5.15.0" }, @@ -3237,32 +3485,90 @@ "type": "community_bridge" } ], - "time": "2024-11-20T13:15:13+00:00" + "time": "2025-11-01T09:38:14+00:00" + }, + { + "name": "lara-zeus/spatie-translatable", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/lara-zeus/spatie-translatable.git", + "reference": "beef575188bf899a83c0ab8eab26be890611ce97" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/lara-zeus/spatie-translatable/zipball/beef575188bf899a83c0ab8eab26be890611ce97", + "reference": "beef575188bf899a83c0ab8eab26be890611ce97", + "shasum": "" + }, + "require": { + "ext-intl": "*", + "filament/filament": "^4.0", + "php": "^8.1", + "spatie/laravel-translatable": "^6.0" + }, + "require-dev": { + "larastan/larastan": "^3.4", + "laravel/pint": "^1.0", + "orchestra/testbench": "^10.2", + "phpstan/extension-installer": "^1.4", + "roave/security-advisories": "dev-latest" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LaraZeus\\SpatieTranslatable\\SpatieTranslatableServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LaraZeus\\SpatieTranslatable\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Filament support for `spatie/laravel-translatable`.", + "homepage": "https://github.com/lara-zeus/spatie-translatable", + "support": { + "issues": "https://github.com/lara-zeus/spatie-translatable/issues", + "source": "https://github.com/lara-zeus/spatie-translatable" + }, + "funding": [ + { + "url": "https://github.com/atmonshi", + "type": "github" + } + ], + "time": "2025-10-17T09:30:19+00:00" }, { "name": "larabug/larabug", - "version": "3.3", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/LaraBug/LaraBug.git", - "reference": "e9dba4d38166372f3772b57f39296eb502c598d1" + "reference": "de22994653d8340014dc97596063e299c2413b20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/LaraBug/LaraBug/zipball/e9dba4d38166372f3772b57f39296eb502c598d1", - "reference": "e9dba4d38166372f3772b57f39296eb502c598d1", + "url": "https://api.github.com/repos/LaraBug/LaraBug/zipball/de22994653d8340014dc97596063e299c2413b20", + "reference": "de22994653d8340014dc97596063e299c2413b20", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^6.0.2 || ^7.0", - "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0", "nesbot/carbon": "^2.62.1 || ^3.0", "php": "^7.4 || ^8.0 || ^8.2 || ^8.3 || ^8.4" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.4", "mockery/mockery": "^1.3.3 || ^1.4.2", - "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", "phpunit/phpunit": "^8.5.23 || ^9.5.12 || ^10.0.9 || ^11.0" }, "type": "library", @@ -3271,9 +3577,15 @@ "providers": [ "LaraBug\\ServiceProvider" ] + }, + "branch-alias": { + "dev-feature/queue-monitoring": "3.3.x-dev" } }, "autoload": { + "files": [ + "src/helpers.php" + ], "psr-4": { "LaraBug\\": "src/" } @@ -3289,7 +3601,7 @@ "role": "Owner" } ], - "description": "Laravel 6.x/7.x/8.x/9.x/10.x/11.x bug notifier", + "description": "Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier", "keywords": [ "error", "laravel", @@ -3297,34 +3609,37 @@ ], "support": { "issues": "https://github.com/LaraBug/LaraBug/issues", - "source": "https://github.com/LaraBug/LaraBug/tree/3.3" + "source": "https://github.com/LaraBug/LaraBug/tree/3.7.0" }, - "time": "2025-03-01T16:12:03+00:00" + "time": "2026-04-11T10:56:41+00:00" }, { "name": "laravel-notification-channels/webpush", - "version": "9.0.0", + "version": "10.5.0", "source": { "type": "git", "url": "https://github.com/laravel-notification-channels/webpush.git", - "reference": "9ed37971f230f99e8e45b5ba00282c608a458fb8" + "reference": "4e7a9b5accce086c989bc061587ad2f51809887b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel-notification-channels/webpush/zipball/9ed37971f230f99e8e45b5ba00282c608a458fb8", - "reference": "9ed37971f230f99e8e45b5ba00282c608a458fb8", + "url": "https://api.github.com/repos/laravel-notification-channels/webpush/zipball/4e7a9b5accce086c989bc061587ad2f51809887b", + "reference": "4e7a9b5accce086c989bc061587ad2f51809887b", "shasum": "" }, "require": { - "illuminate/notifications": "^9.0|^10.0|^11.0", - "illuminate/support": "^9.0|^10.0|^11.0", - "minishlink/web-push": "^9.0", - "php": "^8.1" + "illuminate/notifications": "^11.0|^12.0|^13.0", + "illuminate/support": "^11.0|^12.0|^13.0", + "minishlink/web-push": "^10.0", + "php": "^8.2" }, "require-dev": { - "mockery/mockery": "~1.0", - "orchestra/testbench": "^7.0|^8.0|^9.0", - "phpunit/phpunit": "^9.5|^10.5" + "larastan/larastan": "^3.1", + "laravel/pint": "^1.25", + "mockery/mockery": "^1.0", + "orchestra/testbench": "^9.2|^10.0|^11.0", + "phpunit/phpunit": "^10.5|^11.5.3|^12.5.12", + "rector/rector": "^2.0" }, "type": "library", "extra": { @@ -3349,32 +3664,37 @@ "email": "me@cretueusebiu.com", "homepage": "http://cretueusebiu.com", "role": "Developer" + }, + { + "name": "Joost de Bruijn", + "email": "joost@aqualabs.nl", + "role": "Maintainer" } ], "description": "Web Push Notifications driver for Laravel.", "homepage": "https://github.com/laravel-notification-channels/webpush", "support": { "issues": "https://github.com/laravel-notification-channels/webpush/issues", - "source": "https://github.com/laravel-notification-channels/webpush/tree/9.0.0" + "source": "https://github.com/laravel-notification-channels/webpush/tree/10.5.0" }, - "time": "2024-07-10T15:27:34+00:00" + "time": "2026-02-25T07:53:15+00:00" }, { "name": "laravel/framework", - "version": "v11.45.1", + "version": "v12.61.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "b09ba32795b8e71df10856a2694706663984a239" + "reference": "e8472ca9774452fe50841d9bdced060679f4d58d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/b09ba32795b8e71df10856a2694706663984a239", - "reference": "b09ba32795b8e71df10856a2694706663984a239", + "url": "https://api.github.com/repos/laravel/framework/zipball/e8472ca9774452fe50841d9bdced060679f4d58d", + "reference": "e8472ca9774452fe50841d9bdced060679f4d58d", "shasum": "" }, "require": { - "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "brick/math": "^0.11|^0.12|^0.13|^0.14", "composer-runtime-api": "^2.2", "doctrine/inflector": "^2.0.5", "dragonmantank/cron-expression": "^3.4", @@ -3389,32 +3709,34 @@ "fruitcake/php-cors": "^1.3", "guzzlehttp/guzzle": "^7.8.2", "guzzlehttp/uri-template": "^1.0", - "laravel/prompts": "^0.1.18|^0.2.0|^0.3.0", + "laravel/prompts": "^0.3.0", "laravel/serializable-closure": "^1.3|^2.0", - "league/commonmark": "^2.7", + "league/commonmark": "^2.8.1", "league/flysystem": "^3.25.1", "league/flysystem-local": "^3.25.1", "league/uri": "^7.5.1", "monolog/monolog": "^3.0", - "nesbot/carbon": "^2.72.6|^3.8.4", + "nesbot/carbon": "^3.8.4", "nunomaduro/termwind": "^2.0", "php": "^8.2", "psr/container": "^1.1.1|^2.0.1", "psr/log": "^1.0|^2.0|^3.0", "psr/simple-cache": "^1.0|^2.0|^3.0", "ramsey/uuid": "^4.7", - "symfony/console": "^7.0.3", - "symfony/error-handler": "^7.0.3", - "symfony/finder": "^7.0.3", + "symfony/console": "^7.2.0", + "symfony/error-handler": "^7.2.0", + "symfony/finder": "^7.2.0", "symfony/http-foundation": "^7.2.0", - "symfony/http-kernel": "^7.0.3", - "symfony/mailer": "^7.0.3", - "symfony/mime": "^7.0.3", - "symfony/polyfill-php83": "^1.31", - "symfony/process": "^7.0.3", - "symfony/routing": "^7.0.3", - "symfony/uid": "^7.0.3", - "symfony/var-dumper": "^7.0.3", + "symfony/http-kernel": "^7.2.0", + "symfony/mailer": "^7.2.0", + "symfony/mime": "^7.2.0", + "symfony/polyfill-php83": "^1.33", + "symfony/polyfill-php84": "^1.34", + "symfony/polyfill-php85": "^1.34", + "symfony/process": "^7.2.0", + "symfony/routing": "^7.2.0", + "symfony/uid": "^7.2.0", + "symfony/var-dumper": "^7.2.0", "tijsverkoyen/css-to-inline-styles": "^2.2.5", "vlucas/phpdotenv": "^5.6.1", "voku/portable-ascii": "^2.0.2" @@ -3446,6 +3768,7 @@ "illuminate/filesystem": "self.version", "illuminate/hashing": "self.version", "illuminate/http": "self.version", + "illuminate/json-schema": "self.version", "illuminate/log": "self.version", "illuminate/macroable": "self.version", "illuminate/mail": "self.version", @@ -3455,6 +3778,7 @@ "illuminate/process": "self.version", "illuminate/queue": "self.version", "illuminate/redis": "self.version", + "illuminate/reflection": "self.version", "illuminate/routing": "self.version", "illuminate/session": "self.version", "illuminate/support": "self.version", @@ -3478,17 +3802,18 @@ "league/flysystem-read-only": "^3.25.1", "league/flysystem-sftp-v3": "^3.25.1", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.13.2", - "pda/pheanstalk": "^5.0.6", + "opis/json-schema": "^2.4.1", + "orchestra/testbench-core": "^10.9.0", + "pda/pheanstalk": "^5.0.6|^7.0.0", "php-http/discovery": "^1.15", - "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^10.5.35|^11.3.6|^12.0.1", - "predis/predis": "^2.3", - "resend/resend-php": "^0.10.0", - "symfony/cache": "^7.0.3", - "symfony/http-client": "^7.0.3", - "symfony/psr-http-message-bridge": "^7.0.3", - "symfony/translation": "^7.0.3" + "phpstan/phpstan": "^2.1.41", + "phpunit/phpunit": "^10.5.35|^11.5.3|^12.0.1", + "predis/predis": "^2.3|^3.0", + "resend/resend-php": "^0.10.0|^1.0", + "symfony/cache": "^7.2.0", + "symfony/http-client": "^7.2.0", + "symfony/psr-http-message-bridge": "^7.2.0", + "symfony/translation": "^7.2.0" }, "suggest": { "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", @@ -3503,7 +3828,7 @@ "ext-pdo": "Required to use all database features.", "ext-posix": "Required to use all features of the queue worker.", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).", - "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "fakerphp/faker": "Required to generate fake data using the fake() helper (^1.23).", "filp/whoops": "Required for friendly error pages in development (^2.14.3).", "laravel/tinker": "Required to use the tinker console command (^2.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.25.1).", @@ -3514,22 +3839,22 @@ "mockery/mockery": "Required to use mocking (^1.6).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", "php-http/discovery": "Required to use PSR-7 bridging features (^1.15).", - "phpunit/phpunit": "Required to use assertions and run tests (^10.5.35|^11.3.6|^12.0.1).", - "predis/predis": "Required to use the predis connector (^2.3).", + "phpunit/phpunit": "Required to use assertions and run tests (^10.5.35|^11.5.3|^12.0.1).", + "predis/predis": "Required to use the predis connector (^2.3|^3.0).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", - "resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^7.0).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^7.0).", - "symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.0).", - "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^7.0).", - "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^7.0).", - "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^7.0)." + "resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0|^1.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^7.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^7.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^7.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^7.2).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^7.2)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "11.x-dev" + "dev-master": "12.x-dev" } }, "autoload": { @@ -3540,6 +3865,7 @@ "src/Illuminate/Filesystem/functions.php", "src/Illuminate/Foundation/helpers.php", "src/Illuminate/Log/functions.php", + "src/Illuminate/Reflection/helpers.php", "src/Illuminate/Support/functions.php", "src/Illuminate/Support/helpers.php" ], @@ -3548,7 +3874,8 @@ "Illuminate\\Support\\": [ "src/Illuminate/Macroable/", "src/Illuminate/Collections/", - "src/Illuminate/Conditionable/" + "src/Illuminate/Conditionable/", + "src/Illuminate/Reflection/" ] } }, @@ -3572,47 +3899,47 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-06-03T14:01:40+00:00" + "time": "2026-06-04T14:22:52+00:00" }, { "name": "laravel/horizon", - "version": "v5.33.1", + "version": "v5.47.2", "source": { "type": "git", "url": "https://github.com/laravel/horizon.git", - "reference": "50057bca1f1dcc9fbd5ff6d65143833babd784b3" + "reference": "a6ac142293ad02db4d7cccb961dd32f56ef1462d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/horizon/zipball/50057bca1f1dcc9fbd5ff6d65143833babd784b3", - "reference": "50057bca1f1dcc9fbd5ff6d65143833babd784b3", + "url": "https://api.github.com/repos/laravel/horizon/zipball/a6ac142293ad02db4d7cccb961dd32f56ef1462d", + "reference": "a6ac142293ad02db4d7cccb961dd32f56ef1462d", "shasum": "" }, "require": { "ext-json": "*", "ext-pcntl": "*", "ext-posix": "*", - "illuminate/contracts": "^9.21|^10.0|^11.0|^12.0", - "illuminate/queue": "^9.21|^10.0|^11.0|^12.0", - "illuminate/support": "^9.21|^10.0|^11.0|^12.0", + "illuminate/contracts": "^9.21|^10.0|^11.0|^12.0|^13.0", + "illuminate/queue": "^9.21|^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^9.21|^10.0|^11.0|^12.0|^13.0", + "laravel/sentinel": "^1.0", "nesbot/carbon": "^2.17|^3.0", "php": "^8.0", "ramsey/uuid": "^4.0", - "symfony/console": "^6.0|^7.0", - "symfony/error-handler": "^6.0|^7.0", + "symfony/console": "^6.0|^7.0|^8.0", + "symfony/error-handler": "^6.0|^7.0|^8.0", "symfony/polyfill-php83": "^1.28", - "symfony/process": "^6.0|^7.0" + "symfony/process": "^6.0|^7.0|^8.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.0|^10.4|^11.5", - "predis/predis": "^1.1|^2.0" + "orchestra/testbench": "^7.56|^8.37|^9.16|^10.9|^11.0", + "phpstan/phpstan": "^1.10|^2.0", + "predis/predis": "^1.1|^2.0|^3.0" }, "suggest": { "ext-redis": "Required to use the Redis PHP driver.", - "predis/predis": "Required when not using the Redis PHP driver (^1.1|^2.0)." + "predis/predis": "Required when not using the Redis PHP driver (^1.1|^2.0|^3.0)." }, "type": "library", "extra": { @@ -3650,40 +3977,40 @@ ], "support": { "issues": "https://github.com/laravel/horizon/issues", - "source": "https://github.com/laravel/horizon/tree/v5.33.1" + "source": "https://github.com/laravel/horizon/tree/v5.47.2" }, - "time": "2025-06-16T13:48:30+00:00" + "time": "2026-06-03T15:11:37+00:00" }, { "name": "laravel/prompts", - "version": "v0.3.6", + "version": "v0.3.18", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "86a8b692e8661d0fb308cec64f3d176821323077" + "reference": "a19af51bb144bf87f08397921fa619f85c7d4e72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/86a8b692e8661d0fb308cec64f3d176821323077", - "reference": "86a8b692e8661d0fb308cec64f3d176821323077", + "url": "https://api.github.com/repos/laravel/prompts/zipball/a19af51bb144bf87f08397921fa619f85c7d4e72", + "reference": "a19af51bb144bf87f08397921fa619f85c7d4e72", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "ext-mbstring": "*", "php": "^8.1", - "symfony/console": "^6.2|^7.0" + "symfony/console": "^6.2|^7.0|^8.0" }, "conflict": { "illuminate/console": ">=10.17.0 <10.25.0", "laravel/framework": ">=10.17.0 <10.25.0" }, "require-dev": { - "illuminate/collections": "^10.0|^11.0|^12.0", + "illuminate/collections": "^10.0|^11.0|^12.0|^13.0", "mockery/mockery": "^1.5", - "pestphp/pest": "^2.3|^3.4", - "phpstan/phpstan": "^1.11", - "phpstan/phpstan-mockery": "^1.1" + "pestphp/pest": "^2.3|^3.4|^4.0", + "phpstan/phpstan": "^1.12.28", + "phpstan/phpstan-mockery": "^1.1.3" }, "suggest": { "ext-pcntl": "Required for the spinner to be animated." @@ -3709,9 +4036,9 @@ "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.3.6" + "source": "https://github.com/laravel/prompts/tree/v0.3.18" }, - "time": "2025-07-07T14:17:42+00:00" + "time": "2026-05-19T00:47:18+00:00" }, { "name": "laravel/reverb", @@ -3794,32 +4121,31 @@ }, { "name": "laravel/sanctum", - "version": "v4.1.2", + "version": "v4.3.2", "source": { "type": "git", "url": "https://github.com/laravel/sanctum.git", - "reference": "e4c09e69aecd5a383e0c1b85a6bb501c997d7491" + "reference": "2a9bccc18e9907808e0018dd15fa643937886b1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sanctum/zipball/e4c09e69aecd5a383e0c1b85a6bb501c997d7491", - "reference": "e4c09e69aecd5a383e0c1b85a6bb501c997d7491", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/2a9bccc18e9907808e0018dd15fa643937886b1e", + "reference": "2a9bccc18e9907808e0018dd15fa643937886b1e", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/console": "^11.0|^12.0", - "illuminate/contracts": "^11.0|^12.0", - "illuminate/database": "^11.0|^12.0", - "illuminate/support": "^11.0|^12.0", + "illuminate/console": "^11.0|^12.0|^13.0", + "illuminate/contracts": "^11.0|^12.0|^13.0", + "illuminate/database": "^11.0|^12.0|^13.0", + "illuminate/support": "^11.0|^12.0|^13.0", "php": "^8.2", - "symfony/console": "^7.0" + "symfony/console": "^7.0|^8.0" }, "require-dev": { "mockery/mockery": "^1.6", - "orchestra/testbench": "^9.0|^10.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^11.3" + "orchestra/testbench": "^9.15|^10.8|^11.0", + "phpstan/phpstan": "^1.10" }, "type": "library", "extra": { @@ -3854,31 +4180,87 @@ "issues": "https://github.com/laravel/sanctum/issues", "source": "https://github.com/laravel/sanctum" }, - "time": "2025-07-01T15:49:32+00:00" + "time": "2026-04-30T11:46:25+00:00" + }, + { + "name": "laravel/sentinel", + "version": "v1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/sentinel.git", + "reference": "972d9885d9d14312a118e9565c4e6ecc5e751ea1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sentinel/zipball/972d9885d9d14312a118e9565c4e6ecc5e751ea1", + "reference": "972d9885d9d14312a118e9565c4e6ecc5e751ea1", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/container": "^8.37|^9.0|^10.0|^11.0|^12.0|^13.0", + "php": "^8.0" + }, + "require-dev": { + "laravel/pint": "^1.27", + "orchestra/testbench": "^6.47.1|^7.56|^8.37|^9.16|^10.9|^11.0", + "phpstan/phpstan": "^2.1.33" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Sentinel\\SentinelServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sentinel\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Mior Muhammad Zaki", + "email": "mior@laravel.com" + } + ], + "support": { + "source": "https://github.com/laravel/sentinel/tree/v1.1.0" + }, + "time": "2026-03-24T14:03:38+00:00" }, { "name": "laravel/serializable-closure", - "version": "v2.0.4", + "version": "v2.0.13", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "b352cf0534aa1ae6b4d825d1e762e35d43f8a841" + "reference": "b566ee0dd251f3c4078bed003a7ce015f5ea6dce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/b352cf0534aa1ae6b4d825d1e762e35d43f8a841", - "reference": "b352cf0534aa1ae6b4d825d1e762e35d43f8a841", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/b566ee0dd251f3c4078bed003a7ce015f5ea6dce", + "reference": "b566ee0dd251f3c4078bed003a7ce015f5ea6dce", "shasum": "" }, "require": { "php": "^8.1" }, "require-dev": { - "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0|^13.0", "nesbot/carbon": "^2.67|^3.0", - "pestphp/pest": "^2.36|^3.0", + "pestphp/pest": "^2.36|^3.0|^4.0", "phpstan/phpstan": "^2.0", - "symfony/var-dumper": "^6.2.0|^7.0.0" + "symfony/var-dumper": "^6.2.0|^7.0.0|^8.0.0" }, "type": "library", "extra": { @@ -3915,34 +4297,34 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2025-03-19T13:51:03+00:00" + "time": "2026-04-16T14:03:50+00:00" }, { "name": "laravel/slack-notification-channel", - "version": "v3.6.0", + "version": "v3.8.0", "source": { "type": "git", "url": "https://github.com/laravel/slack-notification-channel.git", - "reference": "642677a57490eebccb7e9fb666f5a5379c6e3459" + "reference": "3c27f6e851570274255809f4d3939ff5c2ace82b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/642677a57490eebccb7e9fb666f5a5379c6e3459", - "reference": "642677a57490eebccb7e9fb666f5a5379c6e3459", + "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/3c27f6e851570274255809f4d3939ff5c2ace82b", + "reference": "3c27f6e851570274255809f4d3939ff5c2ace82b", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^7.0", - "illuminate/http": "^9.0|^10.0|^11.0|^12.0", - "illuminate/notifications": "^9.0|^10.0|^11.0|^12.0", - "illuminate/support": "^9.0|^10.0|^11.0|^12.0", + "illuminate/http": "^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/notifications": "^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^9.0|^10.0|^11.0|^12.0|^13.0", "php": "^8.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.0|^10.4|^11.5" + "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0", + "phpstan/phpstan": "^1.10|^2.0", + "phpunit/phpunit": "^9.0|^10.4|^11.5|^12.0|^13.0" }, "type": "library", "extra": { @@ -3978,22 +4360,22 @@ ], "support": { "issues": "https://github.com/laravel/slack-notification-channel/issues", - "source": "https://github.com/laravel/slack-notification-channel/tree/v3.6.0" + "source": "https://github.com/laravel/slack-notification-channel/tree/v3.8.0" }, - "time": "2025-06-26T16:51:38+00:00" + "time": "2026-03-17T16:40:49+00:00" }, { "name": "league/commonmark", - "version": "2.7.0", + "version": "2.8.2", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405" + "reference": "59fb075d2101740c337c7216e3f32b36c204218b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", - "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/59fb075d2101740c337c7216e3f32b36c204218b", + "reference": "59fb075d2101740c337c7216e3f32b36c204218b", "shasum": "" }, "require": { @@ -4018,11 +4400,11 @@ "phpstan/phpstan": "^1.8.2", "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3 | ^6.0 | ^7.0", - "symfony/process": "^5.4 | ^6.0 | ^7.0", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", + "symfony/finder": "^5.3 | ^6.0 | ^7.0 || ^8.0", + "symfony/process": "^5.4 | ^6.0 | ^7.0 || ^8.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0 || ^8.0", "unleashedtech/php-coding-standard": "^3.1.1", - "vimeo/psalm": "^4.24.0 || ^5.0.0" + "vimeo/psalm": "^4.24.0 || ^5.0.0 || ^6.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -4030,7 +4412,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.8-dev" + "dev-main": "2.9-dev" } }, "autoload": { @@ -4087,7 +4469,7 @@ "type": "tidelift" } ], - "time": "2025-05-05T12:20:28+00:00" + "time": "2026-03-19T13:16:38+00:00" }, { "name": "league/config", @@ -4173,16 +4555,16 @@ }, { "name": "league/csv", - "version": "9.24.1", + "version": "9.28.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "e0221a3f16aa2a823047d59fab5809d552e29bc8" + "reference": "6582ace29ae09ba5b07049d40ea13eb19c8b5073" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/e0221a3f16aa2a823047d59fab5809d552e29bc8", - "reference": "e0221a3f16aa2a823047d59fab5809d552e29bc8", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/6582ace29ae09ba5b07049d40ea13eb19c8b5073", + "reference": "6582ace29ae09ba5b07049d40ea13eb19c8b5073", "shasum": "" }, "require": { @@ -4192,14 +4574,14 @@ "require-dev": { "ext-dom": "*", "ext-xdebug": "*", - "friendsofphp/php-cs-fixer": "^3.75.0", - "phpbench/phpbench": "^1.4.1", - "phpstan/phpstan": "^1.12.27", + "friendsofphp/php-cs-fixer": "^3.92.3", + "phpbench/phpbench": "^1.4.3", + "phpstan/phpstan": "^1.12.32", "phpstan/phpstan-deprecation-rules": "^1.2.1", "phpstan/phpstan-phpunit": "^1.4.2", "phpstan/phpstan-strict-rules": "^1.6.2", - "phpunit/phpunit": "^10.5.16 || ^11.5.22", - "symfony/var-dumper": "^6.4.8 || ^7.3.0" + "phpunit/phpunit": "^10.5.16 || ^11.5.22 || ^12.5.4", + "symfony/var-dumper": "^6.4.8 || ^7.4.0 || ^8.0" }, "suggest": { "ext-dom": "Required to use the XMLConverter and the HTMLConverter classes", @@ -4260,20 +4642,20 @@ "type": "github" } ], - "time": "2025-06-25T14:53:51+00:00" + "time": "2025-12-27T15:18:42+00:00" }, { "name": "league/flysystem", - "version": "3.30.0", + "version": "3.34.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "2203e3151755d874bb2943649dae1eb8533ac93e" + "reference": "2daaac3b0d4c83ea7ed5d8586e786f5d00f3540e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/2203e3151755d874bb2943649dae1eb8533ac93e", - "reference": "2203e3151755d874bb2943649dae1eb8533ac93e", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/2daaac3b0d4c83ea7ed5d8586e786f5d00f3540e", + "reference": "2daaac3b0d4c83ea7ed5d8586e786f5d00f3540e", "shasum": "" }, "require": { @@ -4341,22 +4723,22 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.30.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.34.0" }, - "time": "2025-06-25T13:29:59+00:00" + "time": "2026-05-14T10:28:08+00:00" }, { "name": "league/flysystem-local", - "version": "3.30.0", + "version": "3.31.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "6691915f77c7fb69adfb87dcd550052dc184ee10" + "reference": "2f669db18a4c20c755c2bb7d3a7b0b2340488079" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/6691915f77c7fb69adfb87dcd550052dc184ee10", - "reference": "6691915f77c7fb69adfb87dcd550052dc184ee10", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/2f669db18a4c20c755c2bb7d3a7b0b2340488079", + "reference": "2f669db18a4c20c755c2bb7d3a7b0b2340488079", "shasum": "" }, "require": { @@ -4390,9 +4772,9 @@ "local" ], "support": { - "source": "https://github.com/thephpleague/flysystem-local/tree/3.30.0" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.31.0" }, - "time": "2025-05-21T10:34:19+00:00" + "time": "2026-01-23T15:30:45+00:00" }, { "name": "league/mime-type-detection", @@ -4452,33 +4834,38 @@ }, { "name": "league/uri", - "version": "7.5.1", + "version": "7.8.1", "source": { "type": "git", "url": "https://github.com/thephpleague/uri.git", - "reference": "81fb5145d2644324614cc532b28efd0215bda430" + "reference": "08cf38e3924d4f56238125547b5720496fac8fd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri/zipball/81fb5145d2644324614cc532b28efd0215bda430", - "reference": "81fb5145d2644324614cc532b28efd0215bda430", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/08cf38e3924d4f56238125547b5720496fac8fd4", + "reference": "08cf38e3924d4f56238125547b5720496fac8fd4", "shasum": "" }, "require": { - "league/uri-interfaces": "^7.5", - "php": "^8.1" + "league/uri-interfaces": "^7.8.1", + "php": "^8.1", + "psr/http-factory": "^1" }, "conflict": { "league/uri-schemes": "^1.0" }, "suggest": { "ext-bcmath": "to improve IPV4 host parsing", + "ext-dom": "to convert the URI into an HTML anchor tag", "ext-fileinfo": "to create Data URI from file contennts", "ext-gmp": "to improve IPV4 host parsing", "ext-intl": "to handle IDN host with the best performance", - "jeremykendall/php-domain-parser": "to resolve Public Suffix and Top Level Domain", - "league/uri-components": "Needed to easily manipulate URI objects components", + "ext-uri": "to use the PHP native URI class", + "jeremykendall/php-domain-parser": "to further parse the URI host and resolve its Public Suffix and Top Level Domain", + "league/uri-components": "to provide additional tools to manipulate URI objects components", + "league/uri-polyfill": "to backport the PHP URI extension for older versions of PHP", "php-64bit": "to improve IPV4 host parsing", + "rowbot/url": "to handle URLs using the WHATWG URL Living Standard specification", "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" }, "type": "library", @@ -4506,6 +4893,7 @@ "description": "URI manipulation library", "homepage": "https://uri.thephpleague.com", "keywords": [ + "URN", "data-uri", "file-uri", "ftp", @@ -4518,9 +4906,11 @@ "psr-7", "query-string", "querystring", + "rfc2141", "rfc3986", "rfc3987", "rfc6570", + "rfc8141", "uri", "uri-template", "url", @@ -4530,7 +4920,7 @@ "docs": "https://uri.thephpleague.com", "forum": "https://thephpleague.slack.com", "issues": "https://github.com/thephpleague/uri-src/issues", - "source": "https://github.com/thephpleague/uri/tree/7.5.1" + "source": "https://github.com/thephpleague/uri/tree/7.8.1" }, "funding": [ { @@ -4538,26 +4928,109 @@ "type": "github" } ], - "time": "2024-12-08T08:40:02+00:00" + "time": "2026-03-15T20:22:25+00:00" + }, + { + "name": "league/uri-components", + "version": "7.8.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/uri-components.git", + "reference": "848ff9db2f0be06229d6034b7c2e33d41b4fd675" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/uri-components/zipball/848ff9db2f0be06229d6034b7c2e33d41b4fd675", + "reference": "848ff9db2f0be06229d6034b7c2e33d41b4fd675", + "shasum": "" + }, + "require": { + "league/uri": "^7.8.1", + "php": "^8.1" + }, + "suggest": { + "ext-bcmath": "to improve IPV4 host parsing", + "ext-fileinfo": "to create Data URI from file contennts", + "ext-gmp": "to improve IPV4 host parsing", + "ext-intl": "to handle IDN host with the best performance", + "ext-mbstring": "to use the sorting algorithm of URLSearchParams", + "jeremykendall/php-domain-parser": "to further parse the URI host and resolve its Public Suffix and Top Level Domain", + "league/uri-polyfill": "to backport the PHP URI extension for older versions of PHP", + "php-64bit": "to improve IPV4 host parsing", + "rowbot/url": "to handle URLs using the WHATWG URL Living Standard specification", + "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Uri\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://nyamsprod.com" + } + ], + "description": "URI components manipulation library", + "homepage": "http://uri.thephpleague.com", + "keywords": [ + "authority", + "components", + "fragment", + "host", + "middleware", + "modifier", + "path", + "port", + "query", + "rfc3986", + "scheme", + "uri", + "url", + "userinfo" + ], + "support": { + "docs": "https://uri.thephpleague.com", + "forum": "https://thephpleague.slack.com", + "issues": "https://github.com/thephpleague/uri-src/issues", + "source": "https://github.com/thephpleague/uri-components/tree/7.8.1" + }, + "funding": [ + { + "url": "https://github.com/nyamsprod", + "type": "github" + } + ], + "time": "2026-03-15T20:22:25+00:00" }, { "name": "league/uri-interfaces", - "version": "7.5.0", + "version": "7.8.1", "source": { "type": "git", "url": "https://github.com/thephpleague/uri-interfaces.git", - "reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742" + "reference": "85d5c77c5d6d3af6c54db4a78246364908f3c928" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/08cfc6c4f3d811584fb09c37e2849e6a7f9b0742", - "reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742", + "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/85d5c77c5d6d3af6c54db4a78246364908f3c928", + "reference": "85d5c77c5d6d3af6c54db4a78246364908f3c928", "shasum": "" }, "require": { "ext-filter": "*", "php": "^8.1", - "psr/http-factory": "^1", "psr/http-message": "^1.1 || ^2.0" }, "suggest": { @@ -4565,6 +5038,7 @@ "ext-gmp": "to improve IPV4 host parsing", "ext-intl": "to handle IDN host with the best performance", "php-64bit": "to improve IPV4 host parsing", + "rowbot/url": "to handle URLs using the WHATWG URL Living Standard specification", "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" }, "type": "library", @@ -4589,7 +5063,7 @@ "homepage": "https://nyamsprod.com" } ], - "description": "Common interfaces and classes for URI representation and interaction", + "description": "Common tools for parsing and resolving RFC3987/RFC3986 URI", "homepage": "https://uri.thephpleague.com", "keywords": [ "data-uri", @@ -4614,7 +5088,7 @@ "docs": "https://uri.thephpleague.com", "forum": "https://thephpleague.slack.com", "issues": "https://github.com/thephpleague/uri-src/issues", - "source": "https://github.com/thephpleague/uri-interfaces/tree/7.5.0" + "source": "https://github.com/thephpleague/uri-interfaces/tree/7.8.1" }, "funding": [ { @@ -4622,40 +5096,40 @@ "type": "github" } ], - "time": "2024-12-08T08:18:47+00:00" + "time": "2026-03-08T20:05:35+00:00" }, { "name": "livewire/livewire", - "version": "v3.6.3", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "56aa1bb63a46e06181c56fa64717a7287e19115e" + "reference": "0a7c2ec6c5c958cab32870ce5a7836a2fca0b459" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/56aa1bb63a46e06181c56fa64717a7287e19115e", - "reference": "56aa1bb63a46e06181c56fa64717a7287e19115e", + "url": "https://api.github.com/repos/livewire/livewire/zipball/0a7c2ec6c5c958cab32870ce5a7836a2fca0b459", + "reference": "0a7c2ec6c5c958cab32870ce5a7836a2fca0b459", "shasum": "" }, "require": { - "illuminate/database": "^10.0|^11.0|^12.0", - "illuminate/routing": "^10.0|^11.0|^12.0", - "illuminate/support": "^10.0|^11.0|^12.0", - "illuminate/validation": "^10.0|^11.0|^12.0", + "illuminate/database": "^10.0|^11.0|^12.0|^13.0", + "illuminate/routing": "^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^10.0|^11.0|^12.0|^13.0", + "illuminate/validation": "^10.0|^11.0|^12.0|^13.0", "laravel/prompts": "^0.1.24|^0.2|^0.3", "league/mime-type-detection": "^1.9", "php": "^8.1", - "symfony/console": "^6.0|^7.0", - "symfony/http-kernel": "^6.2|^7.0" + "symfony/console": "^6.0|^7.0|^8.0", + "symfony/http-kernel": "^6.2|^7.0|^8.0" }, "require-dev": { "calebporzio/sushi": "^2.1", - "laravel/framework": "^10.15.0|^11.0|^12.0", + "laravel/framework": "^10.15.0|^11.0|^12.0|^13.0", "mockery/mockery": "^1.3.1", - "orchestra/testbench": "^8.21.0|^9.0|^10.0", - "orchestra/testbench-dusk": "^8.24|^9.1|^10.0", - "phpunit/phpunit": "^10.4|^11.5", + "orchestra/testbench": "^8.21.0|^9.0|^10.0|^11.0", + "orchestra/testbench-dusk": "^8.24|^9.1|^10.0|^11.0", + "phpunit/phpunit": "^10.4|^11.5|^12.5", "psy/psysh": "^0.11.22|^0.12" }, "type": "library", @@ -4690,7 +5164,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.6.3" + "source": "https://github.com/livewire/livewire/tree/v3.8.1" }, "funding": [ { @@ -4698,7 +5172,7 @@ "type": "github" } ], - "time": "2025-04-12T22:26:52+00:00" + "time": "2026-06-02T08:18:44+00:00" }, { "name": "lorisleiva/cron-translator", @@ -4758,16 +5232,16 @@ }, { "name": "masbug/flysystem-google-drive-ext", - "version": "v2.4.1", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/masbug/flysystem-google-drive-ext.git", - "reference": "99082781f977786fdef3027470ed9f9b59b84c5a" + "reference": "90123f15752da2e2e290e8630c41eebf172d7fec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/masbug/flysystem-google-drive-ext/zipball/99082781f977786fdef3027470ed9f9b59b84c5a", - "reference": "99082781f977786fdef3027470ed9f9b59b84c5a", + "url": "https://api.github.com/repos/masbug/flysystem-google-drive-ext/zipball/90123f15752da2e2e290e8630c41eebf172d7fec", + "reference": "90123f15752da2e2e290e8630c41eebf172d7fec", "shasum": "" }, "require": { @@ -4812,7 +5286,7 @@ ], "support": { "issues": "https://github.com/masbug/flysystem-google-drive-ext/issues", - "source": "https://github.com/masbug/flysystem-google-drive-ext/tree/v2.4.1" + "source": "https://github.com/masbug/flysystem-google-drive-ext/tree/v2.5.0" }, "funding": [ { @@ -4820,20 +5294,20 @@ "type": "ko_fi" } ], - "time": "2024-10-22T12:58:57+00:00" + "time": "2026-04-13T13:12:26+00:00" }, { "name": "masterminds/html5", - "version": "2.9.0", + "version": "2.10.0", "source": { "type": "git", "url": "https://github.com/Masterminds/html5-php.git", - "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" + "reference": "fcf91eb64359852f00d921887b219479b4f21251" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", - "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/fcf91eb64359852f00d921887b219479b4f21251", + "reference": "fcf91eb64359852f00d921887b219479b4f21251", "shasum": "" }, "require": { @@ -4885,38 +5359,38 @@ ], "support": { "issues": "https://github.com/Masterminds/html5-php/issues", - "source": "https://github.com/Masterminds/html5-php/tree/2.9.0" + "source": "https://github.com/Masterminds/html5-php/tree/2.10.0" }, - "time": "2024-03-31T07:05:07+00:00" + "time": "2025-07-25T09:04:22+00:00" }, { "name": "matanyadaev/laravel-eloquent-spatial", - "version": "4.5.0", + "version": "4.7.0", "source": { "type": "git", "url": "https://github.com/MatanYadaev/laravel-eloquent-spatial.git", - "reference": "571f45d8fb47dade6d069c91661c0558668ec8d3" + "reference": "8d3273ae1b6523868e8af6be1384e916ac6f764d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/MatanYadaev/laravel-eloquent-spatial/zipball/571f45d8fb47dade6d069c91661c0558668ec8d3", - "reference": "571f45d8fb47dade6d069c91661c0558668ec8d3", + "url": "https://api.github.com/repos/MatanYadaev/laravel-eloquent-spatial/zipball/8d3273ae1b6523868e8af6be1384e916ac6f764d", + "reference": "8d3273ae1b6523868e8af6be1384e916ac6f764d", "shasum": "" }, "require": { + "brick/geo": "0.13.*", "ext-json": "*", "ext-pdo": "*", - "laravel/framework": "^10.0|^11.0|^12.0", - "phayes/geophp": "^1.2", + "laravel/framework": "^10.0|^11.0|^12.0|^13.0", "php": "^8.1" }, "require-dev": { "doctrine/dbal": "^3.5.3|^4.2", "larastan/larastan": "^1.0|^2.4|^3.1", "laravel/pint": "^1.14", - "orchestra/testbench": "^8.0|^9.0|^10.0", - "pestphp/pest": "^2.0|^3.7", - "pestphp/pest-plugin-laravel": "^2.0|^3.1" + "orchestra/testbench": "^8.0|^9.0|^10.0|^11.0", + "pestphp/pest": "^2.0|^3.7|^4.0", + "pestphp/pest-plugin-laravel": "^2.0|^3.1|^4.0" }, "type": "library", "extra": { @@ -4945,22 +5419,22 @@ "homepage": "https://github.com/matanyadaev/laravel-eloquent-spatial", "support": { "issues": "https://github.com/MatanYadaev/laravel-eloquent-spatial/issues", - "source": "https://github.com/MatanYadaev/laravel-eloquent-spatial/tree/4.5.0" + "source": "https://github.com/MatanYadaev/laravel-eloquent-spatial/tree/4.7.0" }, - "time": "2025-02-26T15:49:48+00:00" + "time": "2026-03-18T22:12:01+00:00" }, { "name": "minishlink/web-push", - "version": "v9.0.2", + "version": "v10.1.0", "source": { "type": "git", "url": "https://github.com/web-push-libs/web-push-php.git", - "reference": "9c9623bf2f455015cb03f21f175cd42345e039a0" + "reference": "c922021b4ed1a61e6604d8dc33a2e0378b4382e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-push-libs/web-push-php/zipball/9c9623bf2f455015cb03f21f175cd42345e039a0", - "reference": "9c9623bf2f455015cb03f21f175cd42345e039a0", + "url": "https://api.github.com/repos/web-push-libs/web-push-php/zipball/c922021b4ed1a61e6604d8dc33a2e0378b4382e3", + "reference": "c922021b4ed1a61e6604d8dc33a2e0378b4382e3", "shasum": "" }, "require": { @@ -4968,15 +5442,21 @@ "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", - "guzzlehttp/guzzle": "^7.4.5", - "php": ">=8.1", + "guzzlehttp/guzzle": "^7.9.2", + "php": ">=8.2", + "psr/log": "^2.0|^3.0", "spomky-labs/base64url": "^2.0.4", - "web-token/jwt-library": "^3.3.0|^4.0.0" + "symfony/polyfill-php83": "^1.33", + "web-token/jwt-library": "^3.4.9|^4.0.6" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^v3.68.3", - "phpstan/phpstan": "^1.10.57", - "phpunit/phpunit": "^10.5.9" + "friendsofphp/php-cs-fixer": "^v3.92.2", + "phpstan/phpstan": "^2.1.33", + "phpstan/phpstan-deprecation-rules": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^11.5.46|^12.5.2", + "symfony/polyfill-iconv": "^1.33" }, "suggest": { "ext-bcmath": "Optional for performance.", @@ -5010,22 +5490,22 @@ ], "support": { "issues": "https://github.com/web-push-libs/web-push-php/issues", - "source": "https://github.com/web-push-libs/web-push-php/tree/v9.0.2" + "source": "https://github.com/web-push-libs/web-push-php/tree/v10.1.0" }, - "time": "2025-01-29T17:44:07+00:00" + "time": "2026-05-28T09:37:37+00:00" }, { "name": "monolog/monolog", - "version": "3.9.0", + "version": "3.10.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6" + "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/10d85740180ecba7896c87e06a166e0c95a0e3b6", - "reference": "10d85740180ecba7896c87e06a166e0c95a0e3b6", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b321dd6749f0bf7189444158a3ce785cc16d69b0", + "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0", "shasum": "" }, "require": { @@ -5043,7 +5523,7 @@ "graylog2/gelf-php": "^1.4.2 || ^2.0", "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.2", - "mongodb/mongodb": "^1.8", + "mongodb/mongodb": "^1.8 || ^2.0", "php-amqplib/php-amqplib": "~2.4 || ^3", "php-console/php-console": "^3.1.8", "phpstan/phpstan": "^2", @@ -5103,7 +5583,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.9.0" + "source": "https://github.com/Seldaek/monolog/tree/3.10.0" }, "funding": [ { @@ -5115,20 +5595,20 @@ "type": "tidelift" } ], - "time": "2025-03-24T10:02:05+00:00" + "time": "2026-01-02T08:56:05+00:00" }, { "name": "nesbot/carbon", - "version": "3.10.1", + "version": "3.11.4", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon.git", - "reference": "1fd1935b2d90aef2f093c5e35f7ae1257c448d00" + "reference": "e890471a3494740f7d9326d72ce6a8c559ffee60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/1fd1935b2d90aef2f093c5e35f7ae1257c448d00", - "reference": "1fd1935b2d90aef2f093c5e35f7ae1257c448d00", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/e890471a3494740f7d9326d72ce6a8c559ffee60", + "reference": "e890471a3494740f7d9326d72ce6a8c559ffee60", "shasum": "" }, "require": { @@ -5136,9 +5616,9 @@ "ext-json": "*", "php": "^8.1", "psr/clock": "^1.0", - "symfony/clock": "^6.3.12 || ^7.0", + "symfony/clock": "^6.3.12 || ^7.0 || ^8.0", "symfony/polyfill-mbstring": "^1.0", - "symfony/translation": "^4.4.18 || ^5.2.1 || ^6.0 || ^7.0" + "symfony/translation": "^4.4.18 || ^5.2.1 || ^6.0 || ^7.0 || ^8.0" }, "provide": { "psr/clock-implementation": "1.0" @@ -5146,13 +5626,13 @@ "require-dev": { "doctrine/dbal": "^3.6.3 || ^4.0", "doctrine/orm": "^2.15.2 || ^3.0", - "friendsofphp/php-cs-fixer": "^3.75.0", + "friendsofphp/php-cs-fixer": "^v3.87.1", "kylekatarnls/multi-tester": "^2.5.3", "phpmd/phpmd": "^2.15.0", "phpstan/extension-installer": "^1.4.3", - "phpstan/phpstan": "^2.1.17", - "phpunit/phpunit": "^10.5.46", - "squizlabs/php_codesniffer": "^3.13.0" + "phpstan/phpstan": "^2.1.22", + "phpunit/phpunit": "^10.5.53", + "squizlabs/php_codesniffer": "^3.13.4 || ^4.0.0" }, "bin": [ "bin/carbon" @@ -5195,14 +5675,14 @@ } ], "description": "An API extension for DateTime that supports 281 different languages.", - "homepage": "https://carbon.nesbot.com", + "homepage": "https://carbonphp.github.io/carbon/", "keywords": [ "date", "datetime", "time" ], "support": { - "docs": "https://carbon.nesbot.com/docs", + "docs": "https://carbonphp.github.io/carbon/guide/getting-started/introduction.html", "issues": "https://github.com/CarbonPHP/carbon/issues", "source": "https://github.com/CarbonPHP/carbon" }, @@ -5220,38 +5700,48 @@ "type": "tidelift" } ], - "time": "2025-06-21T15:19:35+00:00" + "time": "2026-04-07T09:57:54+00:00" }, { - "name": "nette/schema", - "version": "v1.3.2", + "name": "nette/php-generator", + "version": "v4.2.2", "source": { "type": "git", - "url": "https://github.com/nette/schema.git", - "reference": "da801d52f0354f70a638673c4a0f04e16529431d" + "url": "https://github.com/nette/php-generator.git", + "reference": "0d7060926f5c3e8c488b9b9ced42d857f12a34b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", - "reference": "da801d52f0354f70a638673c4a0f04e16529431d", + "url": "https://api.github.com/repos/nette/php-generator/zipball/0d7060926f5c3e8c488b9b9ced42d857f12a34b5", + "reference": "0d7060926f5c3e8c488b9b9ced42d857f12a34b5", "shasum": "" }, "require": { - "nette/utils": "^4.0", - "php": "8.1 - 8.4" + "nette/utils": "^4.0.6", + "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.5.2", - "phpstan/phpstan-nette": "^1.0", + "jetbrains/phpstorm-attributes": "^1.2", + "nette/phpstan-rules": "^1.0", + "nette/tester": "^2.6", + "nikic/php-parser": "^5.0", + "phpstan/extension-installer": "^1.4@stable", + "phpstan/phpstan": "^2.1.40@stable", "tracy/tracy": "^2.8" }, + "suggest": { + "nikic/php-parser": "to use ClassType::from(withBodies: true) & ClassType::fromCode()" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "4.2-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -5272,60 +5762,55 @@ "homepage": "https://nette.org/contributors" } ], - "description": "📐 Nette Schema: validating data structures against a given Schema.", + "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.", "homepage": "https://nette.org", "keywords": [ - "config", - "nette" + "code", + "nette", + "php", + "scaffolding" ], "support": { - "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.3.2" + "issues": "https://github.com/nette/php-generator/issues", + "source": "https://github.com/nette/php-generator/tree/v4.2.2" }, - "time": "2024-10-06T23:10:23+00:00" + "time": "2026-02-26T00:58:33+00:00" }, { - "name": "nette/utils", - "version": "v4.0.7", + "name": "nette/schema", + "version": "v1.3.5", "source": { "type": "git", - "url": "https://github.com/nette/utils.git", - "reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2" + "url": "https://github.com/nette/schema.git", + "reference": "f0ab1a3cda782dbc5da270d28545236aa80c4002" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/e67c4061eb40b9c113b218214e42cb5a0dda28f2", - "reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2", + "url": "https://api.github.com/repos/nette/schema/zipball/f0ab1a3cda782dbc5da270d28545236aa80c4002", + "reference": "f0ab1a3cda782dbc5da270d28545236aa80c4002", "shasum": "" }, "require": { - "php": "8.0 - 8.4" - }, - "conflict": { - "nette/finder": "<3", - "nette/schema": "<1.2.2" + "nette/utils": "^4.0", + "php": "8.1 - 8.5" }, "require-dev": { - "jetbrains/phpstorm-attributes": "dev-master", - "nette/tester": "^2.5", - "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.9" - }, - "suggest": { - "ext-gd": "to use Image", - "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", - "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", - "ext-json": "to use Nette\\Utils\\Json", - "ext-mbstring": "to use Strings::lower() etc...", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" + "nette/phpstan-rules": "^1.0", + "nette/tester": "^2.6", + "phpstan/extension-installer": "^1.4@stable", + "phpstan/phpstan": "^2.1.39@stable", + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "1.3-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -5346,42 +5831,121 @@ "homepage": "https://nette.org/contributors" } ], - "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "description": "📐 Nette Schema: validating data structures against a given Schema.", "homepage": "https://nette.org", "keywords": [ - "array", - "core", - "datetime", - "images", - "json", - "nette", - "paginator", - "password", - "slugify", - "string", - "unicode", - "utf-8", - "utility", + "config", + "nette" + ], + "support": { + "issues": "https://github.com/nette/schema/issues", + "source": "https://github.com/nette/schema/tree/v1.3.5" + }, + "time": "2026-02-23T03:47:12+00:00" + }, + { + "name": "nette/utils", + "version": "v4.1.4", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "7da6c396d7ebe142bc857c20479d5e70a5e1aac7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/7da6c396d7ebe142bc857c20479d5e70a5e1aac7", + "reference": "7da6c396d7ebe142bc857c20479d5e70a5e1aac7", + "shasum": "" + }, + "require": { + "php": "8.2 - 8.5" + }, + "conflict": { + "nette/finder": "<3", + "nette/schema": "<1.2.2" + }, + "require-dev": { + "jetbrains/phpstorm-attributes": "^1.2", + "nette/phpstan-rules": "^1.0", + "nette/tester": "^2.5", + "phpstan/extension-installer": "^1.4@stable", + "phpstan/phpstan": "^2.1@stable", + "tracy/tracy": "^2.9" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "autoload": { + "psr-4": { + "Nette\\": "src" + }, + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", "validation" ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.7" + "source": "https://github.com/nette/utils/tree/v4.1.4" }, - "time": "2025-06-03T04:55:08+00:00" + "time": "2026-05-11T20:49:54+00:00" }, { "name": "nikic/php-parser", - "version": "v5.5.0", + "version": "v5.7.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "ae59794362fe85e051a58ad36b289443f57be7a9" + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ae59794362fe85e051a58ad36b289443f57be7a9", - "reference": "ae59794362fe85e051a58ad36b289443f57be7a9", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82", + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82", "shasum": "" }, "require": { @@ -5400,7 +5964,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "5.x-dev" } }, "autoload": { @@ -5424,37 +5988,37 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.5.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.7.0" }, - "time": "2025-05-31T08:24:38+00:00" + "time": "2025-12-06T11:56:16+00:00" }, { "name": "nunomaduro/termwind", - "version": "v2.3.1", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "dfa08f390e509967a15c22493dc0bac5733d9123" + "reference": "712a31b768f5daea284c2169a7d227031001b9a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/dfa08f390e509967a15c22493dc0bac5733d9123", - "reference": "dfa08f390e509967a15c22493dc0bac5733d9123", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/712a31b768f5daea284c2169a7d227031001b9a8", + "reference": "712a31b768f5daea284c2169a7d227031001b9a8", "shasum": "" }, "require": { "ext-mbstring": "*", "php": "^8.2", - "symfony/console": "^7.2.6" + "symfony/console": "^7.4.4 || ^8.0.4" }, "require-dev": { - "illuminate/console": "^11.44.7", - "laravel/pint": "^1.22.0", + "illuminate/console": "^11.47.0", + "laravel/pint": "^1.27.1", "mockery/mockery": "^1.6.12", - "pestphp/pest": "^2.36.0 || ^3.8.2", - "phpstan/phpstan": "^1.12.25", + "pestphp/pest": "^2.36.0 || ^3.8.4 || ^4.3.2", + "phpstan/phpstan": "^1.12.32", "phpstan/phpstan-strict-rules": "^1.6.2", - "symfony/var-dumper": "^7.2.6", + "symfony/var-dumper": "^7.3.5 || ^8.0.4", "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "type": "library", @@ -5486,7 +6050,7 @@ "email": "enunomaduro@gmail.com" } ], - "description": "Its like Tailwind CSS, but for the console.", + "description": "It's like Tailwind CSS, but for the console.", "keywords": [ "cli", "console", @@ -5497,7 +6061,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v2.3.1" + "source": "https://github.com/nunomaduro/termwind/tree/v2.4.0" }, "funding": [ { @@ -5513,7 +6077,7 @@ "type": "github" } ], - "time": "2025-05-08T08:14:37+00:00" + "time": "2026-02-16T23:10:27+00:00" }, { "name": "ohdearapp/ohdear-php-sdk", @@ -5573,21 +6137,21 @@ }, { "name": "opcodesio/log-viewer", - "version": "v3.18.0", + "version": "v3.24.0", "source": { "type": "git", "url": "https://github.com/opcodesio/log-viewer.git", - "reference": "9e46dd5b1fa0ff5119fac75cc2048b263cd60893" + "reference": "8afefde09f6005f7d8ee3f628aa311f27c91d125" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opcodesio/log-viewer/zipball/9e46dd5b1fa0ff5119fac75cc2048b263cd60893", - "reference": "9e46dd5b1fa0ff5119fac75cc2048b263cd60893", + "url": "https://api.github.com/repos/opcodesio/log-viewer/zipball/8afefde09f6005f7d8ee3f628aa311f27c91d125", + "reference": "8afefde09f6005f7d8ee3f628aa311f27c91d125", "shasum": "" }, "require": { - "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0", - "opcodesio/mail-parser": "^0.1.6", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "opcodesio/mail-parser": "^0.2.3", "php": "^8.0" }, "conflict": { @@ -5598,9 +6162,9 @@ "itsgoingd/clockwork": "^5.1", "laravel/pint": "^1.0", "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^7.6|^8.0|^9.0|^10.0", - "pestphp/pest": "^2.0|^3.7", - "pestphp/pest-plugin-laravel": "^2.0|^3.1", + "orchestra/testbench": "^7.6|^8.0|^9.5|^10.0|^11.0", + "pestphp/pest": "^2.0|^3.7|^4.4", + "pestphp/pest-plugin-laravel": "^2.0|^3.1|^4.1", "spatie/test-time": "^1.3" }, "suggest": { @@ -5645,7 +6209,7 @@ ], "support": { "issues": "https://github.com/opcodesio/log-viewer/issues", - "source": "https://github.com/opcodesio/log-viewer/tree/v3.18.0" + "source": "https://github.com/opcodesio/log-viewer/tree/v3.24.0" }, "funding": [ { @@ -5657,20 +6221,20 @@ "type": "github" } ], - "time": "2025-06-24T03:35:57+00:00" + "time": "2026-03-15T19:31:14+00:00" }, { "name": "opcodesio/mail-parser", - "version": "v0.1.6", + "version": "v0.2.3", "source": { "type": "git", "url": "https://github.com/opcodesio/mail-parser.git", - "reference": "639ef31cbd146a63416283e75afce152e13233ea" + "reference": "6f9544a1e526d5849cf8d96600556b2951893aec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opcodesio/mail-parser/zipball/639ef31cbd146a63416283e75afce152e13233ea", - "reference": "639ef31cbd146a63416283e75afce152e13233ea", + "url": "https://api.github.com/repos/opcodesio/mail-parser/zipball/6f9544a1e526d5849cf8d96600556b2951893aec", + "reference": "6f9544a1e526d5849cf8d96600556b2951893aec", "shasum": "" }, "require": { @@ -5708,22 +6272,22 @@ ], "support": { "issues": "https://github.com/opcodesio/mail-parser/issues", - "source": "https://github.com/opcodesio/mail-parser/tree/v0.1.6" + "source": "https://github.com/opcodesio/mail-parser/tree/v0.2.3" }, - "time": "2023-11-19T08:47:43+00:00" + "time": "2026-02-28T09:04:57+00:00" }, { "name": "openspout/openspout", - "version": "v4.30.1", + "version": "v4.32.0", "source": { "type": "git", "url": "https://github.com/openspout/openspout.git", - "reference": "4550fc0dbf01aff86d12691f8a7f6ce22d2b2edc" + "reference": "41f045c1f632e1474e15d4c7bc3abcb4a153563d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/openspout/openspout/zipball/4550fc0dbf01aff86d12691f8a7f6ce22d2b2edc", - "reference": "4550fc0dbf01aff86d12691f8a7f6ce22d2b2edc", + "url": "https://api.github.com/repos/openspout/openspout/zipball/41f045c1f632e1474e15d4c7bc3abcb4a153563d", + "reference": "41f045c1f632e1474e15d4c7bc3abcb4a153563d", "shasum": "" }, "require": { @@ -5733,17 +6297,17 @@ "ext-libxml": "*", "ext-xmlreader": "*", "ext-zip": "*", - "php": "~8.3.0 || ~8.4.0" + "php": "~8.3.0 || ~8.4.0 || ~8.5.0" }, "require-dev": { "ext-zlib": "*", - "friendsofphp/php-cs-fixer": "^3.80.0", - "infection/infection": "^0.30.1", + "friendsofphp/php-cs-fixer": "^3.86.0", + "infection/infection": "^0.31.2", "phpbench/phpbench": "^1.4.1", - "phpstan/phpstan": "^2.1.17", - "phpstan/phpstan-phpunit": "^2.0.6", - "phpstan/phpstan-strict-rules": "^2.0.4", - "phpunit/phpunit": "^12.2.6" + "phpstan/phpstan": "^2.1.22", + "phpstan/phpstan-phpunit": "^2.0.7", + "phpstan/phpstan-strict-rules": "^2.0.6", + "phpunit/phpunit": "^12.3.7" }, "suggest": { "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", @@ -5791,7 +6355,7 @@ ], "support": { "issues": "https://github.com/openspout/openspout/issues", - "source": "https://github.com/openspout/openspout/tree/v4.30.1" + "source": "https://github.com/openspout/openspout/tree/v4.32.0" }, "funding": [ { @@ -5803,28 +6367,30 @@ "type": "github" } ], - "time": "2025-07-07T06:15:55+00:00" + "time": "2025-09-03T16:03:54+00:00" }, { "name": "paragonie/constant_time_encoding", - "version": "v3.0.0", + "version": "v3.1.3", "source": { "type": "git", "url": "https://github.com/paragonie/constant_time_encoding.git", - "reference": "df1e7fde177501eee2037dd159cf04f5f301a512" + "reference": "d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512", - "reference": "df1e7fde177501eee2037dd159cf04f5f301a512", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77", + "reference": "d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77", "shasum": "" }, "require": { "php": "^8" }, "require-dev": { - "phpunit/phpunit": "^9", - "vimeo/psalm": "^4|^5" + "infection/infection": "^0", + "nikic/php-fuzzer": "^0", + "phpunit/phpunit": "^9|^10|^11", + "vimeo/psalm": "^4|^5|^6" }, "type": "library", "autoload": { @@ -5870,201 +6436,94 @@ "issues": "https://github.com/paragonie/constant_time_encoding/issues", "source": "https://github.com/paragonie/constant_time_encoding" }, - "time": "2024-05-08T12:36:18+00:00" - }, - { - "name": "paragonie/random_compat", - "version": "v9.99.100", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", - "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", - "shasum": "" - }, - "require": { - "php": ">= 7" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*", - "vimeo/psalm": "^1" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "polyfill", - "pseudorandom", - "random" - ], - "support": { - "email": "info@paragonie.com", - "issues": "https://github.com/paragonie/random_compat/issues", - "source": "https://github.com/paragonie/random_compat" - }, - "time": "2020-10-15T08:29:30+00:00" + "time": "2025-09-24T15:06:41+00:00" }, { - "name": "paragonie/sodium_compat", - "version": "v2.1.0", + "name": "phiki/phiki", + "version": "v2.2.0", "source": { "type": "git", - "url": "https://github.com/paragonie/sodium_compat.git", - "reference": "a673d5f310477027cead2e2f2b6db5d8368157cb" + "url": "https://github.com/phikiphp/phiki.git", + "reference": "24375dbc474dbc484de7d53c6bab0bb9e198f647" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/a673d5f310477027cead2e2f2b6db5d8368157cb", - "reference": "a673d5f310477027cead2e2f2b6db5d8368157cb", + "url": "https://api.github.com/repos/phikiphp/phiki/zipball/24375dbc474dbc484de7d53c6bab0bb9e198f647", + "reference": "24375dbc474dbc484de7d53c6bab0bb9e198f647", "shasum": "" }, "require": { - "php": "^8.1", - "php-64bit": "*" + "ext-mbstring": "*", + "php": "^8.2", + "psr/simple-cache": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^7|^8|^9", - "vimeo/psalm": "^4|^5" + "illuminate/support": "^11.45", + "laravel/pint": "^1.18.1", + "league/commonmark": "^2.5.3", + "orchestra/testbench": "^9.15", + "pestphp/pest": "^3.5.1", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^2.0", + "symfony/var-dumper": "^7.1.6" }, "suggest": { - "ext-sodium": "Better performance, password hashing (Argon2i), secure memory management (memzero), and better security." + "league/commonmark": "Required to use the CommonMark adapter (^2.5.3)" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" + "laravel": { + "providers": [ + "Phiki\\Adapters\\Laravel\\PhikiServiceProvider" + ] } }, "autoload": { - "files": [ - "autoload.php" - ] + "psr-4": { + "Phiki\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "ISC" + "MIT" ], "authors": [ { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com" - }, - { - "name": "Frank Denis", - "email": "jedisct1@pureftpd.org" + "name": "Ryan Chandler", + "email": "support@ryangjchandler.co.uk", + "homepage": "https://ryangjchandler.co.uk", + "role": "Developer" } ], - "description": "Pure PHP implementation of libsodium; uses the PHP extension if it exists", - "keywords": [ - "Authentication", - "BLAKE2b", - "ChaCha20", - "ChaCha20-Poly1305", - "Chapoly", - "Curve25519", - "Ed25519", - "EdDSA", - "Edwards-curve Digital Signature Algorithm", - "Elliptic Curve Diffie-Hellman", - "Poly1305", - "Pure-PHP cryptography", - "RFC 7748", - "RFC 8032", - "Salpoly", - "Salsa20", - "X25519", - "XChaCha20-Poly1305", - "XSalsa20-Poly1305", - "Xchacha20", - "Xsalsa20", - "aead", - "cryptography", - "ecdh", - "elliptic curve", - "elliptic curve cryptography", - "encryption", - "libsodium", - "php", - "public-key cryptography", - "secret-key cryptography", - "side-channel resistant" - ], + "description": "Syntax highlighting using TextMate grammars in PHP.", "support": { - "issues": "https://github.com/paragonie/sodium_compat/issues", - "source": "https://github.com/paragonie/sodium_compat/tree/v2.1.0" - }, - "time": "2024-09-04T12:51:01+00:00" - }, - { - "name": "phayes/geophp", - "version": "1.2", - "source": { - "type": "git", - "url": "https://github.com/phayes/geoPHP.git", - "reference": "015404e85b602e0df1f91441f8db0f9e98f7e567" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phayes/geoPHP/zipball/015404e85b602e0df1f91441f8db0f9e98f7e567", - "reference": "015404e85b602e0df1f91441f8db0f9e98f7e567", - "shasum": "" - }, - "require-dev": { - "phpunit/phpunit": "4.1.*" - }, - "type": "library", - "autoload": { - "classmap": [ - "geoPHP.inc" - ] + "issues": "https://github.com/phikiphp/phiki/issues", + "source": "https://github.com/phikiphp/phiki/tree/v2.2.0" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2 or New-BSD" - ], - "authors": [ + "funding": [ + { + "url": "https://github.com/sponsors/ryangjchandler", + "type": "github" + }, { - "name": "Patrick Hayes" + "url": "https://buymeacoffee.com/ryangjchandler", + "type": "other" } ], - "description": "GeoPHP is a open-source native PHP library for doing geometry operations. It is written entirely in PHP and can therefore run on shared hosts. It can read and write a wide variety of formats: WKT (including EWKT), WKB (including EWKB), GeoJSON, KML, GPX, GeoRSS). It works with all Simple-Feature geometries (Point, LineString, Polygon, GeometryCollection etc.) and can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information.", - "homepage": "https://github.com/phayes/geoPHP", - "support": { - "issues": "https://github.com/phayes/geoPHP/issues", - "source": "https://github.com/phayes/geoPHP/tree/master" - }, - "time": "2014-12-02T06:11:22+00:00" + "time": "2026-04-01T15:56:08+00:00" }, { "name": "phpoption/phpoption", - "version": "1.9.3", + "version": "1.9.5", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" + "reference": "75365b91986c2405cf5e1e012c5595cd487a98be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", - "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/75365b91986c2405cf5e1e012c5595cd487a98be", + "reference": "75365b91986c2405cf5e1e012c5595cd487a98be", "shasum": "" }, "require": { @@ -6072,7 +6531,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + "phpunit/phpunit": "^8.5.44 || ^9.6.25 || ^10.5.53 || ^11.5.34" }, "type": "library", "extra": { @@ -6114,7 +6573,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.5" }, "funding": [ { @@ -6126,44 +6585,34 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:41:07+00:00" + "time": "2025-12-27T19:41:33+00:00" }, { - "name": "phpseclib/phpseclib", - "version": "3.0.46", + "name": "pragmarx/google2fa", + "version": "v9.0.0", "source": { "type": "git", - "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "56483a7de62a6c2a6635e42e93b8a9e25d4f0ec6" + "url": "https://github.com/antonioribeiro/google2fa.git", + "reference": "e6bc62dd6ae83acc475f57912e27466019a1f2cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/56483a7de62a6c2a6635e42e93b8a9e25d4f0ec6", - "reference": "56483a7de62a6c2a6635e42e93b8a9e25d4f0ec6", + "url": "https://api.github.com/repos/antonioribeiro/google2fa/zipball/e6bc62dd6ae83acc475f57912e27466019a1f2cf", + "reference": "e6bc62dd6ae83acc475f57912e27466019a1f2cf", "shasum": "" }, "require": { - "paragonie/constant_time_encoding": "^1|^2|^3", - "paragonie/random_compat": "^1.4|^2.0|^9.99.99", - "php": ">=5.6.1" + "paragonie/constant_time_encoding": "^1.0|^2.0|^3.0", + "php": "^7.1|^8.0" }, "require-dev": { - "phpunit/phpunit": "*" - }, - "suggest": { - "ext-dom": "Install the DOM extension to load XML formatted public keys.", - "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", - "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", - "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", - "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^7.5.15|^8.5|^9.0" }, "type": "library", "autoload": { - "files": [ - "phpseclib/bootstrap.php" - ], "psr-4": { - "phpseclib3\\": "phpseclib/" + "PragmaRX\\Google2FA\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -6172,84 +6621,104 @@ ], "authors": [ { - "name": "Jim Wigginton", - "email": "terrafrost@php.net", - "role": "Lead Developer" - }, - { - "name": "Patrick Monnerat", - "email": "pm@datasphere.ch", - "role": "Developer" - }, - { - "name": "Andreas Fischer", - "email": "bantu@phpbb.com", - "role": "Developer" - }, - { - "name": "Hans-Jürgen Petrich", - "email": "petrich@tronic-media.com", - "role": "Developer" - }, - { - "name": "Graham Campbell", - "email": "graham@alt-three.com", - "role": "Developer" + "name": "Antonio Carlos Ribeiro", + "email": "acr@antoniocarlosribeiro.com", + "role": "Creator & Designer" } ], - "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", - "homepage": "http://phpseclib.sourceforge.net", + "description": "A One Time Password Authentication package, compatible with Google Authenticator.", "keywords": [ - "BigInteger", - "aes", - "asn.1", - "asn1", - "blowfish", - "crypto", - "cryptography", - "encryption", - "rsa", - "security", - "sftp", - "signature", - "signing", - "ssh", - "twofish", - "x.509", - "x509" + "2fa", + "Authentication", + "Two Factor Authentication", + "google2fa" ], "support": { - "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.46" + "issues": "https://github.com/antonioribeiro/google2fa/issues", + "source": "https://github.com/antonioribeiro/google2fa/tree/v9.0.0" }, - "funding": [ - { - "url": "https://github.com/terrafrost", - "type": "github" - }, - { - "url": "https://www.patreon.com/phpseclib", - "type": "patreon" - }, + "time": "2025-09-19T22:51:08+00:00" + }, + { + "name": "pragmarx/google2fa-qrcode", + "version": "v4.0.0", + "source": { + "type": "git", + "url": "https://github.com/antonioribeiro/google2fa-qrcode.git", + "reference": "16159f84fa0838c276f35d46de57fd90dfbb385c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/antonioribeiro/google2fa-qrcode/zipball/16159f84fa0838c276f35d46de57fd90dfbb385c", + "reference": "16159f84fa0838c276f35d46de57fd90dfbb385c", + "shasum": "" + }, + "require": { + "php": "^8.1", + "pragmarx/google2fa": "^8.0|^9.0" + }, + "require-dev": { + "bacon/bacon-qr-code": "^2.0|^3.0", + "chillerlan/php-qrcode": "^5.0|^6.0", + "khanamiryan/qrcode-detector-decoder": "^1.0", + "phpstan/phpstan": "^2.0", + "phpunit/phpunit": "~9|~10|~11|~12|~13" + }, + "suggest": { + "bacon/bacon-qr-code": "For QR Code generation, requires imagick", + "chillerlan/php-qrcode": "For QR Code generation" + }, + "type": "library", + "extra": { + "component": "package", + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "PragmaRX\\Google2FAQRCode\\": "src/", + "PragmaRX\\Google2FAQRCode\\Tests\\": "tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ { - "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib", - "type": "tidelift" + "name": "Antonio Carlos Ribeiro", + "email": "acr@antoniocarlosribeiro.com", + "role": "Creator & Designer" } ], - "time": "2025-06-26T16:29:55+00:00" + "description": "QR Code package for Google2FA", + "keywords": [ + "2fa", + "Authentication", + "Two Factor Authentication", + "google2fa", + "qr code", + "qrcode" + ], + "support": { + "issues": "https://github.com/antonioribeiro/google2fa-qrcode/issues", + "source": "https://github.com/antonioribeiro/google2fa-qrcode/tree/v4.0.0" + }, + "time": "2026-05-08T19:24:44+00:00" }, { "name": "predis/predis", - "version": "v2.4.0", + "version": "v2.4.1", "source": { "type": "git", "url": "https://github.com/predis/predis.git", - "reference": "f49e13ee3a2a825631562aa0223ac922ec5d058b" + "reference": "07105e050622ed80bd60808367ced9e379f31530" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/predis/predis/zipball/f49e13ee3a2a825631562aa0223ac922ec5d058b", - "reference": "f49e13ee3a2a825631562aa0223ac922ec5d058b", + "url": "https://api.github.com/repos/predis/predis/zipball/07105e050622ed80bd60808367ced9e379f31530", + "reference": "07105e050622ed80bd60808367ced9e379f31530", "shasum": "" }, "require": { @@ -6290,7 +6759,7 @@ ], "support": { "issues": "https://github.com/predis/predis/issues", - "source": "https://github.com/predis/predis/tree/v2.4.0" + "source": "https://github.com/predis/predis/tree/v2.4.1" }, "funding": [ { @@ -6298,7 +6767,7 @@ "type": "github" } ], - "time": "2025-04-30T15:16:02+00:00" + "time": "2025-11-12T18:00:11+00:00" }, { "name": "protobuf-php/protobuf", @@ -6831,23 +7300,22 @@ }, { "name": "pusher/pusher-php-server", - "version": "7.2.7", + "version": "7.2.8", "source": { "type": "git", "url": "https://github.com/pusher/pusher-http-php.git", - "reference": "148b0b5100d000ed57195acdf548a2b1b38ee3f7" + "reference": "4aa139ed2a2a805cd265449b691198beee1309d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/148b0b5100d000ed57195acdf548a2b1b38ee3f7", - "reference": "148b0b5100d000ed57195acdf548a2b1b38ee3f7", + "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/4aa139ed2a2a805cd265449b691198beee1309d2", + "reference": "4aa139ed2a2a805cd265449b691198beee1309d2", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "guzzlehttp/guzzle": "^7.2", - "paragonie/sodium_compat": "^1.6|^2.0", "php": "^7.3|^8.0", "psr/log": "^1.0|^2.0|^3.0" }, @@ -6886,26 +7354,26 @@ ], "support": { "issues": "https://github.com/pusher/pusher-http-php/issues", - "source": "https://github.com/pusher/pusher-http-php/tree/7.2.7" + "source": "https://github.com/pusher/pusher-http-php/tree/7.2.8" }, - "time": "2025-01-06T10:56:20+00:00" + "time": "2026-05-18T13:11:36+00:00" }, { "name": "pxlrbt/filament-environment-indicator", - "version": "v2.1.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/pxlrbt/filament-environment-indicator.git", - "reference": "e55bca20af0c9cff8a90d0a8779b09df5c4bb9d4" + "reference": "0e242ca10db6a0955b16624cbcbefa63f1f3e4a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pxlrbt/filament-environment-indicator/zipball/e55bca20af0c9cff8a90d0a8779b09df5c4bb9d4", - "reference": "e55bca20af0c9cff8a90d0a8779b09df5c4bb9d4", + "url": "https://api.github.com/repos/pxlrbt/filament-environment-indicator/zipball/0e242ca10db6a0955b16624cbcbefa63f1f3e4a1", + "reference": "0e242ca10db6a0955b16624cbcbefa63f1f3e4a1", "shasum": "" }, "require": { - "filament/filament": "^3.0-stable", + "filament/filament": "^4.0|^5.0", "php": "^8.0" }, "require-dev": { @@ -6931,7 +7399,7 @@ "authors": [ { "name": "Dennis Koch", - "email": "info@pixelarbeit.de" + "email": "hey@denniskoch.dev" } ], "description": "Indicator for the current environment inside Filament", @@ -6942,7 +7410,7 @@ ], "support": { "issues": "https://github.com/pxlrbt/filament-environment-indicator/issues", - "source": "https://github.com/pxlrbt/filament-environment-indicator/tree/v2.1.0" + "source": "https://github.com/pxlrbt/filament-environment-indicator/tree/v3.5.1" }, "funding": [ { @@ -6950,7 +7418,7 @@ "type": "github" } ], - "time": "2024-11-18T13:24:51+00:00" + "time": "2026-03-09T09:55:23+00:00" }, { "name": "ralouphie/getallheaders", @@ -7074,20 +7542,20 @@ }, { "name": "ramsey/uuid", - "version": "4.9.0", + "version": "4.9.2", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0" + "reference": "8429c78ca35a09f27565311b98101e2826affde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/4e0e23cc785f0724a0e838279a9eb03f28b092a0", - "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/8429c78ca35a09f27565311b98101e2826affde0", + "reference": "8429c78ca35a09f27565311b98101e2826affde0", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13", + "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -7146,9 +7614,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.0" + "source": "https://github.com/ramsey/uuid/tree/4.9.2" }, - "time": "2025-06-25T14:20:11+00:00" + "time": "2025-12-14T04:43:48+00:00" }, { "name": "ratchet/rfc6455", @@ -7740,118 +8208,44 @@ "time": "2024-06-11T12:45:25+00:00" }, { - "name": "rmsramos/activitylog", - "version": "v1.0.13", + "name": "ryangjchandler/blade-capture-directive", + "version": "v1.1.1", "source": { "type": "git", - "url": "https://github.com/rmsramos/activitylog.git", - "reference": "09e66832f6f8b2abde878f33954b64d19aa482ef" + "url": "https://github.com/ryangjchandler/blade-capture-directive.git", + "reference": "3f9e80b56ff60b78755ef320e3e16d88850101d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rmsramos/activitylog/zipball/09e66832f6f8b2abde878f33954b64d19aa482ef", - "reference": "09e66832f6f8b2abde878f33954b64d19aa482ef", + "url": "https://api.github.com/repos/ryangjchandler/blade-capture-directive/zipball/3f9e80b56ff60b78755ef320e3e16d88850101d6", + "reference": "3f9e80b56ff60b78755ef320e3e16d88850101d6", "shasum": "" }, "require": { - "illuminate/contracts": "^10.0||^11.0||^12.0", - "php": "^8.2", - "spatie/laravel-activitylog": "^4.8", - "spatie/laravel-package-tools": "^1.16" + "illuminate/contracts": "^10.0|^11.0|^12.0|^13.0", + "php": "^8.1", + "spatie/laravel-package-tools": "^1.9.2" }, "require-dev": { - "filament/filament": "^3.3", - "larastan/larastan": "^2.9", - "laravel/pint": "^1.16", - "nunomaduro/collision": "^8.1.1||^7.10.0", - "orchestra/testbench": "^9.0.0||^8.22.0", - "pestphp/pest": "^2.34", - "pestphp/pest-plugin-arch": "^2.7", - "pestphp/pest-plugin-laravel": "^2.3", - "phpstan/extension-installer": "^1.3", - "phpstan/phpstan-deprecation-rules": "^1.1", - "phpstan/phpstan-phpunit": "^1.3" + "nunomaduro/collision": "^7.0|^8.0", + "nunomaduro/larastan": "^2.0|^3.0", + "orchestra/testbench": "^8.0|^9.0|^10.0|^11.0", + "pestphp/pest": "^2.0|^3.7|^4.1", + "pestphp/pest-plugin-laravel": "^2.0|^3.1|^v4.1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.0|^2.0", + "phpunit/phpunit": "^10.0|^11.5.3|^12.0", + "spatie/laravel-ray": "^1.26" }, "type": "library", "extra": { "laravel": { "aliases": { - "Activitylog": "Rmsramos\\Activitylog\\Facades\\Activitylog" + "BladeCaptureDirective": "RyanChandler\\BladeCaptureDirective\\Facades\\BladeCaptureDirective" }, "providers": [ - "Rmsramos\\Activitylog\\ActivitylogServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Rmsramos\\Activitylog\\": "src/", - "Rmsramos\\Activitylog\\Database\\Factories\\": "database/factories/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Rômulo Ramos", - "email": "rmsramos@gmail.com", - "role": "Developer" - } - ], - "description": "This is my package activitylog", - "homepage": "https://github.com/rmsramos/activitylog", - "keywords": [ - "Rmsramos", - "activitylog", - "laravel" - ], - "support": { - "issues": "https://github.com/rmsramos/activitylog/issues", - "source": "https://github.com/rmsramos/activitylog/tree/v1.0.13" - }, - "time": "2025-07-06T22:18:24+00:00" - }, - { - "name": "ryangjchandler/blade-capture-directive", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/ryangjchandler/blade-capture-directive.git", - "reference": "bbb1513dfd89eaec87a47fe0c449a7e3d4a1976d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ryangjchandler/blade-capture-directive/zipball/bbb1513dfd89eaec87a47fe0c449a7e3d4a1976d", - "reference": "bbb1513dfd89eaec87a47fe0c449a7e3d4a1976d", - "shasum": "" - }, - "require": { - "illuminate/contracts": "^10.0|^11.0|^12.0", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.9.2" - }, - "require-dev": { - "nunomaduro/collision": "^7.0|^8.0", - "nunomaduro/larastan": "^2.0|^3.0", - "orchestra/testbench": "^8.0|^9.0|^10.0", - "pestphp/pest": "^2.0|^3.7", - "pestphp/pest-plugin-laravel": "^2.0|^3.1", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", - "phpstan/phpstan-phpunit": "^1.0|^2.0", - "phpunit/phpunit": "^10.0|^11.5.3", - "spatie/laravel-ray": "^1.26" - }, - "type": "library", - "extra": { - "laravel": { - "aliases": { - "BladeCaptureDirective": "RyanChandler\\BladeCaptureDirective\\Facades\\BladeCaptureDirective" - }, - "providers": [ - "RyanChandler\\BladeCaptureDirective\\BladeCaptureDirectiveServiceProvider" + "RyanChandler\\BladeCaptureDirective\\BladeCaptureDirectiveServiceProvider" ] } }, @@ -7881,7 +8275,7 @@ ], "support": { "issues": "https://github.com/ryangjchandler/blade-capture-directive/issues", - "source": "https://github.com/ryangjchandler/blade-capture-directive/tree/v1.1.0" + "source": "https://github.com/ryangjchandler/blade-capture-directive/tree/v1.1.1" }, "funding": [ { @@ -7889,92 +8283,111 @@ "type": "github" } ], - "time": "2025-02-25T09:09:36+00:00" + "time": "2026-03-19T10:36:26+00:00" }, { - "name": "spatie/color", - "version": "1.8.0", + "name": "scrivo/highlight.php", + "version": "v9.18.1.10", "source": { "type": "git", - "url": "https://github.com/spatie/color.git", - "reference": "142af7fec069a420babea80a5412eb2f646dcd8c" + "url": "https://github.com/scrivo/highlight.php.git", + "reference": "850f4b44697a2552e892ffe71490ba2733c2fc6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/color/zipball/142af7fec069a420babea80a5412eb2f646dcd8c", - "reference": "142af7fec069a420babea80a5412eb2f646dcd8c", + "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/850f4b44697a2552e892ffe71490ba2733c2fc6e", + "reference": "850f4b44697a2552e892ffe71490ba2733c2fc6e", "shasum": "" }, "require": { - "php": "^7.3|^8.0" + "ext-json": "*", + "php": ">=5.4" }, "require-dev": { - "pestphp/pest": "^1.22", - "phpunit/phpunit": "^6.5||^9.0" + "phpunit/phpunit": "^4.8|^5.7", + "sabberworm/php-css-parser": "^8.3", + "symfony/finder": "^2.8|^3.4|^5.4", + "symfony/var-dumper": "^2.8|^3.4|^5.4" + }, + "suggest": { + "ext-mbstring": "Allows highlighting code with unicode characters and supports language with unicode keywords" }, "type": "library", "autoload": { - "psr-4": { - "Spatie\\Color\\": "src" + "files": [ + "HighlightUtilities/functions.php" + ], + "psr-0": { + "Highlight\\": "", + "HighlightUtilities\\": "" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Sebastian De Deyne", - "email": "sebastian@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" + "name": "Geert Bergman", + "homepage": "http://www.scrivo.org/", + "role": "Project Author" + }, + { + "name": "Vladimir Jimenez", + "homepage": "https://allejo.io", + "role": "Maintainer" + }, + { + "name": "Martin Folkers", + "homepage": "https://twobrain.io", + "role": "Contributor" } ], - "description": "A little library to handle color conversions", - "homepage": "https://github.com/spatie/color", + "description": "Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js", "keywords": [ - "color", - "conversion", - "rgb", - "spatie" + "code", + "highlight", + "highlight.js", + "highlight.php", + "syntax" ], "support": { - "issues": "https://github.com/spatie/color/issues", - "source": "https://github.com/spatie/color/tree/1.8.0" + "issues": "https://github.com/scrivo/highlight.php/issues", + "source": "https://github.com/scrivo/highlight.php" }, "funding": [ { - "url": "https://github.com/spatie", + "url": "https://github.com/allejo", "type": "github" } ], - "time": "2025-02-10T09:22:41+00:00" + "time": "2022-12-17T21:53:22+00:00" }, { "name": "spatie/cpu-load-health-check", - "version": "1.0.4", + "version": "1.0.5", "source": { "type": "git", "url": "https://github.com/spatie/cpu-load-health-check.git", - "reference": "7653cd34540dba36d0052826c3aa4abdb7fa5435" + "reference": "d2b89e406bd5e158bf9e3f5e9688b6d4afbf6ff1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/cpu-load-health-check/zipball/7653cd34540dba36d0052826c3aa4abdb7fa5435", - "reference": "7653cd34540dba36d0052826c3aa4abdb7fa5435", + "url": "https://api.github.com/repos/spatie/cpu-load-health-check/zipball/d2b89e406bd5e158bf9e3f5e9688b6d4afbf6ff1", + "reference": "d2b89e406bd5e158bf9e3f5e9688b6d4afbf6ff1", "shasum": "" }, "require": { "php": "^8.0" }, "require-dev": { - "nunomaduro/collision": "^5.10", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", + "nunomaduro/collision": "^5.10|^6.1|^7.0|^8.0", + "pestphp/pest": "^1.21|^2.3|^3.0|4.0", + "pestphp/pest-plugin-laravel": "^1.21|^2.3|^3.0|^4.0", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5", + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.0|^2.0", + "phpunit/phpunit": "^9.5|^10.5|^11.0|^12.0", "spatie/laravel-health": "^1.2", "spatie/laravel-ray": "^1.26" }, @@ -8005,7 +8418,7 @@ ], "support": { "issues": "https://github.com/spatie/cpu-load-health-check/issues", - "source": "https://github.com/spatie/cpu-load-health-check/tree/1.0.4" + "source": "https://github.com/spatie/cpu-load-health-check/tree/1.0.5" }, "funding": [ { @@ -8013,7 +8426,7 @@ "type": "github" } ], - "time": "2023-10-03T08:36:33+00:00" + "time": "2025-11-12T10:37:29+00:00" }, { "name": "spatie/enum", @@ -8152,29 +8565,29 @@ }, { "name": "spatie/laravel-activitylog", - "version": "4.10.2", + "version": "4.12.3", "source": { "type": "git", "url": "https://github.com/spatie/laravel-activitylog.git", - "reference": "bb879775d487438ed9a99e64f09086b608990c10" + "reference": "2a2024fcac05628b0d1bfdbb1b94dda8b0661dc0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-activitylog/zipball/bb879775d487438ed9a99e64f09086b608990c10", - "reference": "bb879775d487438ed9a99e64f09086b608990c10", + "url": "https://api.github.com/repos/spatie/laravel-activitylog/zipball/2a2024fcac05628b0d1bfdbb1b94dda8b0661dc0", + "reference": "2a2024fcac05628b0d1bfdbb1b94dda8b0661dc0", "shasum": "" }, "require": { - "illuminate/config": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0", - "illuminate/database": "^8.69 || ^9.27 || ^10.0 || ^11.0 || ^12.0", - "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/config": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0", + "illuminate/database": "^8.69 || ^9.27 || ^10.0 || ^11.0 || ^12.0 || ^13.0", + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0", "php": "^8.1", "spatie/laravel-package-tools": "^1.6.3" }, "require-dev": { "ext-json": "*", - "orchestra/testbench": "^6.23 || ^7.0 || ^8.0 || ^9.0 || ^10.0", - "pestphp/pest": "^1.20 || ^2.0 || ^3.0" + "orchestra/testbench": "^6.23 || ^7.0 || ^8.0 || ^9.6 || ^10.0 || ^11.0", + "pestphp/pest": "^1.20 || ^2.0 || ^3.0 || ^4.0" }, "type": "library", "extra": { @@ -8227,7 +8640,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-activitylog/issues", - "source": "https://github.com/spatie/laravel-activitylog/tree/4.10.2" + "source": "https://github.com/spatie/laravel-activitylog/tree/4.12.3" }, "funding": [ { @@ -8239,53 +8652,52 @@ "type": "github" } ], - "time": "2025-06-15T06:59:49+00:00" + "time": "2026-03-24T12:33:53+00:00" }, { "name": "spatie/laravel-health", - "version": "1.34.3", + "version": "1.40.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-health.git", - "reference": "d421bc223c7a8c872ad944706d98a74b1056f761" + "reference": "6fa735589c04fd99970b434fc22dddbdc716a264" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-health/zipball/d421bc223c7a8c872ad944706d98a74b1056f761", - "reference": "d421bc223c7a8c872ad944706d98a74b1056f761", + "url": "https://api.github.com/repos/spatie/laravel-health/zipball/6fa735589c04fd99970b434fc22dddbdc716a264", + "reference": "6fa735589c04fd99970b434fc22dddbdc716a264", "shasum": "" }, "require": { "dragonmantank/cron-expression": "^3.3.1", "guzzlehttp/guzzle": "^6.5|^7.4.5|^7.2", - "illuminate/console": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/contracts": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/database": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/notifications": "^8.75|^9.0|^10.0|^11.0|^12.0", - "illuminate/support": "^8.75|^9.0|^10.0|^11.0|^12.0", + "illuminate/console": "^11.0|^12.0|^13.0", + "illuminate/contracts": "^11.0|^12.0|^13.0", + "illuminate/database": "^11.0|^12.0|^13.0", + "illuminate/notifications": "^11.0|^12.0|^13.0", + "illuminate/support": "^11.0|^12.0|^13.0", "laravel/serializable-closure": "^1.3|^2.0", "nunomaduro/termwind": "^1.0|^2.0", - "php": "^8.0", + "php": "^8.2", "spatie/enum": "^3.13", "spatie/laravel-package-tools": "^1.12.1", "spatie/regex": "^3.1.1|^3.1", - "spatie/temporary-directory": "^2.2", - "symfony/process": "^5.4|^6.0|^7.0" + "symfony/process": "^5.4|^6.0|^7.0|^8.0" }, "require-dev": { "laravel/horizon": "^5.9.10", - "laravel/slack-notification-channel": "^2.4|^3.2", "nunomaduro/collision": "^5.10|^6.2.1|^6.1|^8.0", - "orchestra/testbench": "^6.23|^7.6|^8.0|^9.0", - "pestphp/pest": "^1.21.3|^2.34|^3.0", - "pestphp/pest-plugin-laravel": "^1.2|^2.3|^3.0", + "orchestra/testbench": "^9.0|^10.0|^11.0", + "pestphp/pest": "^2.34|^3.0|^4.0", + "pestphp/pest-plugin-laravel": "^2.3|^3.0|^4.0", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.1.1", + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.1.1|^2.0", "phpunit/phpunit": "^9.5.21|^9.5.10|^10.5|^11.0|^12.0", "spatie/laravel-ray": "^1.30", - "spatie/pest-plugin-snapshots": "^1.1|^2.1|^3.0", + "spatie/pest-plugin-snapshots": "^1.1|^2.3|^3.0", "spatie/pest-plugin-test-time": "^1.1.1|^1.1|^2.0|^3.0", + "spatie/temporary-directory": "^2.2", "spatie/test-time": "^1.3|^2.0" }, "type": "library", @@ -8324,7 +8736,8 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/laravel-health/tree/1.34.3" + "issues": "https://github.com/spatie/laravel-health/issues", + "source": "https://github.com/spatie/laravel-health/tree/1.40.0" }, "funding": [ { @@ -8332,33 +8745,33 @@ "type": "github" } ], - "time": "2025-06-04T22:04:19+00:00" + "time": "2026-05-28T08:55:40+00:00" }, { "name": "spatie/laravel-package-tools", - "version": "1.92.4", + "version": "1.93.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "d20b1969f836d210459b78683d85c9cd5c5f508c" + "reference": "d5552849801f2642aea710557463234b59ef65eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/d20b1969f836d210459b78683d85c9cd5c5f508c", - "reference": "d20b1969f836d210459b78683d85c9cd5c5f508c", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/d5552849801f2642aea710557463234b59ef65eb", + "reference": "d5552849801f2642aea710557463234b59ef65eb", "shasum": "" }, "require": { - "illuminate/contracts": "^9.28|^10.0|^11.0|^12.0", - "php": "^8.0" + "illuminate/contracts": "^10.0|^11.0|^12.0|^13.0", + "php": "^8.1" }, "require-dev": { "mockery/mockery": "^1.5", - "orchestra/testbench": "^7.7|^8.0|^9.0|^10.0", - "pestphp/pest": "^1.23|^2.1|^3.1", - "phpunit/php-code-coverage": "^9.0|^10.0|^11.0", - "phpunit/phpunit": "^9.5.24|^10.5|^11.5", - "spatie/pest-plugin-test-time": "^1.1|^2.2" + "orchestra/testbench": "^8.0|^9.2|^10.0|^11.0", + "pestphp/pest": "^2.1|^3.1|^4.0", + "phpunit/php-code-coverage": "^10.0|^11.0|^12.0", + "phpunit/phpunit": "^10.5|^11.5|^12.5", + "spatie/pest-plugin-test-time": "^2.2|^3.0" }, "type": "library", "autoload": { @@ -8385,7 +8798,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.92.4" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.93.1" }, "funding": [ { @@ -8393,20 +8806,20 @@ "type": "github" } ], - "time": "2025-04-11T15:27:14+00:00" + "time": "2026-05-19T14:06:37+00:00" }, { "name": "spatie/laravel-responsecache", - "version": "7.7.0", + "version": "7.7.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-responsecache.git", - "reference": "d551f0498dbb2d98df47359364e5a1c8203a6376" + "reference": "039f8b9c2e2b2d838d0bfce32cfe52cf5d1cb8fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-responsecache/zipball/d551f0498dbb2d98df47359364e5a1c8203a6376", - "reference": "d551f0498dbb2d98df47359364e5a1c8203a6376", + "url": "https://api.github.com/repos/spatie/laravel-responsecache/zipball/039f8b9c2e2b2d838d0bfce32cfe52cf5d1cb8fc", + "reference": "039f8b9c2e2b2d838d0bfce32cfe52cf5d1cb8fc", "shasum": "" }, "require": { @@ -8464,7 +8877,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/laravel-responsecache/tree/7.7.0" + "source": "https://github.com/spatie/laravel-responsecache/tree/7.7.2" }, "funding": [ { @@ -8476,7 +8889,7 @@ "type": "github" } ], - "time": "2025-05-20T08:39:19+00:00" + "time": "2025-08-28T20:22:23+00:00" }, { "name": "spatie/laravel-schedule-monitor", @@ -8559,29 +8972,29 @@ }, { "name": "spatie/laravel-translatable", - "version": "6.11.4", + "version": "6.14.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-translatable.git", - "reference": "032d85b28de315310dab2048b857016f1194f68b" + "reference": "d120a925cf413b2427f886264bb6eb102ac23d42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-translatable/zipball/032d85b28de315310dab2048b857016f1194f68b", - "reference": "032d85b28de315310dab2048b857016f1194f68b", + "url": "https://api.github.com/repos/spatie/laravel-translatable/zipball/d120a925cf413b2427f886264bb6eb102ac23d42", + "reference": "d120a925cf413b2427f886264bb6eb102ac23d42", "shasum": "" }, "require": { - "illuminate/database": "^10.0|^11.0|^12.0", - "illuminate/support": "^10.0|^11.0|^12.0", - "php": "^8.0", - "spatie/laravel-package-tools": "^1.11" + "illuminate/database": "^11.0|^12.0|^13.0", + "illuminate/support": "^11.0|^12.0|^13.0", + "php": "^8.3", + "spatie/laravel-package-tools": "^1.93.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.64", - "mockery/mockery": "^1.4", - "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", - "pestphp/pest": "^1.20|^2.0|^3.0" + "friendsofphp/php-cs-fixer": "^3.90", + "mockery/mockery": "^1.6.12", + "orchestra/testbench": "^9.0|^10.0|^11.0", + "pestphp/pest": "^4.0.0" }, "type": "library", "extra": { @@ -8630,7 +9043,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-translatable/issues", - "source": "https://github.com/spatie/laravel-translatable/tree/6.11.4" + "source": "https://github.com/spatie/laravel-translatable/tree/6.14.1" }, "funding": [ { @@ -8638,7 +9051,7 @@ "type": "github" } ], - "time": "2025-02-20T15:51:22+00:00" + "time": "2026-04-23T08:26:29+00:00" }, { "name": "spatie/packagist-api", @@ -8781,29 +9194,28 @@ }, { "name": "spatie/security-advisories-health-check", - "version": "1.2.1", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/spatie/security-advisories-health-check.git", - "reference": "b98e85e9088039b6154bfb568770934dd46749f3" + "reference": "150a9ef1f90cedc7289bc34e6f2fa181d0d74765" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/security-advisories-health-check/zipball/b98e85e9088039b6154bfb568770934dd46749f3", - "reference": "b98e85e9088039b6154bfb568770934dd46749f3", + "url": "https://api.github.com/repos/spatie/security-advisories-health-check/zipball/150a9ef1f90cedc7289bc34e6f2fa181d0d74765", + "reference": "150a9ef1f90cedc7289bc34e6f2fa181d0d74765", "shasum": "" }, "require": { - "php": "^8.0", + "php": "^8.3", "spatie/packagist-api": "^2.1" }, "require-dev": { - "nunomaduro/collision": "^6.1|^7.0|^8.0", - "pestphp/pest": "^1.21|^2.3", + "nunomaduro/collision": "^8.0", + "pestphp/pest": "^4.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5.10|^10.5", "spatie/laravel-health": "^1.22.0" }, "type": "library", @@ -8831,7 +9243,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/security-advisories-health-check/tree/1.2.1" + "source": "https://github.com/spatie/security-advisories-health-check/tree/1.3.1" }, "funding": [ { @@ -8839,32 +9251,38 @@ "type": "github" } ], - "time": "2024-06-05T14:41:26+00:00" + "time": "2025-10-02T14:36:02+00:00" }, { - "name": "spatie/temporary-directory", - "version": "2.3.0", + "name": "spatie/shiki-php", + "version": "2.4.0", "source": { "type": "git", - "url": "https://github.com/spatie/temporary-directory.git", - "reference": "580eddfe9a0a41a902cac6eeb8f066b42e65a32b" + "url": "https://github.com/spatie/shiki-php.git", + "reference": "b8b0ca32d3a82bc5c533e68ffab96c5d4ec1b9ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/580eddfe9a0a41a902cac6eeb8f066b42e65a32b", - "reference": "580eddfe9a0a41a902cac6eeb8f066b42e65a32b", + "url": "https://api.github.com/repos/spatie/shiki-php/zipball/b8b0ca32d3a82bc5c533e68ffab96c5d4ec1b9ba", + "reference": "b8b0ca32d3a82bc5c533e68ffab96c5d4ec1b9ba", "shasum": "" }, "require": { - "php": "^8.0" + "ext-json": "*", + "php": "^8.0", + "symfony/process": "^5.4|^6.4|^7.1|^8.0" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "friendsofphp/php-cs-fixer": "^v3.0", + "pestphp/pest": "^1.8", + "phpunit/phpunit": "^9.5", + "spatie/pest-plugin-snapshots": "^1.1", + "spatie/ray": "^1.10" }, "type": "library", "autoload": { "psr-4": { - "Spatie\\TemporaryDirectory\\": "src" + "Spatie\\ShikiPhp\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -8873,34 +9291,32 @@ ], "authors": [ { - "name": "Alex Vanderbist", - "email": "alex@spatie.be", - "homepage": "https://spatie.be", + "name": "Rias Van der Veken", + "email": "rias@spatie.be", + "role": "Developer" + }, + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", "role": "Developer" } ], - "description": "Easily create, use and destroy temporary directories", - "homepage": "https://github.com/spatie/temporary-directory", + "description": "Highlight code using Shiki in PHP", + "homepage": "https://github.com/spatie/shiki-php", "keywords": [ - "php", - "spatie", - "temporary-directory" + "shiki", + "spatie" ], "support": { - "issues": "https://github.com/spatie/temporary-directory/issues", - "source": "https://github.com/spatie/temporary-directory/tree/2.3.0" + "source": "https://github.com/spatie/shiki-php/tree/2.4.0" }, "funding": [ - { - "url": "https://spatie.be/open-source/support-us", - "type": "custom" - }, { "url": "https://github.com/spatie", "type": "github" } ], - "time": "2025-01-13T13:04:43+00:00" + "time": "2026-04-27T14:27:52+00:00" }, { "name": "spomky-labs/base64url", @@ -8969,40 +9385,41 @@ }, { "name": "spomky-labs/pki-framework", - "version": "1.3.0", + "version": "1.4.2", "source": { "type": "git", "url": "https://github.com/Spomky-Labs/pki-framework.git", - "reference": "eced5b5ce70518b983ff2be486e902bbd15135ae" + "reference": "aa576cbd07128075bef97ac2f8af9854e67513d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Spomky-Labs/pki-framework/zipball/eced5b5ce70518b983ff2be486e902bbd15135ae", - "reference": "eced5b5ce70518b983ff2be486e902bbd15135ae", + "url": "https://api.github.com/repos/Spomky-Labs/pki-framework/zipball/aa576cbd07128075bef97ac2f8af9854e67513d8", + "reference": "aa576cbd07128075bef97ac2f8af9854e67513d8", "shasum": "" }, "require": { - "brick/math": "^0.10|^0.11|^0.12|^0.13", + "brick/math": "^0.10|^0.11|^0.12|^0.13|^0.14|^0.15|^0.16|^0.17", "ext-mbstring": "*", - "php": ">=8.1" + "php": ">=8.1", + "psr/clock": "^1.0" }, "require-dev": { "ekino/phpstan-banned-code": "^1.0|^2.0|^3.0", "ext-gmp": "*", "ext-openssl": "*", - "infection/infection": "^0.28|^0.29", + "infection/infection": "^0.28|^0.29|^0.31|^0.32", "php-parallel-lint/php-parallel-lint": "^1.3", "phpstan/extension-installer": "^1.3|^2.0", "phpstan/phpstan": "^1.8|^2.0", "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", "phpstan/phpstan-phpunit": "^1.1|^2.0", "phpstan/phpstan-strict-rules": "^1.3|^2.0", - "phpunit/phpunit": "^10.1|^11.0|^12.0", + "phpunit/phpunit": "^10.1|^11.0|^12.0|^13.0", "rector/rector": "^1.0|^2.0", "roave/security-advisories": "dev-latest", - "symfony/string": "^6.4|^7.0", - "symfony/var-dumper": "^6.4|^7.0", - "symplify/easy-coding-standard": "^12.0" + "symfony/string": "^6.4|^7.0|^8.0", + "symfony/var-dumper": "^6.4|^7.0|^8.0", + "symplify/easy-coding-standard": "^12.0|^13.0" }, "suggest": { "ext-bcmath": "For better performance (or GMP)", @@ -9062,7 +9479,7 @@ ], "support": { "issues": "https://github.com/Spomky-Labs/pki-framework/issues", - "source": "https://github.com/Spomky-Labs/pki-framework/tree/1.3.0" + "source": "https://github.com/Spomky-Labs/pki-framework/tree/1.4.2" }, "funding": [ { @@ -9074,20 +9491,20 @@ "type": "patreon" } ], - "time": "2025-06-13T08:35:04+00:00" + "time": "2026-03-23T22:56:56+00:00" }, { "name": "symfony/clock", - "version": "v7.3.0", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/clock.git", - "reference": "b81435fbd6648ea425d1ee96a2d8e68f4ceacd24" + "reference": "674fa3b98e21531dd040e613479f5f6fa8f32111" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/clock/zipball/b81435fbd6648ea425d1ee96a2d8e68f4ceacd24", - "reference": "b81435fbd6648ea425d1ee96a2d8e68f4ceacd24", + "url": "https://api.github.com/repos/symfony/clock/zipball/674fa3b98e21531dd040e613479f5f6fa8f32111", + "reference": "674fa3b98e21531dd040e613479f5f6fa8f32111", "shasum": "" }, "require": { @@ -9132,7 +9549,7 @@ "time" ], "support": { - "source": "https://github.com/symfony/clock/tree/v7.3.0" + "source": "https://github.com/symfony/clock/tree/v7.4.8" }, "funding": [ { @@ -9143,25 +9560,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2026-03-24T13:12:05+00:00" }, { "name": "symfony/console", - "version": "v7.3.1", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "9e27aecde8f506ba0fd1d9989620c04a87697101" + "reference": "85095d2573eaefaf35e40b9513a9bf09f72cd217" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/9e27aecde8f506ba0fd1d9989620c04a87697101", - "reference": "9e27aecde8f506ba0fd1d9989620c04a87697101", + "url": "https://api.github.com/repos/symfony/console/zipball/85095d2573eaefaf35e40b9513a9bf09f72cd217", + "reference": "85095d2573eaefaf35e40b9513a9bf09f72cd217", "shasum": "" }, "require": { @@ -9169,7 +9590,7 @@ "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^7.2" + "symfony/string": "^7.2|^8.0" }, "conflict": { "symfony/dependency-injection": "<6.4", @@ -9183,16 +9604,16 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/event-dispatcher": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^6.4|^7.0", - "symfony/messenger": "^6.4|^7.0", - "symfony/process": "^6.4|^7.0", - "symfony/stopwatch": "^6.4|^7.0", - "symfony/var-dumper": "^6.4|^7.0" + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/event-dispatcher": "^6.4|^7.0|^8.0", + "symfony/http-foundation": "^6.4|^7.0|^8.0", + "symfony/http-kernel": "^6.4|^7.0|^8.0", + "symfony/lock": "^6.4|^7.0|^8.0", + "symfony/messenger": "^6.4|^7.0|^8.0", + "symfony/process": "^6.4|^7.0|^8.0", + "symfony/stopwatch": "^6.4|^7.0|^8.0", + "symfony/var-dumper": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -9226,7 +9647,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.3.1" + "source": "https://github.com/symfony/console/tree/v7.4.13" }, "funding": [ { @@ -9237,25 +9658,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-27T19:55:54+00:00" + "time": "2026-05-24T08:56:14+00:00" }, { "name": "symfony/css-selector", - "version": "v7.3.0", + "version": "v7.4.9", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "601a5ce9aaad7bf10797e3663faefce9e26c24e2" + "reference": "b75663ed96cf4756e28e3105476f220f92886cc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/601a5ce9aaad7bf10797e3663faefce9e26c24e2", - "reference": "601a5ce9aaad7bf10797e3663faefce9e26c24e2", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/b75663ed96cf4756e28e3105476f220f92886cc4", + "reference": "b75663ed96cf4756e28e3105476f220f92886cc4", "shasum": "" }, "require": { @@ -9291,7 +9716,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.3.0" + "source": "https://github.com/symfony/css-selector/tree/v7.4.9" }, "funding": [ { @@ -9302,25 +9727,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2026-04-18T13:18:21+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.6.0", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" + "reference": "50f59d1f3ca46d41ac911f97a78626b6756af35b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/50f59d1f3ca46d41ac911f97a78626b6756af35b", + "reference": "50f59d1f3ca46d41ac911f97a78626b6756af35b", "shasum": "" }, "require": { @@ -9333,7 +9762,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.6-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -9358,7 +9787,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.0" }, "funding": [ { @@ -9369,41 +9798,46 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2026-04-13T15:52:40+00:00" }, { "name": "symfony/error-handler", - "version": "v7.3.1", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "35b55b166f6752d6aaf21aa042fc5ed280fce235" + "reference": "8dd79d8af777ee6cba2fd4d98da6ffb839f3c0fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/35b55b166f6752d6aaf21aa042fc5ed280fce235", - "reference": "35b55b166f6752d6aaf21aa042fc5ed280fce235", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/8dd79d8af777ee6cba2fd4d98da6ffb839f3c0fa", + "reference": "8dd79d8af777ee6cba2fd4d98da6ffb839f3c0fa", "shasum": "" }, "require": { "php": ">=8.2", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^6.4|^7.0" + "symfony/polyfill-php85": "^1.32", + "symfony/var-dumper": "^6.4|^7.0|^8.0" }, "conflict": { "symfony/deprecation-contracts": "<2.5", "symfony/http-kernel": "<6.4" }, "require-dev": { - "symfony/console": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0|^8.0", "symfony/deprecation-contracts": "^2.5|^3", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/serializer": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0|^8.0", + "symfony/serializer": "^6.4|^7.0|^8.0", "symfony/webpack-encore-bundle": "^1.0|^2.0" }, "bin": [ @@ -9435,7 +9869,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v7.3.1" + "source": "https://github.com/symfony/error-handler/tree/v7.4.8" }, "funding": [ { @@ -9446,25 +9880,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-13T07:48:40+00:00" + "time": "2026-03-24T13:12:05+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.3.0", + "version": "v7.4.9", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "497f73ac996a598c92409b44ac43b6690c4f666d" + "reference": "e4a2e29753c7801f7a8340e066cfa788f3bc8101" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/497f73ac996a598c92409b44ac43b6690c4f666d", - "reference": "497f73ac996a598c92409b44ac43b6690c4f666d", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e4a2e29753c7801f7a8340e066cfa788f3bc8101", + "reference": "e4a2e29753c7801f7a8340e066cfa788f3bc8101", "shasum": "" }, "require": { @@ -9481,13 +9919,14 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/error-handler": "^6.4|^7.0", - "symfony/expression-language": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/error-handler": "^6.4|^7.0|^8.0", + "symfony/expression-language": "^6.4|^7.0|^8.0", + "symfony/framework-bundle": "^6.4|^7.0|^8.0", + "symfony/http-foundation": "^6.4|^7.0|^8.0", "symfony/service-contracts": "^2.5|^3", - "symfony/stopwatch": "^6.4|^7.0" + "symfony/stopwatch": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -9515,7 +9954,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.3.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.4.9" }, "funding": [ { @@ -9526,25 +9965,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-22T09:11:45+00:00" + "time": "2026-04-18T13:18:21+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.6.0", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "59eb412e93815df44f05f342958efa9f46b1e586" + "reference": "ccba7060602b7fed0b03c85bf025257f76d9ef32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586", - "reference": "59eb412e93815df44f05f342958efa9f46b1e586", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/ccba7060602b7fed0b03c85bf025257f76d9ef32", + "reference": "ccba7060602b7fed0b03c85bf025257f76d9ef32", "shasum": "" }, "require": { @@ -9558,7 +10001,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.6-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -9591,7 +10034,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.6.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.7.0" }, "funding": [ { @@ -9602,32 +10045,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2026-01-05T13:30:16+00:00" }, { "name": "symfony/finder", - "version": "v7.3.0", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d" + "reference": "e0be088d22278583a82da281886e8c3592fbf149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ec2344cf77a48253bbca6939aa3d2477773ea63d", - "reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d", + "url": "https://api.github.com/repos/symfony/finder/zipball/e0be088d22278583a82da281886e8c3592fbf149", + "reference": "e0be088d22278583a82da281886e8c3592fbf149", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "symfony/filesystem": "^6.4|^7.0" + "symfony/filesystem": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -9655,7 +10102,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.3.0" + "source": "https://github.com/symfony/finder/tree/v7.4.8" }, "funding": [ { @@ -9666,32 +10113,37 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-12-30T19:00:26+00:00" + "time": "2026-03-24T13:12:05+00:00" }, { "name": "symfony/html-sanitizer", - "version": "v7.3.0", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/html-sanitizer.git", - "reference": "cf21254e982b12276329940ca4af5e623ee06c58" + "reference": "761f6c49dfd103ee08b3cd09ece588b069e18ec9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/cf21254e982b12276329940ca4af5e623ee06c58", - "reference": "cf21254e982b12276329940ca4af5e623ee06c58", + "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/761f6c49dfd103ee08b3cd09ece588b069e18ec9", + "reference": "761f6c49dfd103ee08b3cd09ece588b069e18ec9", "shasum": "" }, "require": { "ext-dom": "*", "league/uri": "^6.5|^7.0", "masterminds/html5": "^2.7.2", - "php": ">=8.2" + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3" }, "type": "library", "autoload": { @@ -9724,7 +10176,7 @@ "sanitizer" ], "support": { - "source": "https://github.com/symfony/html-sanitizer/tree/v7.3.0" + "source": "https://github.com/symfony/html-sanitizer/tree/v7.4.13" }, "funding": [ { @@ -9735,32 +10187,35 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-31T08:49:55+00:00" + "time": "2026-05-24T11:20:33+00:00" }, { "name": "symfony/http-foundation", - "version": "v7.3.1", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "23dd60256610c86a3414575b70c596e5deff6ed9" + "reference": "bc354f47c62301e990b7874fa662326368508e2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/23dd60256610c86a3414575b70c596e5deff6ed9", - "reference": "23dd60256610c86a3414575b70c596e5deff6ed9", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/bc354f47c62301e990b7874fa662326368508e2c", + "reference": "bc354f47c62301e990b7874fa662326368508e2c", "shasum": "" }, "require": { "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php83": "^1.27" + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "^1.1" }, "conflict": { "doctrine/dbal": "<3.6", @@ -9769,13 +10224,13 @@ "require-dev": { "doctrine/dbal": "^3.6|^4", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^6.4.12|^7.1.5", - "symfony/clock": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/expression-language": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/mime": "^6.4|^7.0", - "symfony/rate-limiter": "^6.4|^7.0" + "symfony/cache": "^6.4.12|^7.1.5|^8.0", + "symfony/clock": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/expression-language": "^6.4|^7.0|^8.0", + "symfony/http-kernel": "^6.4|^7.0|^8.0", + "symfony/mime": "^6.4|^7.0|^8.0", + "symfony/rate-limiter": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -9803,7 +10258,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.3.1" + "source": "https://github.com/symfony/http-foundation/tree/v7.4.13" }, "funding": [ { @@ -9814,34 +10269,38 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-23T15:07:14+00:00" + "time": "2026-05-24T11:20:33+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.3.1", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "1644879a66e4aa29c36fe33dfa6c54b450ce1831" + "reference": "9df847980c436451f4f51d1284491bb4356dd989" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1644879a66e4aa29c36fe33dfa6c54b450ce1831", - "reference": "1644879a66e4aa29c36fe33dfa6c54b450ce1831", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9df847980c436451f4f51d1284491bb4356dd989", + "reference": "9df847980c436451f4f51d1284491bb4356dd989", "shasum": "" }, "require": { "php": ">=8.2", "psr/log": "^1|^2|^3", "symfony/deprecation-contracts": "^2.5|^3", - "symfony/error-handler": "^6.4|^7.0", - "symfony/event-dispatcher": "^7.3", - "symfony/http-foundation": "^7.3", + "symfony/error-handler": "^6.4|^7.0|^8.0", + "symfony/event-dispatcher": "^7.3|^8.0", + "symfony/http-foundation": "^7.4|^8.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { @@ -9851,6 +10310,7 @@ "symfony/console": "<6.4", "symfony/dependency-injection": "<6.4", "symfony/doctrine-bridge": "<6.4", + "symfony/flex": "<2.10", "symfony/form": "<6.4", "symfony/http-client": "<6.4", "symfony/http-client-contracts": "<2.5", @@ -9868,27 +10328,27 @@ }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/browser-kit": "^6.4|^7.0", - "symfony/clock": "^6.4|^7.0", - "symfony/config": "^6.4|^7.0", - "symfony/console": "^6.4|^7.0", - "symfony/css-selector": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/dom-crawler": "^6.4|^7.0", - "symfony/expression-language": "^6.4|^7.0", - "symfony/finder": "^6.4|^7.0", + "symfony/browser-kit": "^6.4|^7.0|^8.0", + "symfony/clock": "^6.4|^7.0|^8.0", + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/console": "^6.4|^7.0|^8.0", + "symfony/css-selector": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4.1|^7.0.1|^8.0", + "symfony/dom-crawler": "^6.4|^7.0|^8.0", + "symfony/expression-language": "^6.4|^7.0|^8.0", + "symfony/finder": "^6.4|^7.0|^8.0", "symfony/http-client-contracts": "^2.5|^3", - "symfony/process": "^6.4|^7.0", - "symfony/property-access": "^7.1", - "symfony/routing": "^6.4|^7.0", - "symfony/serializer": "^7.1", - "symfony/stopwatch": "^6.4|^7.0", - "symfony/translation": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0|^8.0", + "symfony/property-access": "^7.1|^8.0", + "symfony/routing": "^6.4|^7.0|^8.0", + "symfony/serializer": "^7.1|^8.0", + "symfony/stopwatch": "^6.4|^7.0|^8.0", + "symfony/translation": "^6.4|^7.0|^8.0", "symfony/translation-contracts": "^2.5|^3", - "symfony/uid": "^6.4|^7.0", - "symfony/validator": "^6.4|^7.0", - "symfony/var-dumper": "^6.4|^7.0", - "symfony/var-exporter": "^6.4|^7.0", + "symfony/uid": "^6.4|^7.0|^8.0", + "symfony/validator": "^6.4|^7.0|^8.0", + "symfony/var-dumper": "^6.4|^7.0|^8.0", + "symfony/var-exporter": "^6.4|^7.0|^8.0", "twig/twig": "^3.12" }, "type": "library", @@ -9917,7 +10377,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v7.3.1" + "source": "https://github.com/symfony/http-kernel/tree/v7.4.13" }, "funding": [ { @@ -9928,25 +10388,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-28T08:24:55+00:00" + "time": "2026-05-27T08:31:43+00:00" }, { "name": "symfony/mailer", - "version": "v7.3.1", + "version": "v7.4.12", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "b5db5105b290bdbea5ab27b89c69effcf1cb3368" + "reference": "5cefb712a25f320579615ba9e1942abaeade7dff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/b5db5105b290bdbea5ab27b89c69effcf1cb3368", - "reference": "b5db5105b290bdbea5ab27b89c69effcf1cb3368", + "url": "https://api.github.com/repos/symfony/mailer/zipball/5cefb712a25f320579615ba9e1942abaeade7dff", + "reference": "5cefb712a25f320579615ba9e1942abaeade7dff", "shasum": "" }, "require": { @@ -9954,8 +10418,8 @@ "php": ">=8.2", "psr/event-dispatcher": "^1", "psr/log": "^1|^2|^3", - "symfony/event-dispatcher": "^6.4|^7.0", - "symfony/mime": "^7.2", + "symfony/event-dispatcher": "^6.4|^7.0|^8.0", + "symfony/mime": "^7.2|^8.0", "symfony/service-contracts": "^2.5|^3" }, "conflict": { @@ -9966,10 +10430,10 @@ "symfony/twig-bridge": "<6.4" }, "require-dev": { - "symfony/console": "^6.4|^7.0", - "symfony/http-client": "^6.4|^7.0", - "symfony/messenger": "^6.4|^7.0", - "symfony/twig-bridge": "^6.4|^7.0" + "symfony/console": "^6.4|^7.0|^8.0", + "symfony/http-client": "^6.4|^7.0|^8.0", + "symfony/messenger": "^6.4|^7.0|^8.0", + "symfony/twig-bridge": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -9997,7 +10461,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v7.3.1" + "source": "https://github.com/symfony/mailer/tree/v7.4.12" }, "funding": [ { @@ -10008,48 +10472,53 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-27T19:55:54+00:00" + "time": "2026-05-20T07:20:23+00:00" }, { "name": "symfony/mime", - "version": "v7.3.0", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9" + "reference": "a845722765c4f6b2ce88beaf4f4479975b186770" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9", - "reference": "0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9", + "url": "https://api.github.com/repos/symfony/mime/zipball/a845722765c4f6b2ce88beaf4f4479975b186770", + "reference": "a845722765c4f6b2ce88beaf4f4479975b186770", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, "conflict": { "egulias/email-validator": "~3.0.0", - "phpdocumentor/reflection-docblock": "<3.2.2", - "phpdocumentor/type-resolver": "<1.4.0", + "phpdocumentor/reflection-docblock": "<5.2|>=7", + "phpdocumentor/type-resolver": "<1.5.1", "symfony/mailer": "<6.4", "symfony/serializer": "<6.4.3|>7.0,<7.0.3" }, "require-dev": { "egulias/email-validator": "^2.1.10|^3.1|^4", "league/html-to-markdown": "^5.0", - "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/process": "^6.4|^7.0", - "symfony/property-access": "^6.4|^7.0", - "symfony/property-info": "^6.4|^7.0", - "symfony/serializer": "^6.4.3|^7.0.3" + "phpdocumentor/reflection-docblock": "^5.2|^6.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/process": "^6.4|^7.0|^8.0", + "symfony/property-access": "^6.4|^7.0|^8.0", + "symfony/property-info": "^6.4|^7.0|^8.0", + "symfony/serializer": "^6.4.3|^7.0.3|^8.0" }, "type": "library", "autoload": { @@ -10081,7 +10550,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.3.0" + "source": "https://github.com/symfony/mime/tree/v7.4.13" }, "funding": [ { @@ -10092,25 +10561,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-02-19T08:51:26+00:00" + "time": "2026-05-23T16:22:37+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.32.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + "reference": "141046a8f9477948ff284fa65be2095baafb94f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/141046a8f9477948ff284fa65be2095baafb94f2", + "reference": "141046a8f9477948ff284fa65be2095baafb94f2", "shasum": "" }, "require": { @@ -10160,7 +10633,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0" }, "funding": [ { @@ -10171,25 +10644,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.32.0", + "version": "v1.38.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + "reference": "e9247d281d694a5120554d9afaf54e070e88a603" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e9247d281d694a5120554d9afaf54e070e88a603", + "reference": "e9247d281d694a5120554d9afaf54e070e88a603", "shasum": "" }, "require": { @@ -10238,7 +10715,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.38.1" }, "funding": [ { @@ -10249,25 +10726,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-05-26T05:58:03+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.32.0", + "version": "v1.38.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3" + "reference": "dc21118016c039a66235cf93d96b435ffb282412" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/9614ac4d8061dc257ecc64cba1b140873dce8ad3", - "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/dc21118016c039a66235cf93d96b435ffb282412", + "reference": "dc21118016c039a66235cf93d96b435ffb282412", "shasum": "" }, "require": { @@ -10321,7 +10802,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.38.1" }, "funding": [ { @@ -10332,25 +10813,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-10T14:38:51+00:00" + "time": "2026-05-25T15:22:23+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.32.0", + "version": "v1.38.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" + "reference": "2d446c214bdbe5b71bde5011b060a05fece3ae6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/2d446c214bdbe5b71bde5011b060a05fece3ae6b", + "reference": "2d446c214bdbe5b71bde5011b060a05fece3ae6b", "shasum": "" }, "require": { @@ -10402,7 +10887,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.38.0" }, "funding": [ { @@ -10413,25 +10898,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-05-25T13:48:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.32.0", + "version": "v1.38.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" + "reference": "14c5439eec4ccff081ac14eca2dc57feb2a66d92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/14c5439eec4ccff081ac14eca2dc57feb2a66d92", + "reference": "14c5439eec4ccff081ac14eca2dc57feb2a66d92", "shasum": "" }, "require": { @@ -10483,7 +10972,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.38.1" }, "funding": [ { @@ -10494,25 +10983,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-12-23T08:48:59+00:00" + "time": "2026-05-26T12:51:13+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.32.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608" + "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608", - "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dfb55726c3a76ea3b6459fcfda1ec2d80a682411", + "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411", "shasum": "" }, "require": { @@ -10563,7 +11056,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.37.0" }, "funding": [ { @@ -10574,25 +11067,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-01-02T08:10:11+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.32.0", + "version": "v1.38.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" + "reference": "8339098cae28673c15cce00d80734af0453054e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", - "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/8339098cae28673c15cce00d80734af0453054e2", + "reference": "8339098cae28673c15cce00d80734af0453054e2", "shasum": "" }, "require": { @@ -10639,7 +11136,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.38.1" }, "funding": [ { @@ -10650,36 +11147,34 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-05-26T12:51:13+00:00" }, { - "name": "symfony/polyfill-uuid", - "version": "v1.32.0", + "name": "symfony/polyfill-php84", + "version": "v1.38.1", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" + "url": "https://github.com/symfony/polyfill-php84.git", + "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", + "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa", + "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa", "shasum": "" }, "require": { "php": ">=7.2" }, - "provide": { - "ext-uuid": "*" - }, - "suggest": { - "ext-uuid": "For best performance" - }, "type": "library", "extra": { "thanks": { @@ -10692,8 +11187,11 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Uuid\\": "" - } + "Symfony\\Polyfill\\Php84\\": "" + }, + "classmap": [ + "Resources/stubs" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -10701,24 +11199,24 @@ ], "authors": [ { - "name": "Grégoire Pineau", - "email": "lyrixx@lyrixx.info" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for uuid functions", + "description": "Symfony polyfill backporting some PHP 8.4+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", "polyfill", "portable", - "uuid" + "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.32.0" + "source": "https://github.com/symfony/polyfill-php84/tree/v1.38.1" }, "funding": [ { @@ -10729,37 +11227,50 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-05-26T12:51:13+00:00" }, { - "name": "symfony/process", - "version": "v7.3.0", + "name": "symfony/polyfill-php85", + "version": "v1.38.1", "source": { "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "40c295f2deb408d5e9d2d32b8ba1dd61e36f05af" + "url": "https://github.com/symfony/polyfill-php85.git", + "reference": "ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/40c295f2deb408d5e9d2d32b8ba1dd61e36f05af", - "reference": "40c295f2deb408d5e9d2d32b8ba1dd61e36f05af", + "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1", + "reference": "ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1", "shasum": "" }, "require": { - "php": ">=8.2" + "php": ">=7.2" }, "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Symfony\\Component\\Process\\": "" + "Symfony\\Polyfill\\Php85\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -10768,18 +11279,24 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Executes commands in sub-processes", + "description": "Symfony polyfill backporting some PHP 8.5+ features to lower PHP versions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], "support": { - "source": "https://github.com/symfony/process/tree/v7.3.0" + "source": "https://github.com/symfony/polyfill-php85/tree/v1.38.1" }, "funding": [ { @@ -10790,43 +11307,195 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-17T09:11:12+00:00" + "time": "2026-05-26T02:25:22+00:00" }, { - "name": "symfony/routing", - "version": "v7.3.0", + "name": "symfony/polyfill-uuid", + "version": "v1.37.0", "source": { "type": "git", - "url": "https://github.com/symfony/routing.git", - "reference": "8e213820c5fea844ecea29203d2a308019007c15" + "url": "https://github.com/symfony/polyfill-uuid.git", + "reference": "26dfec253c4cf3e51b541b52ddf7e42cb0908e94" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/8e213820c5fea844ecea29203d2a308019007c15", - "reference": "8e213820c5fea844ecea29203d2a308019007c15", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/26dfec253c4cf3e51b541b52ddf7e42cb0908e94", + "reference": "26dfec253c4cf3e51b541b52ddf7e42cb0908e94", "shasum": "" }, "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3" + "php": ">=7.2" }, - "conflict": { - "symfony/config": "<6.4", - "symfony/dependency-injection": "<6.4", - "symfony/yaml": "<6.4" + "provide": { + "ext-uuid": "*" }, - "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/expression-language": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/yaml": "^6.4|^7.0" + "suggest": { + "ext-uuid": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Uuid\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for uuid functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.37.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-04-10T16:19:22+00:00" + }, + { + "name": "symfony/process", + "version": "v7.4.13", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "f5804be144caceb570f6747519999636b664f24c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/f5804be144caceb570f6747519999636b664f24c", + "reference": "f5804be144caceb570f6747519999636b664f24c", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v7.4.13" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-05-23T16:05:06+00:00" + }, + { + "name": "symfony/routing", + "version": "v7.4.13", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "3a162171bb008e5e0f15dce6581373a4c0e8390d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/3a162171bb008e5e0f15dce6581373a4c0e8390d", + "reference": "3a162171bb008e5e0f15dce6581373a4c0e8390d", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/config": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/yaml": "<6.4" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/expression-language": "^6.4|^7.0|^8.0", + "symfony/http-foundation": "^6.4|^7.0|^8.0", + "symfony/yaml": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -10860,7 +11529,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v7.3.0" + "source": "https://github.com/symfony/routing/tree/v7.4.13" }, "funding": [ { @@ -10871,25 +11540,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-05-24T20:43:28+00:00" + "time": "2026-05-24T11:20:33+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.6.0", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4" + "reference": "d25d82433a80eba6aa0e6c24b61d7370d99e444a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4", - "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d25d82433a80eba6aa0e6c24b61d7370d99e444a", + "reference": "d25d82433a80eba6aa0e6c24b61d7370d99e444a", "shasum": "" }, "require": { @@ -10907,7 +11580,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.6-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -10943,7 +11616,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.6.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.7.0" }, "funding": [ { @@ -10954,31 +11627,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-25T09:37:31+00:00" + "time": "2026-03-28T09:44:51+00:00" }, { "name": "symfony/string", - "version": "v7.3.0", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f3570b8c61ca887a9e2938e85cb6458515d2b125" + "reference": "961683010db3b27ec6ebcd7308e6e1ee8fa7ffde" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f3570b8c61ca887a9e2938e85cb6458515d2b125", - "reference": "f3570b8c61ca887a9e2938e85cb6458515d2b125", + "url": "https://api.github.com/repos/symfony/string/zipball/961683010db3b27ec6ebcd7308e6e1ee8fa7ffde", + "reference": "961683010db3b27ec6ebcd7308e6e1ee8fa7ffde", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3.0", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-grapheme": "~1.33", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, @@ -10986,12 +11664,11 @@ "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/emoji": "^7.1", - "symfony/error-handler": "^6.4|^7.0", - "symfony/http-client": "^6.4|^7.0", - "symfony/intl": "^6.4|^7.0", + "symfony/emoji": "^7.1|^8.0", + "symfony/http-client": "^6.4|^7.0|^8.0", + "symfony/intl": "^6.4|^7.0|^8.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0" + "symfony/var-exporter": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -11030,7 +11707,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.3.0" + "source": "https://github.com/symfony/string/tree/v7.4.13" }, "funding": [ { @@ -11041,32 +11718,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-20T20:19:01+00:00" + "time": "2026-05-23T15:23:29+00:00" }, { "name": "symfony/translation", - "version": "v7.3.1", + "version": "v7.4.10", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "241d5ac4910d256660238a7ecf250deba4c73063" + "reference": "ada7578c30dd5feaa8259cff3e885069ea81ddde" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/241d5ac4910d256660238a7ecf250deba4c73063", - "reference": "241d5ac4910d256660238a7ecf250deba4c73063", + "url": "https://api.github.com/repos/symfony/translation/zipball/ada7578c30dd5feaa8259cff3e885069ea81ddde", + "reference": "ada7578c30dd5feaa8259cff3e885069ea81ddde", "shasum": "" }, "require": { "php": ">=8.2", "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/translation-contracts": "^2.5|^3.0" + "symfony/translation-contracts": "^2.5.3|^3.3" }, "conflict": { "nikic/php-parser": "<5.0", @@ -11085,17 +11766,17 @@ "require-dev": { "nikic/php-parser": "^5.0", "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/console": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/finder": "^6.4|^7.0", + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/console": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/finder": "^6.4|^7.0|^8.0", "symfony/http-client-contracts": "^2.5|^3.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/intl": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0|^8.0", + "symfony/intl": "^6.4|^7.0|^8.0", "symfony/polyfill-intl-icu": "^1.21", - "symfony/routing": "^6.4|^7.0", + "symfony/routing": "^6.4|^7.0|^8.0", "symfony/service-contracts": "^2.5|^3", - "symfony/yaml": "^6.4|^7.0" + "symfony/yaml": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -11126,7 +11807,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.3.1" + "source": "https://github.com/symfony/translation/tree/v7.4.10" }, "funding": [ { @@ -11137,25 +11818,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-27T19:55:54+00:00" + "time": "2026-05-06T11:19:24+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.6.0", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d" + "reference": "0ab302977a952b42fd51475c4ebac81f8da0a95d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/df210c7a2573f1913b2d17cc95f90f53a73d8f7d", - "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/0ab302977a952b42fd51475c4ebac81f8da0a95d", + "reference": "0ab302977a952b42fd51475c4ebac81f8da0a95d", "shasum": "" }, "require": { @@ -11168,7 +11853,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.6-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -11204,7 +11889,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.6.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.7.0" }, "funding": [ { @@ -11215,25 +11900,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-27T08:32:26+00:00" + "time": "2026-01-05T13:30:16+00:00" }, { "name": "symfony/uid", - "version": "v7.3.1", + "version": "v7.4.9", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "a69f69f3159b852651a6bf45a9fdd149520525bb" + "reference": "2676b524340abcfe4d6151ec698463cebafee439" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/a69f69f3159b852651a6bf45a9fdd149520525bb", - "reference": "a69f69f3159b852651a6bf45a9fdd149520525bb", + "url": "https://api.github.com/repos/symfony/uid/zipball/2676b524340abcfe4d6151ec698463cebafee439", + "reference": "2676b524340abcfe4d6151ec698463cebafee439", "shasum": "" }, "require": { @@ -11241,7 +11930,7 @@ "symfony/polyfill-uuid": "^1.15" }, "require-dev": { - "symfony/console": "^6.4|^7.0" + "symfony/console": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -11278,7 +11967,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v7.3.1" + "source": "https://github.com/symfony/uid/tree/v7.4.9" }, "funding": [ { @@ -11289,25 +11978,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-27T19:55:54+00:00" + "time": "2026-04-30T15:19:22+00:00" }, { "name": "symfony/var-dumper", - "version": "v7.3.1", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "6e209fbe5f5a7b6043baba46fe5735a4b85d0d42" + "reference": "9510c3966f749a1d1ff0059e1eabef6cc621e7fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6e209fbe5f5a7b6043baba46fe5735a4b85d0d42", - "reference": "6e209fbe5f5a7b6043baba46fe5735a4b85d0d42", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/9510c3966f749a1d1ff0059e1eabef6cc621e7fd", + "reference": "9510c3966f749a1d1ff0059e1eabef6cc621e7fd", "shasum": "" }, "require": { @@ -11319,11 +12012,10 @@ "symfony/console": "<6.4" }, "require-dev": { - "ext-iconv": "*", - "symfony/console": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/process": "^6.4|^7.0", - "symfony/uid": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0|^8.0", + "symfony/http-kernel": "^6.4|^7.0|^8.0", + "symfony/process": "^6.4|^7.0|^8.0", + "symfony/uid": "^6.4|^7.0|^8.0", "twig/twig": "^3.12" }, "bin": [ @@ -11362,7 +12054,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.3.1" + "source": "https://github.com/symfony/var-dumper/tree/v7.4.8" }, "funding": [ { @@ -11373,32 +12065,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-27T19:55:54+00:00" + "time": "2026-03-30T13:44:50+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "v2.3.0", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "0d72ac1c00084279c1816675284073c5a337c20d" + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0d72ac1c00084279c1816675284073c5a337c20d", - "reference": "0d72ac1c00084279c1816675284073c5a337c20d", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/f0292ccf0ec75843d65027214426b6b163b48b41", + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "php": "^7.4 || ^8.0", - "symfony/css-selector": "^5.4 || ^6.0 || ^7.0" + "symfony/css-selector": "^5.4 || ^6.0 || ^7.0 || ^8.0" }, "require-dev": { "phpstan/phpstan": "^2.0", @@ -11431,9 +12127,78 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.3.0" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.4.0" }, - "time": "2024-12-21T16:25:41+00:00" + "time": "2025-12-02T11:56:42+00:00" + }, + { + "name": "ueberdosis/tiptap-php", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/ueberdosis/tiptap-php.git", + "reference": "6ea321fa665080e1a72ac5f52dfab19f6a292e2d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ueberdosis/tiptap-php/zipball/6ea321fa665080e1a72ac5f52dfab19f6a292e2d", + "reference": "6ea321fa665080e1a72ac5f52dfab19f6a292e2d", + "shasum": "" + }, + "require": { + "php": "^8.0", + "scrivo/highlight.php": "^9.18", + "spatie/shiki-php": "^2.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.5", + "pestphp/pest": "^1.21", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Tiptap\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Hans Pagel", + "email": "humans@tiptap.dev", + "role": "Developer" + } + ], + "description": "A PHP package to work with Tiptap output", + "homepage": "https://github.com/ueberdosis/tiptap-php", + "keywords": [ + "prosemirror", + "tiptap", + "ueberdosis" + ], + "support": { + "issues": "https://github.com/ueberdosis/tiptap-php/issues", + "source": "https://github.com/ueberdosis/tiptap-php/tree/2.1.0" + }, + "funding": [ + { + "url": "https://tiptap.dev/pricing", + "type": "custom" + }, + { + "url": "https://github.com/ueberdosis", + "type": "github" + }, + { + "url": "https://opencollective.com/tiptap", + "type": "open_collective" + } + ], + "time": "2026-01-10T16:40:02+00:00" }, { "name": "usmanhalalit/laracsv", @@ -11497,26 +12262,26 @@ }, { "name": "vlucas/phpdotenv", - "version": "v5.6.2", + "version": "v5.6.3", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af" + "reference": "955e7815d677a3eaa7075231212f2110983adecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/24ac4c74f91ee2c193fa1aaa5c249cb0822809af", - "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/955e7815d677a3eaa7075231212f2110983adecc", + "reference": "955e7815d677a3eaa7075231212f2110983adecc", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.1.3", + "graham-campbell/result-type": "^1.1.4", "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.3", - "symfony/polyfill-ctype": "^1.24", - "symfony/polyfill-mbstring": "^1.24", - "symfony/polyfill-php80": "^1.24" + "phpoption/phpoption": "^1.9.5", + "symfony/polyfill-ctype": "^1.26", + "symfony/polyfill-mbstring": "^1.26", + "symfony/polyfill-php80": "^1.26" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", @@ -11565,7 +12330,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.2" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.3" }, "funding": [ { @@ -11577,27 +12342,27 @@ "type": "tidelift" } ], - "time": "2025-04-30T23:37:27+00:00" + "time": "2025-12-27T19:49:13+00:00" }, { "name": "voku/portable-ascii", - "version": "2.0.3", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/voku/portable-ascii.git", - "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d" + "reference": "8e1051fe39379367aecf014f41744ce7539a856f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b1d923f88091c6bf09699efcd7c8a1b1bfd7351d", - "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/8e1051fe39379367aecf014f41744ce7539a856f", + "reference": "8e1051fe39379367aecf014f41744ce7539a856f", "shasum": "" }, "require": { - "php": ">=7.0.0" + "php": ">=7.1.0" }, "require-dev": { - "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + "phpunit/phpunit": "~8.5 || ~9.6 || ~10.5 || ~11.5" }, "suggest": { "ext-intl": "Use Intl for transliterator_transliterate() support" @@ -11627,7 +12392,7 @@ ], "support": { "issues": "https://github.com/voku/portable-ascii/issues", - "source": "https://github.com/voku/portable-ascii/tree/2.0.3" + "source": "https://github.com/voku/portable-ascii/tree/2.1.1" }, "funding": [ { @@ -11651,25 +12416,24 @@ "type": "tidelift" } ], - "time": "2024-11-21T01:49:47+00:00" + "time": "2026-04-26T05:33:54+00:00" }, { "name": "web-token/jwt-library", - "version": "4.0.4", + "version": "4.1.6", "source": { "type": "git", "url": "https://github.com/web-token/jwt-library.git", - "reference": "650108fa2cdd6cbaaead0dc0ab5302e178b23b0a" + "reference": "e8ab00927a3856f3f0c8218226382cd6a58928a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-token/jwt-library/zipball/650108fa2cdd6cbaaead0dc0ab5302e178b23b0a", - "reference": "650108fa2cdd6cbaaead0dc0ab5302e178b23b0a", + "url": "https://api.github.com/repos/web-token/jwt-library/zipball/e8ab00927a3856f3f0c8218226382cd6a58928a1", + "reference": "e8ab00927a3856f3f0c8218226382cd6a58928a1", "shasum": "" }, "require": { - "brick/math": "^0.12 || ^0.13", - "ext-json": "*", + "brick/math": "^0.12|^0.13|^0.14|^0.15|^0.16|^0.17", "php": ">=8.2", "psr/clock": "^1.0", "spomky-labs/pki-framework": "^1.2.1" @@ -11729,7 +12493,7 @@ ], "support": { "issues": "https://github.com/web-token/jwt-library/issues", - "source": "https://github.com/web-token/jwt-library/tree/4.0.4" + "source": "https://github.com/web-token/jwt-library/tree/4.1.6" }, "funding": [ { @@ -11741,87 +12505,29 @@ "type": "patreon" } ], - "time": "2025-03-12T11:25:35+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "php": "^7.2 || ^8.0" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.11.0" - }, - "time": "2022-06-03T18:03:27+00:00" + "time": "2026-04-14T07:44:20+00:00" }, { "name": "whitecube/laravel-cookie-consent", - "version": "v1.3.4", + "version": "v1.3.10", "source": { "type": "git", "url": "https://github.com/whitecube/laravel-cookie-consent.git", - "reference": "d9d728d23ec05bfb2e1946ba4d1de683f1fd80f9" + "reference": "b8f74f256c7992d70afc9129bf71eff1f9e20b30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/whitecube/laravel-cookie-consent/zipball/d9d728d23ec05bfb2e1946ba4d1de683f1fd80f9", - "reference": "d9d728d23ec05bfb2e1946ba4d1de683f1fd80f9", + "url": "https://api.github.com/repos/whitecube/laravel-cookie-consent/zipball/b8f74f256c7992d70afc9129bf71eff1f9e20b30", + "reference": "b8f74f256c7992d70afc9129bf71eff1f9e20b30", "shasum": "" }, "require": { - "laravel/framework": "^9|^10|^11|^12", + "laravel/framework": "^9|^10|^11|^12|^13", "php": ">=8.1" }, "require-dev": { "mockery/mockery": "^1.5", - "orchestra/testbench": "^8.5|^9.0|^10.0", + "orchestra/testbench": "^8.5|^9.0|^10.0|^11.0", "pestphp/pest": "^2.0|^3.7" }, "type": "library", @@ -11866,7 +12572,7 @@ ], "support": { "issues": "https://github.com/whitecube/laravel-cookie-consent/issues", - "source": "https://github.com/whitecube/laravel-cookie-consent/tree/v1.3.4" + "source": "https://github.com/whitecube/laravel-cookie-consent/tree/v1.3.10" }, "funding": [ { @@ -11874,7 +12580,7 @@ "type": "github" } ], - "time": "2025-05-26T11:41:47+00:00" + "time": "2026-05-25T21:36:30+00:00" } ], "packages-dev": [ @@ -11958,25 +12664,25 @@ }, { "name": "barryvdh/laravel-debugbar", - "version": "v3.15.4", + "version": "v3.16.5", "source": { "type": "git", - "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "c0667ea91f7185f1e074402c5788195e96bf8106" + "url": "https://github.com/fruitcake/laravel-debugbar.git", + "reference": "e85c0a8464da67e5b4a53a42796d46a43fc06c9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/c0667ea91f7185f1e074402c5788195e96bf8106", - "reference": "c0667ea91f7185f1e074402c5788195e96bf8106", + "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/e85c0a8464da67e5b4a53a42796d46a43fc06c9a", + "reference": "e85c0a8464da67e5b4a53a42796d46a43fc06c9a", "shasum": "" }, "require": { - "illuminate/routing": "^9|^10|^11|^12", - "illuminate/session": "^9|^10|^11|^12", - "illuminate/support": "^9|^10|^11|^12", + "illuminate/routing": "^10|^11|^12", + "illuminate/session": "^10|^11|^12", + "illuminate/support": "^10|^11|^12", "php": "^8.1", - "php-debugbar/php-debugbar": "~2.1.1", - "symfony/finder": "^6|^7" + "php-debugbar/php-debugbar": "^2.2.4", + "symfony/finder": "^6|^7|^8" }, "require-dev": { "mockery/mockery": "^1.3.3", @@ -11995,7 +12701,7 @@ ] }, "branch-alias": { - "dev-master": "3.15-dev" + "dev-master": "3.16-dev" } }, "autoload": { @@ -12026,8 +12732,8 @@ "webprofiler" ], "support": { - "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.15.4" + "issues": "https://github.com/fruitcake/laravel-debugbar/issues", + "source": "https://github.com/fruitcake/laravel-debugbar/tree/v3.16.5" }, "funding": [ { @@ -12039,42 +12745,43 @@ "type": "github" } ], - "time": "2025-04-16T06:32:06+00:00" + "time": "2026-01-23T15:03:22+00:00" }, { "name": "barryvdh/laravel-ide-helper", - "version": "v3.5.5", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-ide-helper.git", - "reference": "8d441ec99f8612b942b55f5183151d91591b618a" + "reference": "ad7e37676f1ff985d55ef1b6b96a0c0a40f2609a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/8d441ec99f8612b942b55f5183151d91591b618a", - "reference": "8d441ec99f8612b942b55f5183151d91591b618a", + "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/ad7e37676f1ff985d55ef1b6b96a0c0a40f2609a", + "reference": "ad7e37676f1ff985d55ef1b6b96a0c0a40f2609a", "shasum": "" }, "require": { - "barryvdh/reflection-docblock": "^2.3", + "barryvdh/reflection-docblock": "^2.4", "composer/class-map-generator": "^1.0", "ext-json": "*", - "illuminate/console": "^11.15 || ^12", - "illuminate/database": "^11.15 || ^12", - "illuminate/filesystem": "^11.15 || ^12", - "illuminate/support": "^11.15 || ^12", + "illuminate/console": "^11.15 || ^12 || ^13.0", + "illuminate/database": "^11.15 || ^12 || ^13.0", + "illuminate/filesystem": "^11.15 || ^12 || ^13.0", + "illuminate/support": "^11.15 || ^12 || ^13.0", "php": "^8.2" }, "require-dev": { "ext-pdo_sqlite": "*", "friendsofphp/php-cs-fixer": "^3", - "illuminate/config": "^11.15 || ^12", - "illuminate/view": "^11.15 || ^12", + "illuminate/config": "^11.15 || ^12 || ^13.0", + "illuminate/view": "^11.15 || ^12 || ^13.0", + "larastan/larastan": "^3.1", "mockery/mockery": "^1.4", - "orchestra/testbench": "^9.2 || ^10", - "phpunit/phpunit": "^10.5 || ^11.5.3", + "orchestra/testbench": "^9.2 || ^10 || ^11.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^10.5 || ^11.5.3 || ^12.5.12", "spatie/phpunit-snapshot-assertions": "^4 || ^5", - "vimeo/psalm": "^5.4", "vlucas/phpdotenv": "^5" }, "suggest": { @@ -12088,7 +12795,7 @@ ] }, "branch-alias": { - "dev-master": "3.5-dev" + "dev-master": "3.6-dev" } }, "autoload": { @@ -12121,7 +12828,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-ide-helper/issues", - "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.5.5" + "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.7.0" }, "funding": [ { @@ -12133,20 +12840,20 @@ "type": "github" } ], - "time": "2025-02-11T13:59:46+00:00" + "time": "2026-03-17T14:12:51+00:00" }, { "name": "barryvdh/reflection-docblock", - "version": "v2.3.1", + "version": "v2.4.1", "source": { "type": "git", "url": "https://github.com/barryvdh/ReflectionDocBlock.git", - "reference": "b6ff9f93603561f50e53b64310495d20b8dff5d8" + "reference": "4f5ba70c30c81f2ce03a16a9965832cfcc31ed3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/ReflectionDocBlock/zipball/b6ff9f93603561f50e53b64310495d20b8dff5d8", - "reference": "b6ff9f93603561f50e53b64310495d20b8dff5d8", + "url": "https://api.github.com/repos/barryvdh/ReflectionDocBlock/zipball/4f5ba70c30c81f2ce03a16a9965832cfcc31ed3b", + "reference": "4f5ba70c30c81f2ce03a16a9965832cfcc31ed3b", "shasum": "" }, "require": { @@ -12183,59 +12890,9 @@ } ], "support": { - "source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.3.1" - }, - "time": "2025-01-18T19:26:32+00:00" - }, - { - "name": "erusev/parsedown", - "version": "1.7.4", - "source": { - "type": "git", - "url": "https://github.com/erusev/parsedown.git", - "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/erusev/parsedown/zipball/cb17b6477dfff935958ba01325f2e8a2bfa6dab3", - "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3", - "shasum": "" - }, - "require": { - "ext-mbstring": "*", - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35" - }, - "type": "library", - "autoload": { - "psr-0": { - "Parsedown": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Emanuil Rusev", - "email": "hello@erusev.com", - "homepage": "http://erusev.com" - } - ], - "description": "Parser for Markdown.", - "homepage": "http://parsedown.org", - "keywords": [ - "markdown", - "parser" - ], - "support": { - "issues": "https://github.com/erusev/parsedown/issues", - "source": "https://github.com/erusev/parsedown/tree/1.7.x" + "source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.4.1" }, - "time": "2019-12-30T22:54:17+00:00" + "time": "2026-03-05T20:09:01+00:00" }, { "name": "fakerphp/faker", @@ -12300,18 +12957,65 @@ }, "time": "2024-11-21T13:46:39+00:00" }, + { + "name": "filament/upgrade", + "version": "v4.11.6", + "source": { + "type": "git", + "url": "https://github.com/filamentphp/upgrade.git", + "reference": "4a47e751fe3cf1685e7cd028fbbb8891f65f3c74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filamentphp/upgrade/zipball/4a47e751fe3cf1685e7cd028fbbb8891f65f3c74", + "reference": "4a47e751fe3cf1685e7cd028fbbb8891f65f3c74", + "shasum": "" + }, + "require": { + "nunomaduro/termwind": "^2.0", + "php": "^8.2", + "rector/rector": "^2.0" + }, + "bin": [ + "bin/filament-v4" + ], + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Filament\\Upgrade\\UpgradeServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Filament\\Upgrade\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Upgrade Filament v3 code to Filament v4.", + "homepage": "https://github.com/filamentphp/filament", + "support": { + "issues": "https://github.com/filamentphp/filament/issues", + "source": "https://github.com/filamentphp/filament" + }, + "time": "2026-05-20T17:24:13+00:00" + }, { "name": "filp/whoops", - "version": "2.18.3", + "version": "2.18.4", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "59a123a3d459c5a23055802237cb317f609867e5" + "reference": "d2102955e48b9fd9ab24280a7ad12ed552752c4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/59a123a3d459c5a23055802237cb317f609867e5", - "reference": "59a123a3d459c5a23055802237cb317f609867e5", + "url": "https://api.github.com/repos/filp/whoops/zipball/d2102955e48b9fd9ab24280a7ad12ed552752c4d", + "reference": "d2102955e48b9fd9ab24280a7ad12ed552752c4d", "shasum": "" }, "require": { @@ -12361,7 +13065,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.18.3" + "source": "https://github.com/filp/whoops/tree/2.18.4" }, "funding": [ { @@ -12369,7 +13073,7 @@ "type": "github" } ], - "time": "2025-06-16T00:02:10+00:00" + "time": "2025-08-08T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -12424,16 +13128,16 @@ }, { "name": "iamcal/sql-parser", - "version": "v0.5", + "version": "v0.7", "source": { "type": "git", "url": "https://github.com/iamcal/SQLParser.git", - "reference": "644fd994de3b54e5d833aecf406150aa3b66ca88" + "reference": "610392f38de49a44dab08dc1659960a29874c4b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/iamcal/SQLParser/zipball/644fd994de3b54e5d833aecf406150aa3b66ca88", - "reference": "644fd994de3b54e5d833aecf406150aa3b66ca88", + "url": "https://api.github.com/repos/iamcal/SQLParser/zipball/610392f38de49a44dab08dc1659960a29874c4b8", + "reference": "610392f38de49a44dab08dc1659960a29874c4b8", "shasum": "" }, "require-dev": { @@ -12459,58 +13163,56 @@ "description": "MySQL schema parser", "support": { "issues": "https://github.com/iamcal/SQLParser/issues", - "source": "https://github.com/iamcal/SQLParser/tree/v0.5" + "source": "https://github.com/iamcal/SQLParser/tree/v0.7" }, - "time": "2024-03-22T22:46:32+00:00" + "time": "2026-01-28T22:20:33+00:00" }, { "name": "knuckleswtf/scribe", - "version": "5.2.1", + "version": "5.10.0", "source": { "type": "git", "url": "https://github.com/knuckleswtf/scribe.git", - "reference": "7d1866bfccc96559b753466afdc1f70ed6c6125e" + "reference": "d4da86e57e49dac4694b200354cfa962bfae3168" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/knuckleswtf/scribe/zipball/7d1866bfccc96559b753466afdc1f70ed6c6125e", - "reference": "7d1866bfccc96559b753466afdc1f70ed6c6125e", + "url": "https://api.github.com/repos/knuckleswtf/scribe/zipball/d4da86e57e49dac4694b200354cfa962bfae3168", + "reference": "d4da86e57e49dac4694b200354cfa962bfae3168", "shasum": "" }, "require": { - "erusev/parsedown": "1.7.4", "ext-fileinfo": "*", - "ext-json": "*", "ext-pdo": "*", "fakerphp/faker": "^1.23.1", - "laravel/framework": "^9.0|^10.0|^11.0|^12.0", + "laravel/framework": "^9.21 || ^10.0 || ^11.0 || ^12.0 || ^13.0", "league/flysystem": "^3.0", "mpociot/reflection-docblock": "^1.0.1", "nikic/php-parser": "^5.0", - "nunomaduro/collision": "^6.0|^7.0|^8.0", + "nunomaduro/collision": "^6.0 || ^7.0 || ^8.0", + "parsedown/parsedown": "^1.7", "php": ">=8.1", "ramsey/uuid": "^4.2.2", - "shalvah/clara": "^3.1.0", - "shalvah/upgrader": ">=0.6.0", - "spatie/data-transfer-object": "^2.6|^3.0", - "symfony/var-exporter": "^6.0|^7.0", - "symfony/yaml": "^6.0|^7.0" + "shalvah/upgrader": "^0.6.0", + "symfony/var-exporter": "^6.0 || ^7.0 || ^8.0", + "symfony/yaml": "^6.0 || ^7.0 || ^8.0" }, "replace": { "mpociot/laravel-apidoc-generator": "*" }, "require-dev": { - "dms/phpunit-arraysubset-asserts": "^v0.5.0", + "dms/phpunit-arraysubset-asserts": "^0.5.0", "laravel/legacy-factories": "^1.3.0", + "laravel/pint": "^1.20", "league/fractal": "^0.20", "nikic/fast-route": "^1.3", - "orchestra/testbench": "^7.0|^8.0|^v9.10.0|^10.0", - "pestphp/pest": "^1.21|^2.0|^3.0", + "orchestra/testbench": "^7.0 || ^8.0 || ^9.10 || ^10.0 || ^11.0", + "pestphp/pest": "^1.21 || ^2.0 || ^3.0 || ^4.0", "phpstan/phpstan": "^2.1.5", - "phpunit/phpunit": "^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0 || ^12.0", "spatie/ray": "^1.41", - "symfony/css-selector": "^6.0|^7.0", - "symfony/dom-crawler": "^6.0|^7.0" + "symfony/css-selector": "^6.0 || ^7.0 || ^8.0", + "symfony/dom-crawler": "^6.0 || ^7.0 || ^8.0" }, "type": "library", "extra": { @@ -12539,7 +13241,7 @@ } ], "description": "Generate API documentation for humans from your Laravel codebase.✍", - "homepage": "http://github.com/knuckleswtf/scribe", + "homepage": "https://github.com/knuckleswtf/scribe", "keywords": [ "api", "documentation", @@ -12547,7 +13249,7 @@ ], "support": { "issues": "https://github.com/knuckleswtf/scribe/issues", - "source": "https://github.com/knuckleswtf/scribe/tree/5.2.1" + "source": "https://github.com/knuckleswtf/scribe/tree/5.10.0" }, "funding": [ { @@ -12555,47 +13257,48 @@ "type": "patreon" } ], - "time": "2025-05-01T01:14:54+00:00" + "time": "2026-05-09T21:49:49+00:00" }, { "name": "larastan/larastan", - "version": "v2.11.2", + "version": "v3.10.0", "source": { "type": "git", "url": "https://github.com/larastan/larastan.git", - "reference": "1aae902a5851c03dc1a58cbd9010a0c3ef8def63" + "reference": "2970f83398154178a739609c244577267c7ee8eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/larastan/larastan/zipball/1aae902a5851c03dc1a58cbd9010a0c3ef8def63", - "reference": "1aae902a5851c03dc1a58cbd9010a0c3ef8def63", + "url": "https://api.github.com/repos/larastan/larastan/zipball/2970f83398154178a739609c244577267c7ee8eb", + "reference": "2970f83398154178a739609c244577267c7ee8eb", "shasum": "" }, "require": { "ext-json": "*", - "iamcal/sql-parser": "^0.5.0", - "illuminate/console": "^9.52.20 || ^10.48.28 || ^11.41.3", - "illuminate/container": "^9.52.20 || ^10.48.28 || ^11.41.3", - "illuminate/contracts": "^9.52.20 || ^10.48.28 || ^11.41.3", - "illuminate/database": "^9.52.20 || ^10.48.28 || ^11.41.3", - "illuminate/http": "^9.52.20 || ^10.48.28 || ^11.41.3", - "illuminate/pipeline": "^9.52.20 || ^10.48.28 || ^11.41.3", - "illuminate/support": "^9.52.20 || ^10.48.28 || ^11.41.3", - "php": "^8.0.2", - "phpstan/phpstan": "^1.12.17" - }, - "require-dev": { - "doctrine/coding-standard": "^13", - "laravel/framework": "^9.52.20 || ^10.48.28 || ^11.41.3", - "mockery/mockery": "^1.5.1", - "nikic/php-parser": "^4.19.1", - "orchestra/canvas": "^7.11.1 || ^8.11.0 || ^9.0.2", - "orchestra/testbench-core": "^7.33.0 || ^8.13.0 || ^9.0.9", - "phpstan/phpstan-deprecation-rules": "^1.2", - "phpunit/phpunit": "^9.6.13 || ^10.5.16" + "iamcal/sql-parser": "^0.7.0", + "illuminate/console": "^11.44.2 || ^12.4.1 || ^13", + "illuminate/container": "^11.44.2 || ^12.4.1 || ^13", + "illuminate/contracts": "^11.44.2 || ^12.4.1 || ^13", + "illuminate/database": "^11.44.2 || ^12.4.1 || ^13", + "illuminate/http": "^11.44.2 || ^12.4.1 || ^13", + "illuminate/pipeline": "^11.44.2 || ^12.4.1 || ^13", + "illuminate/support": "^11.44.2 || ^12.4.1 || ^13", + "php": "^8.2", + "phpstan/phpstan": "^2.2.0" + }, + "require-dev": { + "doctrine/coding-standard": "^14", + "laravel/framework": "^11.44.2 || ^12.7.2 || ^13", + "mockery/mockery": "^1.6.12", + "nikic/php-parser": "^5.4", + "orchestra/canvas": "^v9.2.2 || ^10.0.1 || ^11", + "orchestra/testbench-core": "^9.12.0 || ^10.1 || ^11", + "phpstan/phpstan-deprecation-rules": "^2.0.1", + "phpunit/phpunit": "^10.5.35 || ^11.5.15 || ^12.5.8 || ^13.1.8" }, "suggest": { - "orchestra/testbench": "Using Larastan for analysing a package needs Testbench" + "orchestra/testbench": "Using Larastan for analysing a package needs Testbench", + "phpmyadmin/sql-parser": "Install to enable Larastan's optional phpMyAdmin-based SQL parser automatically" }, "type": "phpstan-extension", "extra": { @@ -12605,7 +13308,7 @@ ] }, "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -12636,7 +13339,7 @@ ], "support": { "issues": "https://github.com/larastan/larastan/issues", - "source": "https://github.com/larastan/larastan/tree/v2.11.2" + "source": "https://github.com/larastan/larastan/tree/v3.10.0" }, "funding": [ { @@ -12644,20 +13347,20 @@ "type": "github" } ], - "time": "2025-06-10T22:06:33+00:00" + "time": "2026-05-28T08:00:58+00:00" }, { "name": "laravel/pint", - "version": "v1.24.0", + "version": "v1.29.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "0345f3b05f136801af8c339f9d16ef29e6b4df8a" + "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/0345f3b05f136801af8c339f9d16ef29e6b4df8a", - "reference": "0345f3b05f136801af8c339f9d16ef29e6b4df8a", + "url": "https://api.github.com/repos/laravel/pint/zipball/0770e9b7fafd50d4586881d456d6eb41c9247a80", + "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80", "shasum": "" }, "require": { @@ -12668,22 +13371,20 @@ "php": "^8.2.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.82.2", - "illuminate/view": "^11.45.1", - "larastan/larastan": "^3.5.0", - "laravel-zero/framework": "^11.45.0", + "friendsofphp/php-cs-fixer": "^3.95.1", + "illuminate/view": "^12.56.0", + "larastan/larastan": "^3.9.6", + "laravel-zero/framework": "^12.1.0", "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^2.3.1", - "pestphp/pest": "^2.36.0" + "nunomaduro/termwind": "^2.4.0", + "pestphp/pest": "^3.8.6", + "shipfastlabs/agent-detector": "^1.1.3" }, "bin": [ "builds/pint" ], "type": "project", "autoload": { - "files": [ - "overrides/Runner/Parallel/ProcessFactory.php" - ], "psr-4": { "App\\": "app/", "Database\\Seeders\\": "database/seeders/", @@ -12703,6 +13404,7 @@ "description": "An opinionated code formatter for PHP.", "homepage": "https://laravel.com", "keywords": [ + "dev", "format", "formatter", "lint", @@ -12713,36 +13415,36 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2025-07-10T18:09:32+00:00" + "time": "2026-04-20T15:26:14+00:00" }, { "name": "laravel/telescope", - "version": "v5.10.0", + "version": "v5.20.0", "source": { "type": "git", "url": "https://github.com/laravel/telescope.git", - "reference": "fc0a8662682c0375b534033873debb780c003486" + "reference": "38ec6e6006a67e05e0c476c5f8ef3550b72e43d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/telescope/zipball/fc0a8662682c0375b534033873debb780c003486", - "reference": "fc0a8662682c0375b534033873debb780c003486", + "url": "https://api.github.com/repos/laravel/telescope/zipball/38ec6e6006a67e05e0c476c5f8ef3550b72e43d8", + "reference": "38ec6e6006a67e05e0c476c5f8ef3550b72e43d8", "shasum": "" }, "require": { "ext-json": "*", - "laravel/framework": "^8.37|^9.0|^10.0|^11.0|^12.0", + "laravel/framework": "^8.37|^9.0|^10.0|^11.0|^12.0|^13.0", + "laravel/sentinel": "^1.0", "php": "^8.0", - "symfony/console": "^5.3|^6.0|^7.0", - "symfony/var-dumper": "^5.0|^6.0|^7.0" + "symfony/console": "^5.3|^6.0|^7.0|^8.0", + "symfony/var-dumper": "^5.0|^6.0|^7.0|^8.0" }, "require-dev": { "ext-gd": "*", "guzzlehttp/guzzle": "^6.0|^7.0", - "laravel/octane": "^1.4|^2.0|dev-develop", - "orchestra/testbench": "^6.40|^7.37|^8.17|^9.0|^10.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.0|^10.5|^11.5" + "laravel/octane": "^1.4|^2.0", + "orchestra/testbench": "^6.47.1|^7.55|^8.36|^9.15|^10.8|^11.0", + "phpstan/phpstan": "^1.10" }, "type": "library", "extra": { @@ -12780,22 +13482,22 @@ ], "support": { "issues": "https://github.com/laravel/telescope/issues", - "source": "https://github.com/laravel/telescope/tree/v5.10.0" + "source": "https://github.com/laravel/telescope/tree/v5.20.0" }, - "time": "2025-07-07T14:47:19+00:00" + "time": "2026-04-06T12:52:26+00:00" }, { "name": "laravel/tinker", - "version": "v2.10.1", + "version": "v2.11.1", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "22177cc71807d38f2810c6204d8f7183d88a57d3" + "reference": "c9f80cc835649b5c1842898fb043f8cc098dd741" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/22177cc71807d38f2810c6204d8f7183d88a57d3", - "reference": "22177cc71807d38f2810c6204d8f7183d88a57d3", + "url": "https://api.github.com/repos/laravel/tinker/zipball/c9f80cc835649b5c1842898fb043f8cc098dd741", + "reference": "c9f80cc835649b5c1842898fb043f8cc098dd741", "shasum": "" }, "require": { @@ -12804,7 +13506,7 @@ "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", "php": "^7.2.5|^8.0", "psy/psysh": "^0.11.1|^0.12.0", - "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0|^8.0" }, "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", @@ -12846,35 +13548,35 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.10.1" + "source": "https://github.com/laravel/tinker/tree/v2.11.1" }, - "time": "2025-01-27T14:24:01+00:00" + "time": "2026-02-06T14:12:35+00:00" }, { "name": "laravel/ui", - "version": "v4.6.1", + "version": "v4.6.3", "source": { "type": "git", "url": "https://github.com/laravel/ui.git", - "reference": "7d6ffa38d79f19c9b3e70a751a9af845e8f41d88" + "reference": "ff27db15416c1ed8ad9848f5692e47595dd5de27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/ui/zipball/7d6ffa38d79f19c9b3e70a751a9af845e8f41d88", - "reference": "7d6ffa38d79f19c9b3e70a751a9af845e8f41d88", + "url": "https://api.github.com/repos/laravel/ui/zipball/ff27db15416c1ed8ad9848f5692e47595dd5de27", + "reference": "ff27db15416c1ed8ad9848f5692e47595dd5de27", "shasum": "" }, "require": { - "illuminate/console": "^9.21|^10.0|^11.0|^12.0", - "illuminate/filesystem": "^9.21|^10.0|^11.0|^12.0", - "illuminate/support": "^9.21|^10.0|^11.0|^12.0", - "illuminate/validation": "^9.21|^10.0|^11.0|^12.0", + "illuminate/console": "^9.21|^10.0|^11.0|^12.0|^13.0", + "illuminate/filesystem": "^9.21|^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^9.21|^10.0|^11.0|^12.0|^13.0", + "illuminate/validation": "^9.21|^10.0|^11.0|^12.0|^13.0", "php": "^8.0", - "symfony/console": "^6.0|^7.0" + "symfony/console": "^6.0|^7.0|^8.0" }, "require-dev": { - "orchestra/testbench": "^7.35|^8.15|^9.0|^10.0", - "phpunit/phpunit": "^9.3|^10.4|^11.5" + "orchestra/testbench": "^7.35|^8.15|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.3|^10.4|^11.5|^12.5|^13.0" }, "type": "library", "extra": { @@ -12909,9 +13611,9 @@ "ui" ], "support": { - "source": "https://github.com/laravel/ui/tree/v4.6.1" + "source": "https://github.com/laravel/ui/tree/v4.6.3" }, - "time": "2025-01-28T15:15:29+00:00" + "time": "2026-03-17T13:41:52+00:00" }, { "name": "mockery/mockery", @@ -13051,16 +13753,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.13.3", + "version": "1.13.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "faed855a7b5f4d4637717c2b3863e277116beb36" + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/faed855a7b5f4d4637717c2b3863e277116beb36", - "reference": "faed855a7b5f4d4637717c2b3863e277116beb36", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { @@ -13099,7 +13801,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.13.3" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { @@ -13107,42 +13809,40 @@ "type": "tidelift" } ], - "time": "2025-07-05T12:25:42+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { "name": "nunomaduro/collision", - "version": "v8.5.0", + "version": "v8.9.4", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "f5c101b929c958e849a633283adff296ed5f38f5" + "reference": "716af8f95a470e9094cfca09ed897b023be191a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f5c101b929c958e849a633283adff296ed5f38f5", - "reference": "f5c101b929c958e849a633283adff296ed5f38f5", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/716af8f95a470e9094cfca09ed897b023be191a5", + "reference": "716af8f95a470e9094cfca09ed897b023be191a5", "shasum": "" }, "require": { - "filp/whoops": "^2.16.0", - "nunomaduro/termwind": "^2.1.0", + "filp/whoops": "^2.18.4", + "nunomaduro/termwind": "^2.4.0", "php": "^8.2.0", - "symfony/console": "^7.1.5" + "symfony/console": "^7.4.8 || ^8.0.8" }, "conflict": { - "laravel/framework": "<11.0.0 || >=12.0.0", - "phpunit/phpunit": "<10.5.1 || >=12.0.0" + "laravel/framework": "<11.48.0 || >=14.0.0", + "phpunit/phpunit": "<11.5.50 || >=14.0.0" }, "require-dev": { - "larastan/larastan": "^2.9.8", - "laravel/framework": "^11.28.0", - "laravel/pint": "^1.18.1", - "laravel/sail": "^1.36.0", - "laravel/sanctum": "^4.0.3", - "laravel/tinker": "^2.10.0", - "orchestra/testbench-core": "^9.5.3", - "pestphp/pest": "^2.36.0 || ^3.4.0", - "sebastian/environment": "^6.1.0 || ^7.2.0" + "brianium/paratest": "^7.8.5", + "larastan/larastan": "^3.9.6", + "laravel/framework": "^11.48.0 || ^12.56.0 || ^13.5.0", + "laravel/pint": "^1.29.1", + "orchestra/testbench-core": "^9.12.0 || ^10.12.1 || ^11.2.1", + "pestphp/pest": "^3.8.5 || ^4.4.3 || ^5.0.0", + "sebastian/environment": "^7.2.1 || ^8.0.4 || ^9.3.0" }, "type": "library", "extra": { @@ -13179,6 +13879,7 @@ "cli", "command-line", "console", + "dev", "error", "handling", "laravel", @@ -13204,7 +13905,57 @@ "type": "patreon" } ], - "time": "2024-10-15T16:06:32+00:00" + "time": "2026-04-21T14:04:20+00:00" + }, + { + "name": "parsedown/parsedown", + "version": "1.8.0", + "source": { + "type": "git", + "url": "https://github.com/parsedown/parsedown.git", + "reference": "96baaad00f71ba04d76e45b4620f54d3beabd6f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/parsedown/parsedown/zipball/96baaad00f71ba04d76e45b4620f54d3beabd6f7", + "reference": "96baaad00f71ba04d76e45b4620f54d3beabd6f7", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.5|^8.5|^9.6" + }, + "type": "library", + "autoload": { + "psr-0": { + "Parsedown": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "description": "Parser for Markdown.", + "homepage": "http://parsedown.org", + "keywords": [ + "markdown", + "parser" + ], + "support": { + "issues": "https://github.com/parsedown/parsedown/issues", + "source": "https://github.com/parsedown/parsedown/tree/1.8.0" + }, + "time": "2026-02-16T11:41:01+00:00" }, { "name": "phar-io/manifest", @@ -13326,28 +14077,32 @@ }, { "name": "php-debugbar/php-debugbar", - "version": "v2.1.6", + "version": "v2.2.6", "source": { "type": "git", "url": "https://github.com/php-debugbar/php-debugbar.git", - "reference": "16fa68da5617220594aa5e33fa9de415f94784a0" + "reference": "abb9fa3c5c8dbe7efe03ddba56782917481de3e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-debugbar/php-debugbar/zipball/16fa68da5617220594aa5e33fa9de415f94784a0", - "reference": "16fa68da5617220594aa5e33fa9de415f94784a0", + "url": "https://api.github.com/repos/php-debugbar/php-debugbar/zipball/abb9fa3c5c8dbe7efe03ddba56782917481de3e8", + "reference": "abb9fa3c5c8dbe7efe03ddba56782917481de3e8", "shasum": "" }, "require": { - "php": "^8", + "php": "^8.1", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^4|^5|^6|^7" + "symfony/var-dumper": "^5.4|^6.4|^7.3|^8.0" + }, + "replace": { + "maximebf/debugbar": "self.version" }, "require-dev": { "dbrekelmans/bdi": "^1", - "phpunit/phpunit": "^8|^9", + "phpunit/phpunit": "^10", + "symfony/browser-kit": "^6.0|7.0", "symfony/panther": "^1|^2.1", - "twig/twig": "^1.38|^2.7|^3.0" + "twig/twig": "^3.11.2" }, "suggest": { "kriswallsmith/assetic": "The best way to manage assets", @@ -13357,7 +14112,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.2-dev" } }, "autoload": { @@ -13390,26 +14145,21 @@ ], "support": { "issues": "https://github.com/php-debugbar/php-debugbar/issues", - "source": "https://github.com/php-debugbar/php-debugbar/tree/v2.1.6" + "source": "https://github.com/php-debugbar/php-debugbar/tree/v2.2.6" }, - "time": "2025-02-21T17:47:03+00:00" + "time": "2025-12-22T13:21:32+00:00" }, { "name": "phpstan/phpstan", - "version": "1.12.27", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "3a6e423c076ab39dfedc307e2ac627ef579db162" - }, + "version": "2.2.1", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3a6e423c076ab39dfedc307e2ac627ef579db162", - "reference": "3a6e423c076ab39dfedc307e2ac627ef579db162", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dea9c8f2d25cc849391042b71e429c1a4bf82660", + "reference": "dea9c8f2d25cc849391042b71e429c1a4bf82660", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -13428,6 +14178,17 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -13450,39 +14211,39 @@ "type": "github" } ], - "time": "2025-05-21T20:51:45+00:00" + "time": "2026-05-28T14:44:12+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "10.1.16", + "version": "11.0.12", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "7e308268858ed6baedc8704a304727d20bc07c77" + "reference": "2c1ed04922802c15e1de5d7447b4856de949cf56" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", - "reference": "7e308268858ed6baedc8704a304727d20bc07c77", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2c1ed04922802c15e1de5d7447b4856de949cf56", + "reference": "2c1ed04922802c15e1de5d7447b4856de949cf56", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.19.1 || ^5.1.0", - "php": ">=8.1", - "phpunit/php-file-iterator": "^4.1.0", - "phpunit/php-text-template": "^3.0.1", - "sebastian/code-unit-reverse-lookup": "^3.0.0", - "sebastian/complexity": "^3.2.0", - "sebastian/environment": "^6.1.0", - "sebastian/lines-of-code": "^2.0.2", - "sebastian/version": "^4.0.1", - "theseer/tokenizer": "^1.2.3" + "nikic/php-parser": "^5.7.0", + "php": ">=8.2", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-text-template": "^4.0.1", + "sebastian/code-unit-reverse-lookup": "^4.0.1", + "sebastian/complexity": "^4.0.1", + "sebastian/environment": "^7.2.1", + "sebastian/lines-of-code": "^3.0.1", + "sebastian/version": "^5.0.2", + "theseer/tokenizer": "^1.3.1" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^11.5.46" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -13491,7 +14252,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1.x-dev" + "dev-main": "11.0.x-dev" } }, "autoload": { @@ -13520,40 +14281,52 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.12" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/php-code-coverage", + "type": "tidelift" } ], - "time": "2024-08-22T04:31:57+00:00" + "time": "2025-12-24T07:01:01+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.1.0", + "version": "5.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + "reference": "2f3a64888c814fc235386b7387dd5b5ed92ad903" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/2f3a64888c814fc235386b7387dd5b5ed92ad903", + "reference": "2f3a64888c814fc235386b7387dd5b5ed92ad903", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -13581,36 +14354,48 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/5.1.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/php-file-iterator", + "type": "tidelift" } ], - "time": "2023-08-31T06:24:48+00:00" + "time": "2026-02-02T13:52:54+00:00" }, { "name": "phpunit/php-invoker", - "version": "4.0.0", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + "reference": "c1ca3814734c07492b3d4c5f794f4b0995333da2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/c1ca3814734c07492b3d4c5f794f4b0995333da2", + "reference": "c1ca3814734c07492b3d4c5f794f4b0995333da2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "suggest": { "ext-pcntl": "*" @@ -13618,7 +14403,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -13644,7 +14429,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + "security": "https://github.com/sebastianbergmann/php-invoker/security/policy", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/5.0.1" }, "funding": [ { @@ -13652,32 +14438,32 @@ "type": "github" } ], - "time": "2023-02-03T06:56:09+00:00" + "time": "2024-07-03T05:07:44+00:00" }, { "name": "phpunit/php-text-template", - "version": "3.0.1", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + "reference": "3e0404dc6b300e6bf56415467ebcb3fe4f33e964" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/3e0404dc6b300e6bf56415467ebcb3fe4f33e964", + "reference": "3e0404dc6b300e6bf56415467ebcb3fe4f33e964", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -13704,7 +14490,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/4.0.1" }, "funding": [ { @@ -13712,32 +14498,32 @@ "type": "github" } ], - "time": "2023-08-31T14:07:24+00:00" + "time": "2024-07-03T05:08:43+00:00" }, { "name": "phpunit/php-timer", - "version": "6.0.0", + "version": "7.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + "reference": "3b415def83fbcb41f991d9ebf16ae4ad8b7837b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3b415def83fbcb41f991d9ebf16ae4ad8b7837b3", + "reference": "3b415def83fbcb41f991d9ebf16ae4ad8b7837b3", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "7.0-dev" } }, "autoload": { @@ -13763,7 +14549,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + "security": "https://github.com/sebastianbergmann/php-timer/security/policy", + "source": "https://github.com/sebastianbergmann/php-timer/tree/7.0.1" }, "funding": [ { @@ -13771,20 +14558,20 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2024-07-03T05:09:35+00:00" }, { "name": "phpunit/phpunit", - "version": "10.5.48", + "version": "11.5.55", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "6e0a2bc39f6fae7617989d690d76c48e6d2eb541" + "reference": "adc7262fccc12de2b30f12a8aa0b33775d814f00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6e0a2bc39f6fae7617989d690d76c48e6d2eb541", - "reference": "6e0a2bc39f6fae7617989d690d76c48e6d2eb541", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/adc7262fccc12de2b30f12a8aa0b33775d814f00", + "reference": "adc7262fccc12de2b30f12a8aa0b33775d814f00", "shasum": "" }, "require": { @@ -13794,26 +14581,27 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.13.3", + "myclabs/deep-copy": "^1.13.4", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", - "php": ">=8.1", - "phpunit/php-code-coverage": "^10.1.16", - "phpunit/php-file-iterator": "^4.1.0", - "phpunit/php-invoker": "^4.0.0", - "phpunit/php-text-template": "^3.0.1", - "phpunit/php-timer": "^6.0.0", - "sebastian/cli-parser": "^2.0.1", - "sebastian/code-unit": "^2.0.0", - "sebastian/comparator": "^5.0.3", - "sebastian/diff": "^5.1.1", - "sebastian/environment": "^6.1.0", - "sebastian/exporter": "^5.1.2", - "sebastian/global-state": "^6.0.2", - "sebastian/object-enumerator": "^5.0.0", - "sebastian/recursion-context": "^5.0.0", - "sebastian/type": "^4.0.0", - "sebastian/version": "^4.0.1" + "php": ">=8.2", + "phpunit/php-code-coverage": "^11.0.12", + "phpunit/php-file-iterator": "^5.1.1", + "phpunit/php-invoker": "^5.0.1", + "phpunit/php-text-template": "^4.0.1", + "phpunit/php-timer": "^7.0.1", + "sebastian/cli-parser": "^3.0.2", + "sebastian/code-unit": "^3.0.3", + "sebastian/comparator": "^6.3.3", + "sebastian/diff": "^6.0.2", + "sebastian/environment": "^7.2.1", + "sebastian/exporter": "^6.3.2", + "sebastian/global-state": "^7.0.2", + "sebastian/object-enumerator": "^6.0.1", + "sebastian/recursion-context": "^6.0.3", + "sebastian/type": "^5.1.3", + "sebastian/version": "^5.0.2", + "staabm/side-effects-detector": "^1.0.5" }, "suggest": { "ext-soap": "To be able to generate mocks based on WSDL files" @@ -13824,7 +14612,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.5-dev" + "dev-main": "11.5-dev" } }, "autoload": { @@ -13856,7 +14644,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.48" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.55" }, "funding": [ { @@ -13880,20 +14668,20 @@ "type": "tidelift" } ], - "time": "2025-07-11T04:07:17+00:00" + "time": "2026-02-18T12:37:06+00:00" }, { "name": "psy/psysh", - "version": "v0.12.9", + "version": "v0.12.23", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "1b801844becfe648985372cb4b12ad6840245ace" + "reference": "4dcc0f08047d52bbde475eda481146fd8e27e1a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/1b801844becfe648985372cb4b12ad6840245ace", - "reference": "1b801844becfe648985372cb4b12ad6840245ace", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4dcc0f08047d52bbde475eda481146fd8e27e1a4", + "reference": "4dcc0f08047d52bbde475eda481146fd8e27e1a4", "shasum": "" }, "require": { @@ -13901,18 +14689,19 @@ "ext-tokenizer": "*", "nikic/php-parser": "^5.0 || ^4.0", "php": "^8.0 || ^7.4", - "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", - "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" + "symfony/console": "^8.0 || ^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^8.0 || ^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" }, "conflict": { "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.2" + "bamarni/composer-bin-plugin": "^1.2", + "composer/class-map-generator": "^1.6" }, "suggest": { + "composer/class-map-generator": "Improved tab completion performance with better class discovery.", "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", - "ext-pdo-sqlite": "The doc command requires SQLite to work.", "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." }, "bin": [ @@ -13943,12 +14732,11 @@ "authors": [ { "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" + "email": "justin@justinhileman.info" } ], "description": "An interactive shell for modern PHP.", - "homepage": "http://psysh.org", + "homepage": "https://psysh.org", "keywords": [ "REPL", "console", @@ -13957,34 +14745,94 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.9" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.23" }, - "time": "2025-06-23T02:35:06+00:00" + "time": "2026-05-23T13:41:31+00:00" + }, + { + "name": "rector/rector", + "version": "2.4.5", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "cbd86024be5014d3c14d9f0b3f7aae8ecbffd62c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/cbd86024be5014d3c14d9f0b3f7aae8ecbffd62c", + "reference": "cbd86024be5014d3c14d9f0b3f7aae8ecbffd62c", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "phpstan/phpstan": "^2.1.56" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "suggest": { + "ext-dom": "To manipulate phpunit.xml via the custom-rule command" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "homepage": "https://getrector.com/", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/2.4.5" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2026-05-26T21:03:22+00:00" }, { "name": "sebastian/cli-parser", - "version": "2.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" + "reference": "15c5dd40dc4f38794d383bb95465193f5e0ae180" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", - "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/15c5dd40dc4f38794d383bb95465193f5e0ae180", + "reference": "15c5dd40dc4f38794d383bb95465193f5e0ae180", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -14008,7 +14856,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/3.0.2" }, "funding": [ { @@ -14016,32 +14864,32 @@ "type": "github" } ], - "time": "2024-03-02T07:12:49+00:00" + "time": "2024-07-03T04:41:36+00:00" }, { "name": "sebastian/code-unit", - "version": "2.0.0", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + "reference": "54391c61e4af8078e5b276ab082b6d3c54c9ad64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/54391c61e4af8078e5b276ab082b6d3c54c9ad64", + "reference": "54391c61e4af8078e5b276ab082b6d3c54c9ad64", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -14064,7 +14912,8 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" + "security": "https://github.com/sebastianbergmann/code-unit/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.3" }, "funding": [ { @@ -14072,32 +14921,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:43+00:00" + "time": "2025-03-19T07:56:08+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "3.0.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + "reference": "183a9b2632194febd219bb9246eee421dad8d45e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/183a9b2632194febd219bb9246eee421dad8d45e", + "reference": "183a9b2632194febd219bb9246eee421dad8d45e", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -14119,7 +14968,8 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" + "security": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/4.0.1" }, "funding": [ { @@ -14127,36 +14977,39 @@ "type": "github" } ], - "time": "2023-02-03T06:59:15+00:00" + "time": "2024-07-03T04:45:54+00:00" }, { "name": "sebastian/comparator", - "version": "5.0.3", + "version": "6.3.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e" + "reference": "2c95e1e86cb8dd41beb8d502057d1081ccc8eca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", - "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2c95e1e86cb8dd41beb8d502057d1081ccc8eca9", + "reference": "2c95e1e86cb8dd41beb8d502057d1081ccc8eca9", "shasum": "" }, "require": { "ext-dom": "*", "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/diff": "^5.0", - "sebastian/exporter": "^5.0" + "php": ">=8.2", + "sebastian/diff": "^6.0", + "sebastian/exporter": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^10.5" + "phpunit/phpunit": "^11.4" + }, + "suggest": { + "ext-bcmath": "For comparing BcMath\\Number objects" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "6.3-dev" } }, "autoload": { @@ -14196,41 +15049,53 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.3" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/comparator", + "type": "tidelift" } ], - "time": "2024-10-18T14:56:07+00:00" + "time": "2026-01-24T09:26:40+00:00" }, { "name": "sebastian/complexity", - "version": "3.2.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68ff824baeae169ec9f2137158ee529584553799" + "reference": "ee41d384ab1906c68852636b6de493846e13e5a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", - "reference": "68ff824baeae169ec9f2137158ee529584553799", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/ee41d384ab1906c68852636b6de493846e13e5a0", + "reference": "ee41d384ab1906c68852636b6de493846e13e5a0", "shasum": "" }, "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "nikic/php-parser": "^5.0", + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.2-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -14254,7 +15119,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/4.0.1" }, "funding": [ { @@ -14262,33 +15127,33 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2024-07-03T04:49:50+00:00" }, { "name": "sebastian/diff", - "version": "5.1.1", + "version": "6.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" + "reference": "b4ccd857127db5d41a5b676f24b51371d76d8544" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", - "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/b4ccd857127db5d41a5b676f24b51371d76d8544", + "reference": "b4ccd857127db5d41a5b676f24b51371d76d8544", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0", - "symfony/process": "^6.4" + "phpunit/phpunit": "^11.0", + "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -14321,7 +15186,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" + "source": "https://github.com/sebastianbergmann/diff/tree/6.0.2" }, "funding": [ { @@ -14329,27 +15194,27 @@ "type": "github" } ], - "time": "2024-03-02T07:15:17+00:00" + "time": "2024-07-03T04:53:05+00:00" }, { "name": "sebastian/environment", - "version": "6.1.0", + "version": "7.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "8074dbcd93529b357029f5cc5058fd3e43666984" + "reference": "a5c75038693ad2e8d4b6c15ba2403532647830c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/8074dbcd93529b357029f5cc5058fd3e43666984", - "reference": "8074dbcd93529b357029f5cc5058fd3e43666984", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/a5c75038693ad2e8d4b6c15ba2403532647830c4", + "reference": "a5c75038693ad2e8d4b6c15ba2403532647830c4", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.3" }, "suggest": { "ext-posix": "*" @@ -14357,7 +15222,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.1-dev" + "dev-main": "7.2-dev" } }, "autoload": { @@ -14385,42 +15250,54 @@ "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/6.1.0" + "source": "https://github.com/sebastianbergmann/environment/tree/7.2.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/environment", + "type": "tidelift" } ], - "time": "2024-03-23T08:47:14+00:00" + "time": "2025-05-21T11:55:47+00:00" }, { "name": "sebastian/exporter", - "version": "5.1.2", + "version": "6.3.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf" + "reference": "70a298763b40b213ec087c51c739efcaa90bcd74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/70a298763b40b213ec087c51c739efcaa90bcd74", + "reference": "70a298763b40b213ec087c51c739efcaa90bcd74", "shasum": "" }, "require": { "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/recursion-context": "^5.0" + "php": ">=8.2", + "sebastian/recursion-context": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-main": "6.3-dev" } }, "autoload": { @@ -14463,43 +15340,55 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" + "source": "https://github.com/sebastianbergmann/exporter/tree/6.3.2" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/exporter", + "type": "tidelift" } ], - "time": "2024-03-02T07:17:12+00:00" + "time": "2025-09-24T06:12:51+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.2", + "version": "7.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" + "reference": "3be331570a721f9a4b5917f4209773de17f747d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", - "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/3be331570a721f9a4b5917f4209773de17f747d7", + "reference": "3be331570a721f9a4b5917f4209773de17f747d7", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "7.0-dev" } }, "autoload": { @@ -14525,7 +15414,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" + "source": "https://github.com/sebastianbergmann/global-state/tree/7.0.2" }, "funding": [ { @@ -14533,33 +15422,33 @@ "type": "github" } ], - "time": "2024-03-02T07:19:19+00:00" + "time": "2024-07-03T04:57:36+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.2", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + "reference": "d36ad0d782e5756913e42ad87cb2890f4ffe467a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/d36ad0d782e5756913e42ad87cb2890f4ffe467a", + "reference": "d36ad0d782e5756913e42ad87cb2890f4ffe467a", "shasum": "" }, "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "nikic/php-parser": "^5.0", + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -14583,7 +15472,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/3.0.1" }, "funding": [ { @@ -14591,34 +15480,34 @@ "type": "github" } ], - "time": "2023-12-21T08:38:20+00:00" + "time": "2024-07-03T04:58:38+00:00" }, { "name": "sebastian/object-enumerator", - "version": "5.0.0", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + "reference": "f5b498e631a74204185071eb41f33f38d64608aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f5b498e631a74204185071eb41f33f38d64608aa", + "reference": "f5b498e631a74204185071eb41f33f38d64608aa", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -14640,7 +15529,8 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/object-enumerator/security/policy", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/6.0.1" }, "funding": [ { @@ -14648,32 +15538,32 @@ "type": "github" } ], - "time": "2023-02-03T07:08:32+00:00" + "time": "2024-07-03T05:00:13+00:00" }, { "name": "sebastian/object-reflector", - "version": "3.0.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + "reference": "6e1a43b411b2ad34146dee7524cb13a068bb35f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/6e1a43b411b2ad34146dee7524cb13a068bb35f9", + "reference": "6e1a43b411b2ad34146dee7524cb13a068bb35f9", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -14695,7 +15585,8 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" + "security": "https://github.com/sebastianbergmann/object-reflector/security/policy", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/4.0.1" }, "funding": [ { @@ -14703,32 +15594,32 @@ "type": "github" } ], - "time": "2023-02-03T07:06:18+00:00" + "time": "2024-07-03T05:01:32+00:00" }, { "name": "sebastian/recursion-context", - "version": "5.0.0", + "version": "6.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + "reference": "f6458abbf32a6c8174f8f26261475dc133b3d9dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f6458abbf32a6c8174f8f26261475dc133b3d9dc", + "reference": "f6458abbf32a6c8174f8f26261475dc133b3d9dc", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -14758,40 +15649,53 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/6.0.3" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/recursion-context", + "type": "tidelift" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2025-08-13T04:42:22+00:00" }, { "name": "sebastian/type", - "version": "4.0.0", + "version": "5.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + "reference": "f77d2d4e78738c98d9a68d2596fe5e8fa380f449" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/f77d2d4e78738c98d9a68d2596fe5e8fa380f449", + "reference": "f77d2d4e78738c98d9a68d2596fe5e8fa380f449", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -14814,37 +15718,50 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + "security": "https://github.com/sebastianbergmann/type/security/policy", + "source": "https://github.com/sebastianbergmann/type/tree/5.1.3" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/type", + "type": "tidelift" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2025-08-09T06:55:48+00:00" }, { "name": "sebastian/version", - "version": "4.0.1", + "version": "5.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c687e3387b99f5b03b6caa64c74b63e2936ff874", + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -14867,7 +15784,8 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + "security": "https://github.com/sebastianbergmann/version/security/policy", + "source": "https://github.com/sebastianbergmann/version/tree/5.0.2" }, "funding": [ { @@ -14875,54 +15793,7 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" - }, - { - "name": "shalvah/clara", - "version": "3.2.0", - "source": { - "type": "git", - "url": "https://github.com/shalvah/clara.git", - "reference": "cdbb5737cbdd101756d97dd2279a979a1af7710b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/shalvah/clara/zipball/cdbb5737cbdd101756d97dd2279a979a1af7710b", - "reference": "cdbb5737cbdd101756d97dd2279a979a1af7710b", - "shasum": "" - }, - "require": { - "php": ">=7.4", - "symfony/console": "^4.0|^5.0|^6.0|^7.0" - }, - "require-dev": { - "eloquent/phony-phpunit": "^7.0", - "phpunit/phpunit": "^9.1" - }, - "type": "library", - "autoload": { - "files": [ - "helpers.php" - ], - "psr-4": { - "Shalvah\\Clara\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "🔊 Simple, pretty, testable console output for CLI apps.", - "keywords": [ - "cli", - "log", - "logging" - ], - "support": { - "issues": "https://github.com/shalvah/clara/issues", - "source": "https://github.com/shalvah/clara/tree/3.2.0" - }, - "time": "2024-02-27T20:30:59+00:00" + "time": "2024-10-09T05:16:32+00:00" }, { "name": "shalvah/upgrader", @@ -14984,16 +15855,16 @@ }, { "name": "spatie/backtrace", - "version": "1.7.4", + "version": "1.8.2", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "cd37a49fce7137359ac30ecc44ef3e16404cccbe" + "reference": "8ffe78be5ed355b5009e3dd989d183433e9a5adc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/cd37a49fce7137359ac30ecc44ef3e16404cccbe", - "reference": "cd37a49fce7137359ac30ecc44ef3e16404cccbe", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/8ffe78be5ed355b5009e3dd989d183433e9a5adc", + "reference": "8ffe78be5ed355b5009e3dd989d183433e9a5adc", "shasum": "" }, "require": { @@ -15004,7 +15875,7 @@ "laravel/serializable-closure": "^1.3 || ^2.0", "phpunit/phpunit": "^9.3 || ^11.4.3", "spatie/phpunit-snapshot-assertions": "^4.2 || ^5.1.6", - "symfony/var-dumper": "^5.1 || ^6.0 || ^7.0" + "symfony/var-dumper": "^5.1|^6.0|^7.0|^8.0" }, "type": "library", "autoload": { @@ -15031,7 +15902,8 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/backtrace/tree/1.7.4" + "issues": "https://github.com/spatie/backtrace/issues", + "source": "https://github.com/spatie/backtrace/tree/1.8.2" }, "funding": [ { @@ -15043,71 +15915,7 @@ "type": "other" } ], - "time": "2025-05-08T15:41:09+00:00" - }, - { - "name": "spatie/data-transfer-object", - "version": "3.9.1", - "source": { - "type": "git", - "url": "https://github.com/spatie/data-transfer-object.git", - "reference": "1df0906c4e9e3aebd6c0506fd82c8b7d5548c1c8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/spatie/data-transfer-object/zipball/1df0906c4e9e3aebd6c0506fd82c8b7d5548c1c8", - "reference": "1df0906c4e9e3aebd6c0506fd82c8b7d5548c1c8", - "shasum": "" - }, - "require": { - "php": "^8.0" - }, - "require-dev": { - "illuminate/collections": "^8.36", - "jetbrains/phpstorm-attributes": "^1.0", - "larapack/dd": "^1.1", - "phpunit/phpunit": "^9.5.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Spatie\\DataTransferObject\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Brent Roose", - "email": "brent@spatie.be", - "homepage": "https://spatie.be", - "role": "Developer" - } - ], - "description": "Data transfer objects with batteries included", - "homepage": "https://github.com/spatie/data-transfer-object", - "keywords": [ - "data-transfer-object", - "spatie" - ], - "support": { - "issues": "https://github.com/spatie/data-transfer-object/issues", - "source": "https://github.com/spatie/data-transfer-object/tree/3.9.1" - }, - "funding": [ - { - "url": "https://spatie.be/open-source/support-us", - "type": "custom" - }, - { - "url": "https://github.com/spatie", - "type": "github" - } - ], - "abandoned": "spatie/laravel-data", - "time": "2022-09-16T13:34:38+00:00" + "time": "2026-03-11T13:48:28+00:00" }, { "name": "spatie/error-solutions", @@ -15185,26 +15993,26 @@ }, { "name": "spatie/flare-client-php", - "version": "1.10.1", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/spatie/flare-client-php.git", - "reference": "bf1716eb98bd689451b071548ae9e70738dce62f" + "reference": "53f41b08a27cc039e1a8ed2be9a202e924f31bad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/bf1716eb98bd689451b071548ae9e70738dce62f", - "reference": "bf1716eb98bd689451b071548ae9e70738dce62f", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/53f41b08a27cc039e1a8ed2be9a202e924f31bad", + "reference": "53f41b08a27cc039e1a8ed2be9a202e924f31bad", "shasum": "" }, "require": { - "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", "php": "^8.0", "spatie/backtrace": "^1.6.1", - "symfony/http-foundation": "^5.2|^6.0|^7.0", - "symfony/mime": "^5.2|^6.0|^7.0", - "symfony/process": "^5.2|^6.0|^7.0", - "symfony/var-dumper": "^5.2|^6.0|^7.0" + "symfony/http-foundation": "^5.2|^6.0|^7.0|^8.0", + "symfony/mime": "^5.2|^6.0|^7.0|^8.0", + "symfony/process": "^5.2|^6.0|^7.0|^8.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0|^8.0" }, "require-dev": { "dms/phpunit-arraysubset-asserts": "^0.5.0", @@ -15242,7 +16050,7 @@ ], "support": { "issues": "https://github.com/spatie/flare-client-php/issues", - "source": "https://github.com/spatie/flare-client-php/tree/1.10.1" + "source": "https://github.com/spatie/flare-client-php/tree/1.11.1" }, "funding": [ { @@ -15250,41 +16058,44 @@ "type": "github" } ], - "time": "2025-02-14T13:42:06+00:00" + "time": "2026-05-15T09:31:32+00:00" }, { "name": "spatie/ignition", - "version": "1.15.1", + "version": "1.16.0", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "31f314153020aee5af3537e507fef892ffbf8c85" + "reference": "b59385bb7aa24dae81bcc15850ebecfda7b40838" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/31f314153020aee5af3537e507fef892ffbf8c85", - "reference": "31f314153020aee5af3537e507fef892ffbf8c85", + "url": "https://api.github.com/repos/spatie/ignition/zipball/b59385bb7aa24dae81bcc15850ebecfda7b40838", + "reference": "b59385bb7aa24dae81bcc15850ebecfda7b40838", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", "php": "^8.0", - "spatie/error-solutions": "^1.0", - "spatie/flare-client-php": "^1.7", - "symfony/console": "^5.4|^6.0|^7.0", - "symfony/var-dumper": "^5.4|^6.0|^7.0" + "spatie/backtrace": "^1.7.1", + "spatie/error-solutions": "^1.1.2", + "spatie/flare-client-php": "^1.9", + "symfony/console": "^5.4.42|^6.0|^7.0|^8.0", + "symfony/http-foundation": "^5.4.42|^6.0|^7.0|^8.0", + "symfony/mime": "^5.4.42|^6.0|^7.0|^8.0", + "symfony/var-dumper": "^5.4.42|^6.0|^7.0|^8.0" }, "require-dev": { - "illuminate/cache": "^9.52|^10.0|^11.0|^12.0", + "illuminate/cache": "^9.52|^10.0|^11.0|^12.0|^13.0", "mockery/mockery": "^1.4", - "pestphp/pest": "^1.20|^2.0", + "pestphp/pest": "^1.20|^2.0|^3.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "psr/simple-cache-implementation": "*", - "symfony/cache": "^5.4|^6.0|^7.0", - "symfony/process": "^5.4|^6.0|^7.0", + "symfony/cache": "^5.4.38|^6.0|^7.0|^8.0", + "symfony/process": "^5.4.35|^6.0|^7.0|^8.0", "vlucas/phpdotenv": "^5.5" }, "suggest": { @@ -15333,42 +16144,43 @@ "type": "github" } ], - "time": "2025-02-21T14:31:39+00:00" + "time": "2026-03-17T10:51:08+00:00" }, { "name": "spatie/laravel-ignition", - "version": "2.9.1", + "version": "2.12.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "1baee07216d6748ebd3a65ba97381b051838707a" + "reference": "45b3b6e1e73fc161cba2149972698644b99594ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/1baee07216d6748ebd3a65ba97381b051838707a", - "reference": "1baee07216d6748ebd3a65ba97381b051838707a", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/45b3b6e1e73fc161cba2149972698644b99594ee", + "reference": "45b3b6e1e73fc161cba2149972698644b99594ee", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "illuminate/support": "^10.0|^11.0|^12.0", - "php": "^8.1", - "spatie/ignition": "^1.15", - "symfony/console": "^6.2.3|^7.0", - "symfony/var-dumper": "^6.2.3|^7.0" + "illuminate/support": "^11.0|^12.0|^13.0", + "nesbot/carbon": "^2.72|^3.0", + "php": "^8.2", + "spatie/ignition": "^1.16", + "symfony/console": "^7.4|^8.0", + "symfony/var-dumper": "^7.4|^8.0" }, "require-dev": { - "livewire/livewire": "^2.11|^3.3.5", - "mockery/mockery": "^1.5.1", - "openai-php/client": "^0.8.1|^0.10", - "orchestra/testbench": "8.22.3|^9.0|^10.0", - "pestphp/pest": "^2.34|^3.7", - "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan-deprecation-rules": "^1.1.1|^2.0", - "phpstan/phpstan-phpunit": "^1.3.16|^2.0", - "vlucas/phpdotenv": "^5.5" + "livewire/livewire": "^3.7.0|^4.0|dev-josh/v3-laravel-13-support", + "mockery/mockery": "^1.6.12", + "openai-php/client": "^0.10.3|^0.19", + "orchestra/testbench": "^v9.16.0|^10.6|^11.0", + "pestphp/pest": "^3.7|^4.0", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan-deprecation-rules": "^2.0.3", + "phpstan/phpstan-phpunit": "^2.0.8", + "vlucas/phpdotenv": "^5.6.2" }, "suggest": { "openai-php/client": "Require get solutions from OpenAI", @@ -15424,20 +16236,72 @@ "type": "github" } ], - "time": "2025-02-20T13:13:55+00:00" + "time": "2026-03-17T12:20:04+00:00" + }, + { + "name": "staabm/side-effects-detector", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/staabm/side-effects-detector.git", + "reference": "d8334211a140ce329c13726d4a715adbddd0a163" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/staabm/side-effects-detector/zipball/d8334211a140ce329c13726d4a715adbddd0a163", + "reference": "d8334211a140ce329c13726d4a715adbddd0a163", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.6", + "phpunit/phpunit": "^9.6.21", + "symfony/var-dumper": "^5.4.43", + "tomasvotruba/type-coverage": "1.0.0", + "tomasvotruba/unused-public": "1.0.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "lib/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A static analysis tool to detect side effects in PHP code", + "keywords": [ + "static analysis" + ], + "support": { + "issues": "https://github.com/staabm/side-effects-detector/issues", + "source": "https://github.com/staabm/side-effects-detector/tree/1.0.5" + }, + "funding": [ + { + "url": "https://github.com/staabm", + "type": "github" + } + ], + "time": "2024-10-20T05:08:20+00:00" }, { "name": "symfony/var-exporter", - "version": "v7.3.0", + "version": "v7.4.9", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "c9a1168891b5aaadfd6332ef44393330b3498c4c" + "reference": "22e03a49c95ef054a43601cd159b222bfab1c701" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/c9a1168891b5aaadfd6332ef44393330b3498c4c", - "reference": "c9a1168891b5aaadfd6332ef44393330b3498c4c", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/22e03a49c95ef054a43601cd159b222bfab1c701", + "reference": "22e03a49c95ef054a43601cd159b222bfab1c701", "shasum": "" }, "require": { @@ -15445,9 +16309,9 @@ "symfony/deprecation-contracts": "^2.5|^3" }, "require-dev": { - "symfony/property-access": "^6.4|^7.0", - "symfony/serializer": "^6.4|^7.0", - "symfony/var-dumper": "^6.4|^7.0" + "symfony/property-access": "^6.4|^7.0|^8.0", + "symfony/serializer": "^6.4|^7.0|^8.0", + "symfony/var-dumper": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -15485,7 +16349,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v7.3.0" + "source": "https://github.com/symfony/var-exporter/tree/v7.4.9" }, "funding": [ { @@ -15496,37 +16360,41 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-05-15T09:04:05+00:00" + "time": "2026-04-18T13:18:21+00:00" }, { "name": "symfony/yaml", - "version": "v7.3.1", + "version": "v7.4.13", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "0c3555045a46ab3cd4cc5a69d161225195230edb" + "reference": "a7ec3b1156faf8815db7683ec7c1e7338e6f977c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/0c3555045a46ab3cd4cc5a69d161225195230edb", - "reference": "0c3555045a46ab3cd4cc5a69d161225195230edb", + "url": "https://api.github.com/repos/symfony/yaml/zipball/a7ec3b1156faf8815db7683ec7c1e7338e6f977c", + "reference": "a7ec3b1156faf8815db7683ec7c1e7338e6f977c", "shasum": "" }, "require": { "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "symfony/console": "<6.4" }, "require-dev": { - "symfony/console": "^6.4|^7.0" + "symfony/console": "^6.4|^7.0|^8.0" }, "bin": [ "Resources/bin/yaml-lint" @@ -15557,7 +16425,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.3.1" + "source": "https://github.com/symfony/yaml/tree/v7.4.13" }, "funding": [ { @@ -15568,25 +16436,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-03T06:57:57+00:00" + "time": "2026-05-25T06:06:12+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.3", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", - "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b7489ce515e168639d17feec34b8847c326b0b3c", + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c", "shasum": "" }, "require": { @@ -15615,7 +16487,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.3" + "source": "https://github.com/theseer/tokenizer/tree/1.3.1" }, "funding": [ { @@ -15623,7 +16495,7 @@ "type": "github" } ], - "time": "2024-03-03T12:36:25+00:00" + "time": "2025-11-17T20:03:58+00:00" } ], "aliases": [], @@ -15635,7 +16507,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.1", + "php": "^8.3", "ext-json": "*", "ext-simplexml": "*", "ext-zip": "*" diff --git a/config/activitylog.php b/config/activitylog.php new file mode 100644 index 00000000..4fd344c3 --- /dev/null +++ b/config/activitylog.php @@ -0,0 +1,54 @@ + env('ACTIVITY_LOGGER_ENABLED', true), + + /* + * When the clean-command is executed, all recording activities older than + * the number of days specified here will be deleted. + */ + 'delete_records_older_than_days' => 365, + + /* + * If no log name is passed to the activity() helper + * we use this default log name. + */ + 'default_log_name' => 'default', + + /* + * You can specify an auth driver here that gets user models. + * If this is null we'll use the current Laravel auth driver. + */ + 'default_auth_driver' => null, + + /* + * If set to true, the subject returns soft deleted models. + */ + 'subject_returns_soft_deleted_models' => false, + + /* + * This model will be used to log activity. + * It should implement the Spatie\Activitylog\Contracts\Activity interface + * and extend Illuminate\Database\Eloquent\Model. + */ + 'activity_model' => Activity::class, + + /* + * This is the name of the table that will be created by the migration and + * used by the Activity model shipped with this package. + */ + 'table_name' => env('ACTIVITY_LOGGER_TABLE_NAME', 'activity_log'), + + /* + * This is the database connection that will be used by the migration and + * the Activity model shipped with this package. In case it's not set + * Laravel's database.default will be used instead. + */ + 'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION'), +]; diff --git a/config/app.php b/config/app.php index fb179c33..da117340 100755 --- a/config/app.php +++ b/config/app.php @@ -1,5 +1,70 @@ [ 'App' => Illuminate\Support\Facades\App::class, - 'Arr' => Illuminate\Support\Arr::class, - 'Artisan' => Illuminate\Support\Facades\Artisan::class, - 'Auth' => Illuminate\Support\Facades\Auth::class, - 'Blade' => Illuminate\Support\Facades\Blade::class, - 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, - 'Bus' => Illuminate\Support\Facades\Bus::class, - 'Cache' => Illuminate\Support\Facades\Cache::class, - 'Config' => Illuminate\Support\Facades\Config::class, - 'Cookie' => Illuminate\Support\Facades\Cookie::class, - 'Crypt' => Illuminate\Support\Facades\Crypt::class, - 'DB' => Illuminate\Support\Facades\DB::class, - 'Eloquent' => Illuminate\Database\Eloquent\Model::class, - 'Event' => Illuminate\Support\Facades\Event::class, - 'File' => Illuminate\Support\Facades\File::class, - 'Gate' => Illuminate\Support\Facades\Gate::class, - 'Hash' => Illuminate\Support\Facades\Hash::class, - 'Http' => Illuminate\Support\Facades\Http::class, - 'Lang' => Illuminate\Support\Facades\Lang::class, - 'Log' => Illuminate\Support\Facades\Log::class, - 'Mail' => Illuminate\Support\Facades\Mail::class, - 'Notification' => Illuminate\Support\Facades\Notification::class, - 'Password' => Illuminate\Support\Facades\Password::class, - 'Queue' => Illuminate\Support\Facades\Queue::class, - 'Redirect' => Illuminate\Support\Facades\Redirect::class, - 'RedisManager' => Illuminate\Support\Facades\Redis::class, - 'Request' => Illuminate\Support\Facades\Request::class, - 'Response' => Illuminate\Support\Facades\Response::class, - 'Route' => Illuminate\Support\Facades\Route::class, - 'Schema' => Illuminate\Support\Facades\Schema::class, - 'Session' => Illuminate\Support\Facades\Session::class, - 'Storage' => Illuminate\Support\Facades\Storage::class, - 'Str' => Illuminate\Support\Str::class, - 'URL' => Illuminate\Support\Facades\URL::class, - 'Validator' => Illuminate\Support\Facades\Validator::class, - 'View' => Illuminate\Support\Facades\View::class, + 'Arr' => Arr::class, + 'Artisan' => Artisan::class, + 'Auth' => Auth::class, + 'Blade' => Blade::class, + 'Broadcast' => Broadcast::class, + 'Bus' => Bus::class, + 'Cache' => Cache::class, + 'Config' => Config::class, + 'Cookie' => Cookie::class, + 'Crypt' => Crypt::class, + 'DB' => DB::class, + 'Eloquent' => Model::class, + 'Event' => Event::class, + 'File' => File::class, + 'Gate' => Gate::class, + 'Hash' => Hash::class, + 'Http' => Http::class, + 'Lang' => Lang::class, + 'Log' => Log::class, + 'Mail' => Mail::class, + 'Notification' => Notification::class, + 'Password' => Password::class, + 'Queue' => Queue::class, + 'Redirect' => Redirect::class, + 'RedisManager' => Redis::class, + 'Request' => Request::class, + 'Response' => Response::class, + 'Route' => Route::class, + 'Schema' => Schema::class, + 'Session' => Session::class, + 'Storage' => Storage::class, + 'Str' => Str::class, + 'URL' => URL::class, + 'Validator' => Validator::class, + 'View' => View::class, ], diff --git a/config/auth.php b/config/auth.php index 087bbb3e..2366022e 100755 --- a/config/auth.php +++ b/config/auth.php @@ -1,5 +1,7 @@ [ 'users' => [ 'driver' => 'eloquent', - 'model' => App\Models\User::class, + 'model' => User::class, ], // 'users' => [ diff --git a/config/filament-activity-log.php b/config/filament-activity-log.php new file mode 100644 index 00000000..4fdd45e8 --- /dev/null +++ b/config/filament-activity-log.php @@ -0,0 +1,284 @@ + [ + 'class' => ActivityLogResource::class, + 'group' => null, + 'sort' => null, + 'default_sort_column' => 'created_at', + 'default_sort_direction' => 'desc', + 'navigation_count_badge' => false, + 'navigation_icon' => 'heroicon-o-rectangle-stack', + 'global_search' => [ + 'enabled' => true, + 'attributes' => ['log_name', 'description', 'subject_type', 'event'], + ], + 'pagination' => [ + 'options' => [10, 25, 50, 100], + 'default' => 50, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Activity Log Icons & Colors + |-------------------------------------------------------------------------- + | + | Define the icons and colors for different activity events. + | You can add custom events here as well. + | + */ + 'events' => [ + 'created' => [ + 'icon' => 'heroicon-m-plus', + 'color' => 'success', + ], + 'updated' => [ + 'icon' => 'heroicon-m-pencil', + 'color' => 'warning', + ], + 'deleted' => [ + 'icon' => 'heroicon-m-trash', + 'color' => 'danger', + ], + 'restored' => [ + 'icon' => 'heroicon-m-arrow-uturn-left', + 'color' => 'gray', + ], + ], + + /* + |-------------------------------------------------------------------------- + | DateTime Format + |-------------------------------------------------------------------------- + | + | The format used for displaying dates in the timeline and table. + | + */ + 'datetime_format' => 'M d, Y H:i:s', + + /* + |-------------------------------------------------------------------------- + | Table Settings + |-------------------------------------------------------------------------- + | + | Configuration for the activity log table. + | + */ + 'table' => [ + 'columns' => [ + 'log_name' => [ + 'visible' => true, + 'searchable' => true, + 'sortable' => true, + ], + 'event' => [ + 'visible' => true, + 'searchable' => true, + 'sortable' => true, + ], + 'subject_type' => [ + 'visible' => true, + 'searchable' => true, + 'sortable' => true, + ], + 'subject_id' => [ + 'visible' => true, + 'searchable' => true, + 'sortable' => true, + ], + 'causer' => [ + 'visible' => true, + 'searchable' => true, + 'sortable' => true, + ], + 'description' => [ + 'visible' => true, + 'searchable' => true, + 'limit' => 50, + ], + 'created_at' => [ + 'visible' => true, + 'searchable' => true, + 'sortable' => true, + ], + 'ip_address' => [ + 'visible' => true, + 'searchable' => true, + ], + 'user_agent' => [ + 'visible' => true, + 'searchable' => true, + ], + ], + 'filters' => [ + 'log_name' => true, + 'event' => true, + 'created_at' => true, + 'causer' => true, + 'subject_type' => true, + 'subject_id' => true, + ], + 'actions' => [ + 'timeline' => true, + 'view' => true, + 'revert' => true, + 'restore' => true, + 'delete' => true, + 'export' => true, + ], + 'bulk_actions' => [ + 'delete' => true, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Infolist Settings + |-------------------------------------------------------------------------- + | + | Configuration for the activity log infolist. + | + */ + 'infolist' => [ + 'tabs' => [ + 'overview' => true, + 'changes' => true, + 'raw_data' => true, + ], + 'entries' => [ + 'log_name' => true, + 'event' => true, + 'created_at' => true, + 'causer' => true, + 'subject' => true, + 'description' => true, + 'properties_attributes' => true, + 'properties_old' => true, + 'properties_raw' => true, + 'ip_address' => true, + 'user_agent' => true, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Timeline Action + |-------------------------------------------------------------------------- + | + | Configuration for the timeline action. + | + */ + 'timeline' => [ + 'show_action' => true, + 'icon' => 'heroicon-m-clock', + ], + + /* + |-------------------------------------------------------------------------- + | Permissions Settings + |-------------------------------------------------------------------------- + | + | Configuration for the permissions. + | + | You can use 'custom_authorization' to define your own authorization logic. + | For example, to restrict access to only user ID 1: + | + | 'custom_authorization' => fn($user) => $user->id === 1, + | + | Or to allow super admins only: + | + | 'custom_authorization' => fn($user) => $user->hasRole('super_admin'), + | + | If 'custom_authorization' is set, it takes precedence over the 'enabled' + | and permission checks. + | + */ + 'permissions' => [ + 'enabled' => false, + + /** + * Custom invokable authorizer class for accessing the activity log. + * + * If set, this takes precedence over the 'enabled' setting and permission checks. + * This invokable receives the authenticated user and should return a boolean. + * + * Example: 'App\Support\ActivityLogAuthorization' (class with __invoke(User $user): bool) + */ + 'custom_authorization' => ActivityLogAuthorizer::class, + + 'view_any' => 'view_any_activity', + 'view' => 'view_activity', + 'create' => 'create_activity', + 'update' => 'update_activity', + 'delete' => 'delete_activity', + 'restore' => 'restore_activity', + 'force_delete' => 'force_delete_activity', + ], + + /* + |-------------------------------------------------------------------------- + | Pages Settings + |-------------------------------------------------------------------------- + | + | Configuration for pages provided by the plugin. + | + */ + 'pages' => [ + 'user_activities' => [ + 'enabled' => true, + 'class' => UserActivitiesPage::class, + 'navigation_label' => null, // null uses translation key + 'navigation_group' => null, // null uses resource group + 'navigation_sort' => 2, + 'polling_interval' => null, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Widgets Settings + |-------------------------------------------------------------------------- + | + | Configuration for dashboard widgets. + | + */ + 'widgets' => [ + 'enabled' => false, + ], + /* + |-------------------------------------------------------------------------- + | Advanced Settings (v1.3.0) + |-------------------------------------------------------------------------- + | + | Configuration for new features in v1.3.0. + | + */ + 'dashboard' => [ + 'enabled' => false, + 'title' => null, // null uses translation key + 'navigation_group' => null, // null uses resource group + 'navigation_sort' => 0, + 'navigation_icon' => 'heroicon-o-presentation-chart-bar', + ], + + 'auto_context' => [ + 'enabled' => true, + 'capture_ip' => true, + 'capture_browser' => true, + 'capture_batch' => true, + ], +]; diff --git a/config/health.php b/config/health.php index adf15f49..df71c170 100644 --- a/config/health.php +++ b/config/health.php @@ -1,5 +1,9 @@ [ - Spatie\Health\ResultStores\InMemoryHealthResultStore::class, + InMemoryHealthResultStore::class, ], /* @@ -19,14 +23,14 @@ 'enabled' => false, 'notifications' => [ - Spatie\Health\Notifications\CheckFailedNotification::class => ['mail'], + CheckFailedNotification::class => ['mail'], ], /* * Here you can specify the notifiable to which the notifications should be sent. The default * notifiable will use the variables specified in this config file. */ - 'notifiable' => Spatie\Health\Notifications\Notifiable::class, + 'notifiable' => Notifiable::class, /* * When checks start failing, you could potentially end up getting diff --git a/config/horizon.php b/config/horizon.php index bfde1653..f449739f 100755 --- a/config/horizon.php +++ b/config/horizon.php @@ -1,6 +1,7 @@ [ - \Spatie\ScheduleMonitor\Jobs\PingOhDearJob::class, + PingOhDearJob::class, ], /* diff --git a/config/log-viewer.php b/config/log-viewer.php index 7f871b25..a4e9b74d 100644 --- a/config/log-viewer.php +++ b/config/log-viewer.php @@ -1,6 +1,7 @@ [ 'web', 'auth', - \Opcodes\LogViewer\Http\Middleware\AuthorizeLogViewer::class, + AuthorizeLogViewer::class, ], /* @@ -86,8 +87,8 @@ 'api_middleware' => [ 'auth', - \Opcodes\LogViewer\Http\Middleware\EnsureFrontendRequestsAreStateful::class, - \Opcodes\LogViewer\Http\Middleware\AuthorizeLogViewer::class, + EnsureFrontendRequestsAreStateful::class, + AuthorizeLogViewer::class, ], /* diff --git a/config/responsecache.php b/config/responsecache.php index 4e9b402a..b5776caf 100755 --- a/config/responsecache.php +++ b/config/responsecache.php @@ -1,5 +1,10 @@ App\CacheProfiles\LocalizationProfile::class, + 'cache_profile' => LocalizationProfile::class, /* * When using the default CacheRequestFilter this setting controls the @@ -46,7 +51,7 @@ * Each replacer must implement the Replacer interface. */ 'replacers' => [ - \Spatie\ResponseCache\Replacers\CsrfTokenReplacer::class, + CsrfTokenReplacer::class, ], /* @@ -62,10 +67,10 @@ * This class is responsible for generating a hash for a request. This hash * is used to look up an cached response. */ - 'hasher' => \App\CacheHasher\HasherWithoutHost::class, + 'hasher' => HasherWithoutHost::class, /* * This class is responsible for serializing responses. */ - 'serializer' => \Spatie\ResponseCache\Serializers\DefaultSerializer::class, + 'serializer' => DefaultSerializer::class, ]; diff --git a/config/sanctum.php b/config/sanctum.php index 7f4024d3..f3713801 100644 --- a/config/sanctum.php +++ b/config/sanctum.php @@ -1,5 +1,7 @@ [ - 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, - 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, + 'verify_csrf_token' => VerifyCsrfToken::class, + 'encrypt_cookies' => EncryptCookies::class, ], ]; diff --git a/config/scribe.php b/config/scribe.php index 4a45ad9f..065fe857 100644 --- a/config/scribe.php +++ b/config/scribe.php @@ -1,6 +1,8 @@ [ - ...Knuckles\Scribe\Config\Defaults::HEADERS_STRATEGIES, + ...Defaults::HEADERS_STRATEGIES, ], 'bodyParameters' => [ Strategies\BodyParameters\GetFromFormRequest::class, @@ -363,7 +365,7 @@ * [Advanced] Custom implementation of RouteMatcherInterface to customise how routes are matched * */ - 'routeMatcher' => \Knuckles\Scribe\Matching\RouteMatcher::class, + 'routeMatcher' => RouteMatcher::class, /** * For response calls, API resource responses and transformer responses, diff --git a/config/services.php b/config/services.php index 74bde498..fd53d61a 100755 --- a/config/services.php +++ b/config/services.php @@ -1,5 +1,7 @@ [ - 'model' => App\Models\User::class, + 'model' => User::class, 'key' => env('STRIPE_KEY'), 'secret' => env('STRIPE_SECRET'), 'webhook' => [ diff --git a/config/webpush.php b/config/webpush.php index bef3e665..8c579c01 100644 --- a/config/webpush.php +++ b/config/webpush.php @@ -1,5 +1,7 @@ \NotificationChannels\WebPush\PushSubscription::class, + 'model' => PushSubscription::class, /** * This is the name of the table that will be created by the migration and diff --git a/database/migrations/2025_07_23_091012_create_activity_log_table.php b/database/migrations/2025_07_23_091012_create_activity_log_table.php index 7c05bc89..b788f65e 100644 --- a/database/migrations/2025_07_23_091012_create_activity_log_table.php +++ b/database/migrations/2025_07_23_091012_create_activity_log_table.php @@ -1,8 +1,8 @@ id(); + $table->string('agency_id'); + $table->string('carriage_id'); + $table->string('vehicle_id'); + $table->string('label')->nullable(); + $table->unsignedTinyInteger('occupancy_status')->nullable(); + $table->unsignedInteger('sequence')->nullable(); + $table->unsignedInteger('carriage_type_id')->nullable(); + $table->timestamps(); + $table->index(['agency_id', 'vehicle_id']); + $table->unique(['agency_id', 'carriage_id']); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('carriages'); + } +}; diff --git a/database/migrations/2026_02_04_091643_create_carriage_types_table.php b/database/migrations/2026_02_04_091643_create_carriage_types_table.php new file mode 100644 index 00000000..88cf8a23 --- /dev/null +++ b/database/migrations/2026_02_04_091643_create_carriage_types_table.php @@ -0,0 +1,30 @@ +id(); + $table->unsignedTinyInteger('carriage_category'); + $table->string('make'); + $table->string('model'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('carriage_types'); + } +}; diff --git a/database/migrations/2026_05_28_165845_add_automatic_mapping_fields_to_carriage_types_table.php b/database/migrations/2026_05_28_165845_add_automatic_mapping_fields_to_carriage_types_table.php new file mode 100644 index 00000000..50a2434e --- /dev/null +++ b/database/migrations/2026_05_28_165845_add_automatic_mapping_fields_to_carriage_types_table.php @@ -0,0 +1,28 @@ +json('automatic_mappings')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('carriage_types', function (Blueprint $table) { + $table->dropColumn('automatic_mappings'); + }); + } +}; diff --git a/database/migrations/2026_06_03_000000_create_region_images_table.php b/database/migrations/2026_06_03_000000_create_region_images_table.php new file mode 100644 index 00000000..208483e7 --- /dev/null +++ b/database/migrations/2026_06_03_000000_create_region_images_table.php @@ -0,0 +1,30 @@ +id(); + $table->unsignedInteger('region_id'); + $table->string('image_path'); + $table->string('author_name'); + $table->string('author_email'); + $table->string('author_link')->nullable(); + $table->text('description'); + $table->string('status')->default('pending'); + $table->timestamps(); + + $table->foreign('region_id')->references('id')->on('regions')->onDelete('cascade'); + }); + } + + public function down(): void + { + Schema::dropIfExists('region_images'); + } +}; diff --git a/database/migrations/2026_06_03_000001_add_active_image_id_to_regions_table.php b/database/migrations/2026_06_03_000001_add_active_image_id_to_regions_table.php new file mode 100644 index 00000000..88356e3a --- /dev/null +++ b/database/migrations/2026_06_03_000001_add_active_image_id_to_regions_table.php @@ -0,0 +1,24 @@ +unsignedBigInteger('active_image_id')->nullable(); + $table->foreign('active_image_id')->references('id')->on('region_images')->onDelete('set null'); + }); + } + + public function down(): void + { + Schema::table('regions', function (Blueprint $table) { + $table->dropForeign(['active_image_id']); + $table->dropColumn('active_image_id'); + }); + } +}; diff --git a/database/seeders/RegionsTableSeeder.php b/database/seeders/RegionsTableSeeder.php index 3cfba71f..9edde567 100755 --- a/database/seeders/RegionsTableSeeder.php +++ b/database/seeders/RegionsTableSeeder.php @@ -14,7 +14,7 @@ class RegionsTableSeeder extends Seeder */ public function run() { - $mtl = new Region(); + $mtl = new Region; $mtl->name = 'Montréal'; $mtl->slug = 'mtl'; diff --git a/package.json b/package.json index fbc45fd1..80a9949f 100755 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "devDependencies": { "@alpinejs/collapse": "^3.12.3", "@tailwindcss/forms": "^0.4.0", - "@tailwindcss/typography": "^0.5.9", + "@tailwindcss/typography": "^0.5.19", "alpinejs": "^3.12.3", "autoprefixer": "^10.4.8", "laravel-vite-plugin": "^0.6.1", diff --git a/public/index.php b/public/index.php index 51a841f5..c3d91621 100755 --- a/public/index.php +++ b/public/index.php @@ -1,5 +1,8 @@ make(Illuminate\Contracts\Http\Kernel::class); +$kernel = $app->make(Kernel::class); $response = $kernel->handle( - $request = Illuminate\Http\Request::capture() + $request = Request::capture() ); $response->send(); diff --git a/resources/views/components/form-layout.blade.php b/resources/views/components/form-layout.blade.php new file mode 100644 index 00000000..29c47d9c --- /dev/null +++ b/resources/views/components/form-layout.blade.php @@ -0,0 +1,67 @@ + + + + + + + + Transit Tracker + + + + + + + + + + + +
+
+

+ Transit Tracker Forms +

+
+
+ +
+ {{ $slot }} +
+ +
+
+ © {{ date('Y') }} Transit Tracker. All rights reserved. +
+
+ + + + diff --git a/resources/views/mail/region-image-submitted.blade.php b/resources/views/mail/region-image-submitted.blade.php new file mode 100644 index 00000000..4b1a8f7e --- /dev/null +++ b/resources/views/mail/region-image-submitted.blade.php @@ -0,0 +1,22 @@ + +# New Region Image Submission + +**{{ $regionImages->count() }}** new header images have been submitted for the **{{ $regionImages->first()->region->name }}** region. + +**Author:** {{ $regionImages->first()->author_name }} +@if($regionImages->first()->author_link) +**Author Link:** {{ $regionImages->first()->author_link }} +@endif + +**Description:** +{{ $regionImages->first()->description }} + +You can review and accept individual images in the Filament admin panel: + + +Open Region Images + + +Thanks,
+{{ config('app.name') }} +
\ No newline at end of file diff --git a/resources/views/vin/region-image.blade.php b/resources/views/vin/region-image.blade.php new file mode 100644 index 00000000..52b7d2f9 --- /dev/null +++ b/resources/views/vin/region-image.blade.php @@ -0,0 +1,73 @@ + +
+

{{ __('Submit Region Images') }}

+

{{ __('Help us feature the best images for each region! Submitted images will be reviewed before they become the active header image.') }}

+ + @if (session('status')) + + @endif + + @if ($errors->any()) + + @endif + +
+ @csrf + +
+ + +
+ +
+ +

{{ __('You can select multiple images (max 5). Images will be converted to 16:9 ratio and WebP format.') }}

+ +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+
+ +
+ +
+
+
+
\ No newline at end of file diff --git a/routes/api/v2.php b/routes/api/v2.php index 60d955f4..d6ec3daa 100755 --- a/routes/api/v2.php +++ b/routes/api/v2.php @@ -3,6 +3,7 @@ use App\Http\Controllers\Api\V2\AgencyController; use App\Http\Controllers\Api\V2\AlertController; use App\Http\Controllers\Api\V2\BlockController; +use App\Http\Controllers\Api\V2\CarriageTypeController; use App\Http\Controllers\Api\V2\LandingController; use App\Http\Controllers\Api\V2\LinkController; use App\Http\Controllers\Api\V2\NotificationsController; @@ -27,6 +28,8 @@ Route::get('alerts', [AlertController::class, 'index']); Route::get('alerts/{alert}', [AlertController::class, 'show']); +Route::get('carriageTypes', [CarriageTypeController::class, 'index']); + Route::get('landing', [LandingController::class, 'index']); Route::get('landing/vehicles', [LandingController::class, 'vehicles']); diff --git a/routes/web.php b/routes/web.php index c42ac096..5b6d18f4 100755 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,10 @@ name('forms.region-image.create'); +Route::post('forms/region-images', [RegionImageController::class, 'store'])->name('forms.region-image.store')->middleware('throttle:5,1'); + Route::fallback(function () { if (request()->segment(1) === 'vin') { return redirect(route('vin.index'))->with('from-api', true); diff --git a/tests/CreateProtobufFile.php b/tests/CreateProtobufFile.php index 6ad02a29..067521ad 100755 --- a/tests/CreateProtobufFile.php +++ b/tests/CreateProtobufFile.php @@ -9,20 +9,20 @@ use FelixINX\TransitRealtime\VehicleDescriptor; use FelixINX\TransitRealtime\VehiclePosition; -$feed = new FeedMessage(); +$feed = new FeedMessage; -$header = new FeedHeader(); +$header = new FeedHeader; $header->setGtfsRealtimeVersion('2.0'); $header->setIncrementality(0); // FULL_DATASET $header->setTimestamp(Carbon::now()->getTimestamp()); $feed->setHeader($header); -$feedEntity = new FeedEntity(); +$feedEntity = new FeedEntity; $feedEntity->setId('TEST'); $feedEntity->setIsDeleted(false); $feed->setEntity([$feedEntity]); -$vehiclePosition = new VehiclePosition(); +$vehiclePosition = new VehiclePosition; $vehiclePosition->setCurrentStopSequence(2); $vehiclePosition->setStopId('54356'); // Not supported by Transit Tracker $vehiclePosition->setCurrentStatus(0); // IN_TRANSIT_TO @@ -31,7 +31,7 @@ $vehiclePosition->setOccupancyStatus(2); // MANY_SEATS_AVAILABLE $feedEntity->setVehicle($vehiclePosition); -$tripDescriptor = new TripDescriptor(); +$tripDescriptor = new TripDescriptor; $tripDescriptor->setTripId('218445629'); $tripDescriptor->setRouteId('74'); $tripDescriptor->setDirectionId(1); // Not supported by Transit Tracker @@ -40,13 +40,13 @@ $tripDescriptor->setScheduleRelationship(2); // ADDED $vehiclePosition->setTrip($tripDescriptor); -$vehicleDescriptor = new VehicleDescriptor(); +$vehicleDescriptor = new VehicleDescriptor; $vehicleDescriptor->setId('TEST'); $vehicleDescriptor->setLabel('00001'); $vehicleDescriptor->setLicensePlate('TTRACKER'); $vehiclePosition->setVehicle($vehicleDescriptor); -$position = new Position(); +$position = new Position; $position->setLatitude(45.499231); $position->setLongitude(-73.566454); $position->setBearing(28); diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php index 547152f6..18f98251 100755 --- a/tests/CreatesApplication.php +++ b/tests/CreatesApplication.php @@ -3,13 +3,14 @@ namespace Tests; use Illuminate\Contracts\Console\Kernel; +use Illuminate\Foundation\Application; trait CreatesApplication { /** * Creates the application. * - * @return \Illuminate\Foundation\Application + * @return Application */ public function createApplication() { diff --git a/yarn.lock b/yarn.lock index de02c4ba..71ebfa28 100755 --- a/yarn.lock +++ b/yarn.lock @@ -113,14 +113,11 @@ dependencies: mini-svg-data-uri "^1.2.3" -"@tailwindcss/typography@^0.5.9": - version "0.5.9" - resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.9.tgz#027e4b0674929daaf7c921c900beee80dbad93e8" - integrity sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg== - dependencies: - lodash.castarray "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.merge "^4.6.2" +"@tailwindcss/typography@^0.5.19": + version "0.5.19" + resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.19.tgz#ecb734af2569681eb40932f09f60c2848b909456" + integrity sha512-w31dd8HOx3k9vPtcQh5QHP9GwKcgbMp87j58qi6xgiBnFFtKEAgCWnDw4qUT8aHwkCp8bKvb/KGKWWHedP0AAg== + dependencies: postcss-selector-parser "6.0.10" "@types/node@>=13.7.0": @@ -535,21 +532,6 @@ lilconfig@^2.0.5, lilconfig@^2.0.6: resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== -lodash.castarray@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz#c02513515e309daddd4c24c60cfddcf5976d9115" - integrity sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q== - -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== - -lodash.merge@^4.6.2: - version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - long@^5.0.0: version "5.2.1" resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f"