Some checks failed
CI / Quality (push) Has been cancelled
Skeleton gains Doctrine ORM 3.6 (with DoctrineBundle 3.x and Migrations 4.x), pointed at a SQLite file under var/data.sqlite. Apps move to Postgres/MySQL by overriding DATABASE_URL in .env.local. config/packages/doctrine.yaml registers the symfony/uid UuidType so Phase 2 sub-commit 4's UUIDv7 default works without per-app config, and pre-wires the App\Entity attribute mapping under src/Entity/ for the maker to drop entities into. Bundle gains an optional doctrine/dbal Connection via Autowire; when present, bridge:doctor adds a "Database reachable" SELECT-1 probe. The bundle still installs cleanly without doctrine/dbal — apps that opt out get a doctor table without the database row. Verified: `bin/console bridge:doctor` is all green against a fresh SQLite. composer quality (PHPStan + cs-fixer + PHPUnit) stays green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
1.0 KiB
Bash
22 lines
1.0 KiB
Bash
APP_ENV=dev
|
|
APP_DEBUG=1
|
|
APP_SECRET=dev-secret-not-for-production-use
|
|
|
|
# Mercure hub (FrankenPHP-built-in). Both URLs are typically the same in
|
|
# dev mode where the hub and the app are colocated.
|
|
MERCURE_URL=http://127.0.0.1:8765/.well-known/mercure
|
|
MERCURE_PUBLIC_URL=http://127.0.0.1:8765/.well-known/mercure
|
|
# Used by mercure-bundle to mint publisher JWTs. Must match the
|
|
# publisher_jwt secret in ../Caddyfile. lcobucci/jwt requires HMAC
|
|
# secrets to be at least 256 bits, so the dev value here is 64 chars.
|
|
MERCURE_JWT_SECRET=dev_php_qml_bridge_jwt_secret_at_least_256_bits_long_for_lcobucci
|
|
MERCURE_PUBLISHER_JWT_KEY=dev_php_qml_bridge_jwt_secret_at_least_256_bits_long_for_lcobucci
|
|
MERCURE_SUBSCRIBER_JWT_KEY=dev_php_qml_bridge_jwt_secret_at_least_256_bits_long_for_lcobucci
|
|
|
|
# Bearer token the Qt host sends on /api/* requests.
|
|
BRIDGE_TOKEN=devtoken
|
|
|
|
# SQLite database for dev. Apps move to Postgres / MySQL by overriding
|
|
# DATABASE_URL in .env.local once they outgrow it.
|
|
DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.sqlite"
|