Download the PHP package calebdw/larastan without Composer
On this page you can find all versions of the php package calebdw/larastan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download calebdw/larastan
More information about calebdw/larastan
Files in calebdw/larastan
Package larastan
Short Description Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel
License MIT
Homepage https://github.com/calebdw/larastan
Informations about the package larastan
⚗️ About This Fork
Hello! 👋
This is my fork of larastan/larastan, which includes additional features and improvements that have been proposed but are not yet available in the upstream package. This fork is intended to provide the community with immediate access to these enhancements while maintaining compatibility with the upstream package.
For Laravel Livewire support, check out larastan-livewire!
🔄 Changes and Upstream PRs
This fork includes the following changes and enhancements:
- feat: update relation generics (support Laravel >= 11.15)
- feat: support dynamic relation closures
- feat: support newFactory method when resolving factory
- feat: add support for config array shapes
- feat: support multiple database connections
- feat: support wildcards in migration/schema paths
- fix: default date casting
- fix: handle model property aliases
- fix: make TGet covariant on Attribute stub
- fix: properly handle static called on type for query
- fix: check if class exists before calling reflectionProvider getClass
- fix: relation class forwarding
✨ Getting Started
To use this fork, you may use Composer to install it as a development dependency into your Laravel project:
Or if you already have the upstream package installed, you can point your composer.json
to this fork:
If you have the PHPStan extension installer installed then nothing more is needed, otherwise you will need to manually include the extension in the phpstan.neon(.dist)
configuration file:
For more information on how to configure and use Larastan, please refer to the official documentation.
👊🏻 Contributing
Thank you for considering contributing to Larastan. All the contribution guidelines are mentioned here.
📄 License
This fork is open-sourced software licensed under the MIT license.
All versions of larastan with dependencies
ext-json Version *
illuminate/console Version ^9.52.16 || ^10.28.0 || ^11.16.0
illuminate/container Version ^9.52.16 || ^10.28.0 || ^11.16.0
illuminate/contracts Version ^9.52.16 || ^10.28.0 || ^11.16.0
illuminate/database Version ^9.52.16 || ^10.28.0 || ^11.16.0
illuminate/http Version ^9.52.16 || ^10.28.0 || ^11.16.0
illuminate/pipeline Version ^9.52.16 || ^10.28.0 || ^11.16.0
illuminate/support Version ^9.52.16 || ^10.28.0 || ^11.16.0
phpmyadmin/sql-parser Version ^5.9.0
phpstan/phpstan Version ^1.12.2