Download the PHP package lemax10/ocstan without Composer
On this page you can find all versions of the php package lemax10/ocstan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lemax10/ocstan
More information about lemax10/ocstan
Files in lemax10/ocstan
Package ocstan
Short Description OCStan - Discover bugs in your code without running it. A nunomaduro/larastan wrapper for OctoberCMS
License MIT
Informations about the package ocstan
⚗️ About OcStan
- Adds static typing to Laravel to improve developer productivity and code quality
- Supports most of Laravel's beautiful magic
- Supports most of OctoberCMS'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.
Custom PHPDoc types
A list of PHPDoc types specific to Larastan can be found here.
Custom PHPStan config parameters
A list of custom config parameters that you can use in your PHPStan config file can be found here.
Errors To Ignore
Some parts of Laravel are currently too magical for Larastan/PHPStan to understand. We listed common errors to ignore, add them as needed.
👊🏻 Contributing
Thank you for considering contributing to Larastan. All the contribution guidelines are mentioned here.
You can have a look at the @can__vural.
❤️ Support The Development
Do you like this project? Support it by donating
📖 License
OCStan is an open-sourced software licensed under the MIT license. Larastan is an open-sourced software licensed under the MIT license.
All versions of ocstan with dependencies
composer/composer Version ^1.0 || ^2.0
october/rain Version 1.1.*
nunomaduro/larastan Version ^0.7
ext-json Version *