Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Larastan Laravel Package

nunomaduro/larastan

Larastan is a PHPStan extension for Laravel that analyzes your app to catch bugs early. It boots the container to resolve dynamic types, supports Laravel’s “magic,” and improves code quality with stronger static typing.

View on GitHub
Deep Wiki
Context7
v3.9.3

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.9.2...v3.9.3

v3.9.2

What's Changed

Added

Fixed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.9.1...v3.9.2

v3.9.1

What's Changed

Fixed

Full Changelog: https://github.com/larastan/larastan/compare/v3.9.0...v3.9.1

v3.9.0

What's Changed

Added

Fixed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.8.1...v3.9.0

v3.8.0

What's Changed

Added

Add optional phpMyAdmin SQL parser integration by @canvural in https://github.com/larastan/larastan/pull/2388

Larastan can now detect automatically if you have phpmyadmin/sql-parser package and use that to parse your squashed database migrations. This parser package has better support for different SQL keywords. Note: The package has GPL 2 license. Meaning if you install it and distribute your app with it you also need to have GPL 2 licensed application. But generally this is not a problem because you should install Larastan and the sql-parser package as a development dependency and remove these development dependencies while deploying your application to production.

Treat unsigned database columns as non-negative-int https://github.com/larastan/larastan/commit/52aa393d253a998479dfefbcbf2ed04a75e2fa1a

Fixed

Internal

Full Changelog: https://github.com/larastan/larastan/compare/v3.7.2...v3.8.0

v3.7.2

What's Changed

Added

Fixed

Full Changelog: https://github.com/larastan/larastan/compare/v3.7.1...v3.7.2

v3.7.1

What's Changed

Added

Full Changelog: https://github.com/larastan/larastan/compare/v3.7.0...v3.7.1

v3.7.0

What's Changed

Added

Fixed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.6.1...v3.7.0

v3.6.1

What's Changed

Fixed

Documentation

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.6.0...v3.6.1

v3.6.0

Added 🪄

Internal ⚙️

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.5.0...v3.6.0

v3.5.0

What's Changed

Added

Fixed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.4.2...v3.5.0

v2.11.2

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.4.1...v3.4.2

v3.4.2

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.4.1...v3.4.2

v3.4.1

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.4.0...v3.4.1

v2.11.1

Fixes

Full Changelog: https://github.com/larastan/larastan/compare/v2.11.0...v2.11.1

v3.4.0

3.4.0

This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽

Features 🚀

Fixes 🐛

Docs 📝

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.3.1...v3.4.0

v3.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.3.0...v3.3.1

v3.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.2.0...v3.3.0

v3.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.1.0...v3.2.0

v2.10.0

What's Changed

  • Replaces phpmyadmin/sql-parser by iamcal/sql-parser.

Full Changelog: https://github.com/larastan/larastan/compare/v2.9.14...v2.10.0

v3.1.0
v3.0.4

Improvements

Latest PHPStan version compatibility

Full Changelog: https://github.com/larastan/larastan/compare/v3.0.3...v3.0.4

v2.9.14

Improvements

Latest PHPStan version compatibility

Full Changelog: https://github.com/larastan/larastan/compare/v2.9.13...v2.9.14

v3.0.3

What's Changed

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.0.2...v3.0.3

v2.9.13

What's Changed

Full Changelog: https://github.com/larastan/larastan/compare/v2.9.12...v2.9.13

v3.0.2

What's changed?

Updated minimum required PHPStan version to 2.0.2

Full Changelog: https://github.com/larastan/larastan/compare/v3.0.1...v3.0.2

v3.0.1

What's Changed

Fixed

Internal

Also changes from 2.9.12

New Contributors

Full Changelog: https://github.com/larastan/larastan/compare/v3.0.0...v3.0.1

v2.9.12

What's Changed

Added

Fixed

Full Changelog: https://github.com/larastan/larastan/compare/v2.9.11...v2.9.12

v3.0.0

Larastan 3.0 🥳

This release adds compability with PHPStan 2 and drops support for Laravel versions < 11

Please make sure you read the both PHPStan's and Larastan's upgrade guides!

Notable changes:

  • Added support for PHPStan 2
  • Dropped support for Laravel versions <11
  • Dropped support for automatically adding generic return types for relations. Read the upgrade guide for more info.
  • Removed some PHPStan config options. If you want the same behavior as before, you can add them back yourselves.
  • Made some rules enabled by default.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport