calebdw/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel

Fund package maintenance!
calebdw

Installs: 4 679

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 406

Open Issues: 1

Type:phpstan-extension

v2.10.8 2024-09-16 18:00 UTC

README

Larastan Logo

Larastan Example

Test Results Total Downloads Latest Version License

⚗️ 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:

✨ Getting Started

To use this fork, you may use Composer to install it as a development dependency into your Laravel project:

composer require --dev "calebdw/larastan:^2.0"

Or if you already have the upstream package installed, you can point your composer.json to this fork:

- "larastan/larastan": "^2.0"
+ "calebdw/larastan": "^2.0"

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:

includes:
    - ./vendor/calebdw/larastan/extension.neon

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.