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

Larastan Strict Rules Laravel Package

canvural/larastan-strict-rules

Extra strict, opinionated PHPStan rules for Laravel. Install via Composer, include rules.neon, and enable or disable checks like no dynamic where, no facades, no global helpers, and no validation in controllers.

View on GitHub
Deep Wiki
Context7
3.0.4

Release Notes for 3.0.4

3.0.x bugfix release (patch)

3.0.4

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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo