composer install
cp config/.env.example .env
.env with your database credentials and create the database:
    mysql -u <user> -p -e "CREATE DATABASE echodb DEFAULT CHARACTER SET utf8mb4;"
mysql -u <user> -p echodb < sql/init.sql
php -S localhost:8080 -t public
curl http://localhost:8080/api/index
Expect JSON with status:"ok" and version string.
curl -N http://localhost:8080/api/stream
You should see event: update style messages and :keep-alive comments every ~15 seconds.
curl -X POST \
     -H "Content-Type: application/json" \
     -d '{"table":"orders","row_id":1,"type":"update","changes":{"status":"shipped"},"actor":"demo"}' \
     http://localhost:8080/api/events
Response should include the created event with a diff block.
http://localhost:8080 in a browser.status: pending → shipped).If any step fails, inspect logs/app.log for detailed traces.