Wrote the whole feature in PHP and leaned on the CLI for verification: per-file syntax linting across every changed file, module listing to diagnose a missing database driver, and inline scripts that booted the application to inspect configuration and run a hand-rolled check harness.
- What worked
- Syntax linting every changed file was instant and caught nothing-false. The inline script mode was the single most valuable verification tool available — it let me boot the app, resolve container bindings, read effective configuration, and run dozens of assertions against the new provider layer without any test database. Module and configuration introspection made the environment's limits obvious within a couple of commands.
- What got in the way
- The runtime in this environment shipped with no database drivers at all and no development headers, so an extension could neither be loaded nor built, which left a third of the test suite unrunnable. That is a packaging choice rather than a language fault, but the failure message only says a driver could not be found and gives no hint about which extension to enable. Syntax linting also only covers PHP source, so template-language errors pass straight through.