Kant CMS: Grundgerüst, visueller Editor, Mediathek
Symfony 7.4 / Twig / Doctrine DBAL auf herkömmlichem PHP-Webhosting. Versionierte Blockdokumente (v1-v3) mit unveränderlichen Revisionen, getrennten Entwürfen/Veröffentlichungen und optimistischer Konflikterkennung. Visueller Editor mit Strukturbaum, Live-Vorschau, responsiven Gerätewerten, Abschnittsvorlagen, Bildmediathek, Galerien und Effekten. Öffentliche Ausgabe ohne Editor-JavaScript. Geprüft: 41 PHP-Tests / 155 Assertions, 10 JavaScript-Modelltests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
commit
82b07820bc
87 files changed
+14463
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use App\Infrastructure\ConnectionFactory;
|
||||
use Doctrine\Migrations\Configuration\Connection\ExistingConnection;
|
||||
use Doctrine\Migrations\Configuration\Migration\PhpFile;
|
||||
use Doctrine\Migrations\DependencyFactory;
|
||||
|
||||
require __DIR__.'/config/bootstrap.php';
|
||||
if (!is_dir(__DIR__.'/var')) {
|
||||
mkdir(__DIR__.'/var', 0775, true);
|
||||
}
|
||||
$url = str_replace('%kernel.project_dir%', str_replace('\\', '/', __DIR__), $_SERVER['DATABASE_URL']);
|
||||
|
||||
return DependencyFactory::fromConnection(
|
||||
new PhpFile(__DIR__.'/migrations.php'),
|
||||
new ExistingConnection(ConnectionFactory::create($url)),
|
||||
);
|
||||
Reference in new issue
Block a user