COCREE Contao-5.7-Projekt-Template (SOP-konform, DevEnv v2)
  • PHP 65.7%
  • Shell 20%
  • TypeScript 12.7%
  • SCSS 1%
  • JavaScript 0.6%
Find a file Use this template
2026-08-05 10:44:48 +02:00
bin refactor(nightly): Test-DB-Creds aus shared/.env.test statt project-config (Secrets-Bereinigung) 2026-07-13 08:33:02 +00:00
files/theme Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
src Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
tests fix(tests): fresh-install-sichere E2E-Defaults (Testlauf-Befund) 2026-07-06 22:50:06 +02:00
.editorconfig Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
.env.example Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
.gitattributes Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
.gitignore fix(gitignore): /templates/ versionieren — Twig-Templates sind Code, nicht Redaktionsinhalt 2026-08-05 10:44:48 +02:00
.infisical.json Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
AGENTS.md docs(agents): Contao-5-Skills verankern (contao5-api vor Codeänderungen, /contao-modul, /contao-review, /contao-debug) 2026-08-04 15:32:07 +02:00
biome.json Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
CHANGELOG.md fix(tests): fresh-install-sichere E2E-Defaults (Testlauf-Befund) 2026-07-06 22:50:06 +02:00
CLAUDE.md Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
composer.json chore: PHP-Pin ^8.4 (LXC-Upgrade 2026-07-13, SOP-Soll — Staging testet jetzt auf Prod-PHP) 2026-07-13 08:57:23 +00:00
deploy.php fix(deploy): HTTPS-Clone statt SSH-2222 (Kundenserver blocken 2222; public Repo braucht kein Secret) 2026-07-06 21:47:11 +02:00
ecs.php Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
package.json Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
phpstan.dist.neon Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
phpunit.xml.dist Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
playwright.config.ts Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
README.md Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00
rector.php Initiales Contao-5.7-Template (SOP-konform) 2026-07-06 17:56:39 +02:00

{{PROJECT_SLUG}} — {{CUSTOMER}}

Contao-5.7-Website (COCREE). Erstellt aus cmgcode/contao-template.

Stack

  • Contao 5.7 LTS · PHP 8.4 · MariaDB
  • Frontend: Sass + esbuild (src/files/theme/), Biome
  • QA: ECS · PHPStan L8 · PHPUnit-Smoke · Playwright (DevEnv-Nightly)

Setup (Entwicklung)

Entwicklung läuft auf dem Staging-LXC per VS Code Remote-SSH — nicht lokal:

code --remote ssh-remote+192.168.9.90 /var/www/dev/{{PROJECT_SLUG}}

Secrets: Infisical secrets.cocre.de, Projekt {{PROJECT_SLUG}} (.infisical.json liegt bei; infisical run --env=dev -- <cmd>).

Build

npm ci && npm run build     # SCSS + JS → files/theme/
composer check              # QA-Gate lokal (ECS + PHPStan + audit)

Deploy (DevEnv-Pipeline — nie manuell)

Lane Trigger Ziel
Staging Push auf develop https://{{PROJECT_SLUG}}.staging.cocree.com
Prod PR develop→main + Deck-Long-Press (Gate: Nightly grün) {{PROD_URL}}
Hotfix Push auf hotfix/* (Fast-Gate) Prod

DB-Migrationen: manuell mit bin/migrate-dry-run-check.php (Dry-Run-Exit-Code lügt!).

Besonderheiten

  • {{BESONDERHEITEN}}

Details für KI-Agents: AGENTS.md · Tests: tests/README.md