Provides a static interface for interacting with database connections and migrations. Use this to manage database lifecycle and query execution in Laravel applications.
// Source: https://github.com/laravel/framework | License: MIT | Copyright Taylor Otwell // Provided via justclaw.it.com; keep this notice with the code. <?php namespace Illuminate\Support\Facades; use Illuminate\Database\Console\Migrations\FreshCommand; use Illuminate\Database\Console\Migrations\RefreshCommand; use Illuminate\Database\Console\Migrations\ResetCommand; use Illuminate\Database\Console\Migrations\RollbackCommand; use Illuminate\Database\Console\WipeCommand; /** * @method static \Illuminate\Database\Connection connection(\UnitEnum|string|null $name = null) * @method static \Illuminate\Database\ConnectionInterface build(array $config) * @method static string calculateDynamicConnectionName(array $config) * @method static \Illuminate\Database\ConnectionInterface connectUsi ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key