calebdw / larastan

⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
MIT License
4 stars 0 forks source link
code-analysis larastan laravel phpstan phpstan-extension static-analysis

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.