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 Strict Rules Laravel Package

canvural/larastan-strict-rules

Extra strict, opinionated PHPStan rules for Laravel via Larastan. Enforce safer patterns by banning dynamic where methods, facades, and global helpers; prevent validation in controllers; ensure scopes return Eloquent Builder. Enable all at once or toggle rules individually.

View on GitHub
Deep Wiki
Context7
3.0.3

Release Notes for 3.0.3

3.0.x bugfix release (patch)

3.0.3

2.2.5

Release Notes for 2.2.5

2.2.x bugfix release (patch)

2.2.5

3.0.2

Release Notes for 3.0.2

3.0.x bugfix release (patch)

3.0.2

2.2.4

Release Notes for 2.2.4

2.2.x bugfix release (patch)

2.2.4

3.0.1

Release Notes for 3.0.1

3.0.x bugfix release (patch)

3.0.1

2.2.3

Release Notes for 2.2.3

2.2.x bugfix release (patch)

2.2.3

3.0.0

Release Notes for 3.0.0

Backwards incompatible release (major)

3.0.0

2.2.2

Release Notes for 2.2.2

2.2.x bugfix release (patch)

2.2.2

2.2.1

Release Notes for 2.2.1

2.2.x bugfix release (patch)

2.2.1

2.2.0

Release Notes for 2.2.0

2.2.0

2.1.10

Release Notes for 2.1.10

2.1.x bugfix release (patch)

2.1.10

2.1.9

Release Notes for 2.1.9

2.1.x bugfix release (patch)

2.1.9

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 1

dependencies

2.1.7
2.1.6

Release Notes for 2.1.6

2.1.x bugfix release (patch)

2.1.6

2.1.4

Release Notes for 2.1.4

2.1.4

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

dependencies

v2.1.3

What's Changed

New Contributors

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.1.2...v2.1.3

v2.1.2

What's Changed

Added

  • New rule ListenerShouldHaveVoidReturnTypeRule

Changed

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.1.1...v2.1.2

v2.1.1

What's Changed

Changed

  • Added .gitattributes

Dependencies

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.1...v2.1.1

v2.1

What's Changed

Fixed

  • Fixed compatibility with newer versions of Larastan and PHPStan

Dependencies

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.0.2...v2.1

v2.0.2

What's changed?

  • Fixed issue with ScopeShouldReturnQueryBuilderRule

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.0.1...v2.0.2

v2.0.1

What's changed?

  • Removed ability to auto install the rules with phpstan/extension-installer

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/v2.0.0...v2.0.1

v2.0.0

What's Changed

  • Updated to Larastan 2

Note: This is a major version bump because Larastan 2 only supports Laravel 9. 1.x branch was created for 1.x releases.

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/1.0.0...v2.0.0

1.0.0

What's Changed

Fixed

  • PHPStan and Larastan 1.0 compatibility.

Full Changelog: https://github.com/canvural/larastan-strict-rules/compare/0.1.7...1.0.0

0.1.7

Changed

  • Require minimum Larastan version 0.7.6

Fixed

  • Fixed issue with NoGlobalLaravelFunctionRule
  • Fixed compatibility issue with latest Larastan versions.
  • Allow wide range of orchestra/testbench dependency
0.1.6
  • Updated dependencies.
  • Allow PHP 8
0.1.5
  • Updated dependencies
0.1.4

Fixed

  • Fixed compatibility issue with the latest Larastan versions.
0.1.3

Added

  • Added ability to define allowed global functions for the NoGlobalLaravelFunctionRule rule.

Changed

  • Requires PHP 7.3 as minimum version.
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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity