Repository navigation
0.1.5
Changes since 0.1.4
- Add the optional
laramago-runtimecollector for explicitly selected Eloquent models. Initial support covers file-backed SQLite schema metadata, nullable/STRICT columns, connections, table prefixes and casts. Enable a generated snapshot through--runtime-metadataorLARAMAGO_RUNTIME_METADATA. See runtime schema documentation. (#5) - Reject stale configuration sources and malformed or incompatible metadata envelopes. Final revision checks retain native diagnostics when configuration, manifests or selected sources change during analysis. (#4)
- Remove 70 source lint warnings and 7 help diagnostics without suppressions or relaxed rules. Configure private PHP diagnostics at startup while preserving collector deadlines, exit codes and effective PHP options. (#6)
Runtime collection is opt-in and executes trusted application PHP. Only file-backed SQLite is supported in this release; default analysis does not collect database metadata. Direct CLI relaunch requires a permitted writable temporary directory and, on Windows, the built-in whoami/icacls tools. Details and startup-hook guidance are in the runtime documentation.
Validation
The release commit has exactly the tested source tree: default PHP 8.2 lint on Mago 1.48.1 and 1.55.0 reports no diagnostics across 46 runtime/consumer/CLI files. Acceptance includes 626 validator comparisons, 9 decoder comparisons, 46 boundary controls and 49 collector/native controls on each Mago version, plus installed Composer bin proxy and Windows ACL checks. The collector uses real Laravel 12.69.3 and SQLite fixtures; native analysis uses synthetic framework declarations.
One initial Mago 1.48.1 run exceeded the unchanged 10-second whole-analysis timeout assertion. The isolated timeout control and a fresh full run passed without source or threshold changes; the original failure remains recorded. Full composer check and server databases were not tested. Composer validation and the exact release archive contents were checked before tagging.
Install or update
composer require --dev ichinya/laramago:^0.1.5