Skip to content

v0.2.0 — laravel-modules auto-detection

Choose a tag to compare

@harris21 harris21 released this 21 Jun 16:40
· 3 commits to main since this release

vo:scan now auto-detects nwidart/laravel-modules. When that package is present, the scanner walks every module's models and migrations alongside app/Models, reading module locations from the package's own config — so custom layouts work too.

  • --no-modules opts out
  • an explicit --path scopes the scan to one directory
  • apps without laravel-modules behave exactly as before, with no new dependencies

Scanner::scan() now accepts a single path or a list of paths.

Internal: the package is now analysed by Larastan at PHPStan level 7, enforced in CI.

Full changelog: v0.1.1...v0.2.0