Weave 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

Phpstan Doctrine Laravel Package

phpstan/phpstan-doctrine

PHPStan extension for Doctrine that validates DQL and QueryBuilder, checks repository findBy and magic methods, improves EntityManager and repository type inference, supports ORM and ODM, and reports mapping, entity type, and proxy issues.

View on GitHub
Deep Wiki
Context7
2.0.28
  • b462395 - Support query inference with multiple entity managers (#756)
  • da187ce - Update actions/cache action to v6 (#775)
  • 9660770 - Fix build on PHPStan 2.2.3 (#773)
  • c17f92d - Update github-actions to v3.0.1 (#771)
  • 65a399f - Update github-actions to v7 (#772)
2.0.27
  • 39b4ca4 - Fix incorrect stub change of criteria arg (#768)
2.0.26
  • edea68b - Update github-actions (#765)
  • 22cd60b - Sync ObjectRepository stub types with Doctrine (#767)
  • cff83bf - Fix one more test
  • 78df87c - Update more tests
  • efa7cca - Adjust test for more precise decimal-int-string type
2.0.25
  • e20e8bf - Fix duplicate registration of RepositoryMethodCallRule (#764)
2.0.24
  • 5485522 - Check field names of orderBy parameter in findBy and findOneBy
2.0.23
  • 4821d67 - Replace deprecated actions/create-release with softprops/action-gh-release
  • c6c0ee2 - Bump GitHub Actions across major versions
  • 7728233 - Bump GitHub Actions within their current majors
  • 20bd086 - Update test for phpstan 2.2 (#759)
  • 5e4d0b2 - Support Doctrine NumberType (#754)
  • a19c4b2 - Fix doctrine CI (#758)
  • c3a182e - Update github-actions
  • d022f3f - latest infection does not support PHP 8.2 (#752)
  • 4af7048 - Update release-toot.yml (#751)
  • d417606 - CI: move name-collision job into build.yml (#750)
2.0.22
  • e87516b - Remove Reflector from StubFilesExtensionLoader (#747)
  • 414ca85 - Add collision-detector.json to export-ignore in .gitattributes (#746)
  • 8af50e2 - name-collision-detector (#745)
  • fb8f874 - Rely on same template name than doctrine (#744)
  • 983c304 - Fix return type on EntityRepository::matching() generics (#743)
2.0.21
  • 81dac0e - Add literal string types for prepare method (#734)
  • 1650f18 - Cleanup EntityRepositoryClassReflectionExtension (#740)
2.0.20
  • 72f4f7a - Mark EntityManagerInterface::isOpen() as impure (#739)
2.0.19
  • 27cd48b - First-class callable crash on Expr methods (#735)
  • f666176 - Allow running the test-suite when mongo extension is not loaded (#737)
  • 9763452 - Delete .github/workflows/claude-react-on-comment.yml
  • 8ad0c00 - Lint workflows
  • f666928 - [StepSecurity] ci: Harden GitHub Actions
2.0.18
  • 44a216a - Declare Connection::fetch methods as impure (#708)
  • d672ec1 - Refactor GitHub Actions workflow for token usage
  • 80235c9 - Document missing features in README
  • 7e011d3 - Add PHP 8.5 to CI build matrix (#729)
  • 218a2f1 - React to issues opened with trigger phrase
  • e991b52 - Add CLAUDE.md to .gitattributes export-ignore
  • f02dc0e - Add CLAUDE.md with project guidelines for AI agents
2.0.17
  • 734ef36 - Skip EntityNotFinalRule when native lazy objects or lazy ghost objects are enabled (#724)
  • f92f4ac - Add Claude react on comment workflow
  • b5a191c - Fix offsetAccess.invalidOffset (#723)
2.0.16
  • f4ff608 - Add literal string types for insert, update and delete methods
2.0.15
  • ce03c55 - Fix false positive for aliases matching PHP class names
  • b6c65f0 - Ignore deprecated method error
  • 334f2ec - Add keywords for static analysis to composer.json
2.0.14
2.0.13
  • 2d2ad04 - Fix FNSR issue with doctrine.queryBuilderDynamic
2.0.12
  • d20ee03 - fix compatibility with doctrine/orm 3.5.8
2.0.11
  • 368ad1c - Declare getReflectionClass as covariant
  • 10636d9 - Remove 8.3.99
  • 95eff30 - use getIterableValueType
  • 197d47c - Update phpstan-phpunit to 2.0.8 (#706)
  • ca50bd1 - Skip DocumentManagerTypeInferenceTest on PHP8+
  • 5e5fc80 - Setup PHP Infection composite action
  • 8fe637e - Utilize build-infection
  • 31a924b - Print infection output instead of uploading the log as artifact
  • 9b118ac - Set up mutation testing
  • 38fc20d - Move phpstan analyse paths into phpstan.neon (#694)
  • 8a77f4a - Regenerate baseline (#693)
  • f8359a0 - Run using global type overrides in isolation
2.0.10
  • 5eaf37b - Fix BinaryType with dbal 4
2.0.9
  • 4a761b6 - Add support for symfony uuid
2.0.8
  • cd42b17 - Fix PHPStan crashing with single value enum
2.0.7
  • 8f083bf - Mark more method with phpstan-impure
  • 873c32c - Run tests in random order
2.0.6
2.0.5
  • eeff198 - Improve EntityColumnRule for enums
  • cb37e28 - Fix CS
  • 6fe9e9d - Update actions/checkout action to v5
  • bddac51 - Update Eomm/why-don-t-you-tweet action to v2
2.0.4
  • 6271e66 - Silence deprecation of assert.exception
  • d805e14 - PlatformTest: drop MSSQL database asserts
  • adf1826 - Add missing descriptors for SmallFloatType and EnumType
  • a1a9efb - Fix build
2.0.3
  • 4497663 - Mark nullable EntityRepository methods as impure
  • b1209a3 - Fix test-projects.yml
  • 3bf5dc8 - Fix build
  • 913dac2 - Fix test-projects.yml
  • 1a479e5 - Fix build
  • b226951 - Fix build
  • 8e76755 - Use stable PHP 8.4 with xdebug in docker image
  • 93d1307 - Fix build
  • 6317ec1 - Fix build
  • ce89f09 - Update metcalfc/changelog-generator action to v4.6.2
  • 6d00a6c - Update metcalfc/changelog-generator action to v4.5.0
  • e547b84 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 4a0d9cb - Adapt for recent PHPStan
  • baf73e3 - Introduce phpstan-deprecation-rules
2.0.2
  • a61a04a - EntityRepository.stub fix nullability in findOneBy
  • 815d5ae - Update LICENSE
2.0.1
  • bdb6a83 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 410ed26 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • f0e0abb - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 90c4275 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 813296e - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • f36d43f - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • e26fd3c - Fix nonexistent BackedEnum in stubs
  • 992a62e - Fix after PHPStan update
  • b129887 - Cleanup skipCheckGenericClasses
  • 8b557de - Readme: index by is supported
  • 4a00482 - Fixes after PHPStan update
  • c551adc - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • bcb88b6 - Fix tests after PHPStan update
  • 14a59bb - Fix stub
  • 4f51333 - Fixes after PHPStan update
  • 261b19d - Fixes after PHPStan update
  • 493457a - Fix CS
  • c585610 - [BCB] Remove options that existed only for performance reasons
  • c17a736 - Fixes after PHPStan updates
  • a110d8a - Fix
  • 674c9d4 - Fixes after PHPStan update
  • d45a640 - Uncover everything behind the bleedingEdge flag
  • d198a78 - Fixes after TypeSpecifier BC break
  • be66017 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 039d325 - Remove test about deprecated LOCATE() function in DBAL SQLite platform
  • 0f98bd1 - Do not expect deprecation in test
  • d462eb9 - Fix CS
  • da4e194 - Put doctrine/collections:^1.6 back
  • 22a33bc - Do not run PHPStan on 7.3
  • 9ddc146 - Put doctrine/lexer:^2.0 back
  • 731ac4c - Remove obsolete skips
  • df300b9 - Update build-cs
  • bf12209 - Stop testing PHP 7.2 and 7.3
  • 767698a - Open 2.0.x
1.5.7
  • 231d3f7 - Mark all result methods in AbstractQuery as impure
  • 25ab1ec - Test projects only in 2.0.x-dev
  • f36b6d6 - Fix tests
  • 90c4275 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 813296e - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • f36d43f - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • e26fd3c - Fix nonexistent BackedEnum in stubs
  • 992a62e - Fix after PHPStan update
  • b129887 - Cleanup skipCheckGenericClasses
  • 8b557de - Readme: index by is supported
  • 4a00482 - Fixes after PHPStan update
  • c551adc - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • bcb88b6 - Fix tests after PHPStan update
  • 14a59bb - Fix stub
  • 4f51333 - Fixes after PHPStan update
  • 261b19d - Fixes after PHPStan update
  • 493457a - Fix CS
  • c585610 - [BCB] Remove options that existed only for performance reasons
  • c17a736 - Fixes after PHPStan updates
  • a110d8a - Fix
  • 674c9d4 - Fixes after PHPStan update
  • d45a640 - Uncover everything behind the bleedingEdge flag
  • d198a78 - Fixes after TypeSpecifier BC break
  • be66017 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 039d325 - Remove test about deprecated LOCATE() function in DBAL SQLite platform
  • 0f98bd1 - Do not expect deprecation in test
  • d462eb9 - Fix CS
  • da4e194 - Put doctrine/collections:^1.6 back
  • 22a33bc - Do not run PHPStan on 7.3
  • 9ddc146 - Put doctrine/lexer:^2.0 back
  • 731ac4c - Remove obsolete skips
  • df300b9 - Update build-cs
  • bf12209 - Stop testing PHP 7.2 and 7.3
  • 767698a - Open 2.0.x
2.0.0
  • 90c4275 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 813296e - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • f36d43f - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • e26fd3c - Fix nonexistent BackedEnum in stubs
  • 992a62e - Fix after PHPStan update
  • b129887 - Cleanup skipCheckGenericClasses
  • 8b557de - Readme: index by is supported
  • 4a00482 - Fixes after PHPStan update
  • c551adc - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • bcb88b6 - Fix tests after PHPStan update
  • 14a59bb - Fix stub
  • 4f51333 - Fixes after PHPStan update
  • 261b19d - Fixes after PHPStan update
  • 493457a - Fix CS
  • c585610 - [BCB] Remove options that existed only for performance reasons
  • c17a736 - Fixes after PHPStan updates
  • a110d8a - Fix
  • 674c9d4 - Fixes after PHPStan update
  • d45a640 - Uncover everything behind the bleedingEdge flag
  • d198a78 - Fixes after TypeSpecifier BC break
  • be66017 - Merge remote-tracking branch 'origin/1.5.x' into 2.0.x
  • 039d325 - Remove test about deprecated LOCATE() function in DBAL SQLite platform
  • 0f98bd1 - Do not expect deprecation in test
  • d462eb9 - Fix CS
  • da4e194 - Put doctrine/collections:^1.6 back
  • 22a33bc - Do not run PHPStan on 7.3
  • 9ddc146 - Put doctrine/lexer:^2.0 back
  • 731ac4c - Remove obsolete skips
  • df300b9 - Update build-cs
  • bf12209 - Stop testing PHP 7.2 and 7.3
  • 767698a - Open 2.0.x
1.5.6
1.5.5
  • 4e9c77f - Add modified stub for ReadableCollection from doctrine/collections 1.x
  • 80f3b5f - Add phpdoc for transformation methods into other Collection stubs (fixes #621)
1.5.4
  • f61f963 - Mark immediately invoked callback params
  • de811c7 - Fix tests for PHPStan 1.12.6
  • 0d88669 - Remove commented code
  • 5169675 - Fix asserts, add Dockerfile for PHP 8.4
  • a103cfe - QueryResultTypeWalker: support pdo_pgsql float fetches on PHP 8.4
  • 8badde6 - Bump PHPUnit
  • bfb1fc9 - Allow installing dependencies on PHP 8.4 even when not all of them support it
  • d8b96f9 - Pin build-cs
  • 6cc1cb7 - Test newer PHP versions
1.5.3
1.5.2
  • 4d17bed - Fix support for enumType on array fields
1.5.1
  • a9bb990 - EntityRepository::count returns positive int - fixes #603
  • 6632f38 - Try to reproduce internal error
  • 285d78d - Simplify StubFilesExtensionLoader
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.
alphabalex/messaging-made-easy
rawphp/warp
shootkiran/merobug
narakode/fineauth
numencode/wn-syncops-plugin
ibnnajjaar/mib-global-pay
ably/pubsub-server
mstfkhazaal/defender
mfonte/base62x
karnoweb/metapilot
tobya/bcsapiwrapper
swalker2/cpanel
vish4395/laravel-translation-manager
morningtrain/economic
teksite/systeminfo-laravel
atomcms/voting
run6/weather
siokas/laravelembeddirectives
adamlien/pkuuids
gilsonsouza/lara-doc-generator