GitHub - nunomaduro/larastan: Larastan - Discover bugs in your code without runn...
source link: https://github.com/nunomaduro/larastan
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
THIS PACKAGE IS STILL IN DEVELOPMENT
About Larastan
Larastan was created by, and is maintained by Nuno Maduro, and is a phpstan/phpstan wrapper for Laravel.
Installation & Usage
Requires PHP 7.1.3+
You may use Composer to install Larastan as a development dependency into your Laravel project:
composer require --dev nunomaduro/larastan
Once you have installed Larastan, you may start analyzing your code using the code:analyse
Artisan command.
php artisan code:analyse
Rule levels
You can choose from currently 8 levels: (0 is the loosest and 7 is the strictest) by passing --level
to analyse
command. Default level is 1
. You can also use --level max
as an alias for the highest level.
php artisan code:analyse --level=max
Contributing
Thank you for considering to contribute to Larastan. All the contribution guidelines are mentioned here.
You can have a look at the CHANGELOG for constant updates & detailed information about the changes. You can also follow the twitter account for latest announcements or just come say hi!: @enunomaduro
Support the development
Do you like this project? Support it by donating
Credits
- weebly/phpstan-laravel - Some code was inspired on this package.
License
Larastan is an open-sourced software licensed under the MIT license.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK