Loheide-eu-mitarbeiterplatt.../vendor/laravel/framework/src/Illuminate/Database
Friederich Loheide 9c0f8de791
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
Phase 0: Fundament für Inhaus
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3)
- Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung
- Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü
- Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person
- Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“
- Benutzerverwaltung im Admin, Zugang vorläufig über is_admin
- vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/
- PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung
- VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 20:35:30 +00:00
..
Capsule Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Concerns Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Connectors Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Console Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Eloquent Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Events Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Migrations Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Query Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Schema Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
ClassMorphViolationException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
composer.json Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
ConcurrencyErrorDetector.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
ConfigurationUrlParser.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Connection.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
ConnectionInterface.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
ConnectionResolver.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
ConnectionResolverInterface.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
DatabaseManager.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
DatabaseServiceProvider.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
DatabaseTransactionRecord.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
DatabaseTransactionsManager.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
DeadlockException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
DetectsConcurrencyErrors.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
DetectsLostConnections.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Grammar.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
LazyLoadingViolationException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
LICENSE.md Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
LostConnectionDetector.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
LostConnectionException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
MariaDbConnection.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
MigrationServiceProvider.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
MultipleColumnsSelectedException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
MultipleRecordsFoundException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
MySqlConnection.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
PostgresConnection.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
QueryException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
README.md Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
RecordNotFoundException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
RecordsNotFoundException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
Seeder.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
SQLiteConnection.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
SQLiteDatabaseDoesNotExistException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
SqlServerConnection.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00
UniqueConstraintViolationException.php Phase 0: Fundament für Inhaus 2026-09-25 20:35:30 +00:00

Illuminate Database

The Illuminate Database component is a full database toolkit for PHP, providing an expressive query builder, ActiveRecord style ORM, and schema builder. It currently supports MySQL, Postgres, SQL Server, and SQLite. It also serves as the database layer of the Laravel PHP framework.

Usage Instructions

First, create a new "Capsule" manager instance. Capsule aims to make configuring the library for usage outside of the Laravel framework as easy as possible.

use Illuminate\Database\Capsule\Manager as Capsule;

$capsule = new Capsule;

$capsule->addConnection([
    'driver' => 'mysql',
    'host' => 'localhost',
    'database' => 'database',
    'username' => 'root',
    'password' => 'password',
    'charset' => 'utf8',
    'collation' => 'utf8_unicode_ci',
    'prefix' => '',
]);

// Set the event dispatcher used by Eloquent models... (optional)
use Illuminate\Events\Dispatcher;
use Illuminate\Container\Container;
$capsule->setEventDispatcher(new Dispatcher(new Container));

// Make this Capsule instance available globally via static methods... (optional)
$capsule->setAsGlobal();

// Setup the Eloquent ORM... (optional; unless you've used setEventDispatcher())
$capsule->bootEloquent();

composer require "illuminate/events" required when you need to use observers with Eloquent.

Once the Capsule instance has been registered. You may use it like so:

Using The Query Builder

$users = Capsule::table('users')->where('votes', '>', 100)->get();

Other core methods may be accessed directly from the Capsule in the same manner as from the DB facade:

$results = Capsule::select('select * from users where id = ?', [1]);

Using The Schema Builder

Capsule::schema()->create('users', function ($table) {
    $table->increments('id');
    $table->string('email')->unique();
    $table->timestamps();
});

Using The Eloquent ORM

class User extends Illuminate\Database\Eloquent\Model {}

$users = User::where('votes', '>', 1)->get();

For further documentation on using the various database facilities this library provides, consult the Laravel framework documentation.