Skip to content

0.0.1

Choose a tag to compare

@ichinya ichinya released this 14 Sep 17:54
· 336 commits to master since this release

Initial release of Laramago: Laravel presets and analyzer support for the native Mago CLI.

Included

  • Composer plugin that creates a Laravel Mago configuration without overwriting existing configuration.
  • Mago ^1.48.1 as a package dependency.
  • Laravel linter and formatter defaults.
  • Native analyzer support for magic Eloquent where, orWhere, whereNot, and orWhereNot calls, preserving model types and argument validation.
  • Reproducible Larastan/Mago comparison tooling.

Installation

The package is not registered on Packagist. Add the GitHub VCS repository:

composer config repositories.laramago vcs https://github.com/ichinya/laramago
composer require --dev ichinya/laramago:0.0.1
vendor/bin/mago lint

Allow the ichinya/laramago Composer plugin when prompted. Existing Mago configurations require the preset and extension-host entries described in the README.

Limitations

Analyzer coverage is intentionally limited in this initial release. Model attributes, relationships, other dynamic methods, and custom query builders are not yet fully supported. Analysis does not require a database or bootstrap Laravel.

Validation

  • Composer validation passed.
  • 14 installer, 7 linter, and 21 analyzer scenarios passed.
  • Native Mago lint and analyze were verified with a copied Composer path installation, a custom vendor directory, and spaces in the project path.
  • Private comparison reports, local dependencies, and composer.lock are excluded from package archives.