Download the PHP package calebdw/phpstan-laravel without Composer
On this page you can find all versions of the php package calebdw/phpstan-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download calebdw/phpstan-laravel
More information about calebdw/phpstan-laravel
Files in calebdw/phpstan-laravel
Package phpstan-laravel
Short Description A PHPStan extension for analysis of Laravel applications and packages.
License MIT
Homepage https://phpstan-laravel.dev
Informations about the package phpstan-laravel
Teaches PHPStan about Laravel's magic
Laravel leans on magic: facades, container bindings, dynamic Eloquent properties, method forwarding, macros. A static analyser sees almost none of it on its own, so the parts of your application that carry the most behaviour are the parts it checks least.
This PHPStan extension closes that gap. It boots your application during analysis and combines that with stubs, reflection extensions and schema scanning, so PHPStan can reason about your models, relations, collections, configuration and views.
None of it comes from annotations you write, and it ships rules for the mistakes Laravel will happily let you make at runtime. It works at every PHPStan level, on applications and on packages.
Documentation
To get started, take a look at the official documentation: installation, configuration, every rule, every option and identifier, and the guide for moving over from Larastan.
Contributing
Contributions are welcome: see CONTRIBUTING.md.
Acknowledgments
This package began as a fork of larastan/larastan, created by Can Vural and Nuno Maduro and improved by many contributors over the years. It would not exist without their work.
License
Open-sourced software licensed under the MIT license.
All versions of phpstan-laravel with dependencies
illuminate/console Version ^12.67.0 || ^13.26.1
illuminate/container Version ^12.67.0 || ^13.26.1
illuminate/contracts Version ^12.67.0 || ^13.26.1
illuminate/database Version ^12.67.0 || ^13.26.1
illuminate/http Version ^12.67.0 || ^13.26.1
illuminate/pipeline Version ^12.67.0 || ^13.26.1
illuminate/support Version ^12.67.0 || ^13.26.1
phpstan/phpstan Version ^2.3.0
symfony/finder Version ^7.2 || ^8.0
webmozart/assert Version ^2.4