Download the PHP package magdy-hakam/larastan without Composer
On this page you can find all versions of the php package magdy-hakam/larastan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download magdy-hakam/larastan
More information about magdy-hakam/larastan
Files in magdy-hakam/larastan
Package larastan
Short Description Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel
License MIT
Informations about the package larastan
⚗️ About Larastan
Larastan was created by Nuno Maduro, got artwork designed by @Caneco, is maintained by Can Vural and Viktor Szépe, and is a PHPStan wrapper for Laravel. Larastan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.
- Adds static typing to Laravel to improve developer productivity and code quality
- Supports most of Laravel's beautiful magic
- Discovers bugs in your code without running it
✨ Getting Started in 3 Steps
Requires:
1: First, you may use Composer to install Larastan as a development dependency into your Laravel project:
Using Larastan for analysing Laravel packages? You may need to install
orchestra/testbench
.
2: Then, create a phpstan.neon
or phpstan.neon.dist
file in the root of your application. It might look like this:
For all available options, please take a look at the PHPStan documentation: https://phpstan.org/config-reference
3: Finally, you may start analyzing your code using the phpstan console command:
If you are getting the error Allowed memory size exhausted
, then you can use the --memory-limit
option fix the problem:
Rules
A list of configurable rules specific to Laravel can be found here.
👊🏻 Contributing
Thank you for considering contributing to Larastan. All the contribution guidelines are mentioned here.
You can have a look at the @enunomaduro.
❤️ Support the development
Do you like this project? Support it by donating
📖 License
Larastan is an open-sourced software licensed under the MIT license.
All versions of larastan with dependencies
composer/composer Version ^1.0 || ^2.0
illuminate/console Version ^6.0 || ^7.0
illuminate/container Version ^6.0 || ^7.0
illuminate/contracts Version ^6.0 || ^7.0
illuminate/database Version ^6.0 || ^7.0
illuminate/http Version ^6.0 || ^7.0
illuminate/pipeline Version ^6.0 || ^7.0
illuminate/support Version ^6.0 || ^7.0
mockery/mockery Version ^0.9 || ^1.0
phpstan/phpstan Version ^0.12.23
symfony/process Version ^4.3 || ^5.0
ext-json Version *