Download the PHP package swisnl/phpstan-faker without Composer
On this page you can find all versions of the php package swisnl/phpstan-faker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swisnl/phpstan-faker
More information about swisnl/phpstan-faker
Files in swisnl/phpstan-faker
Package phpstan-faker
Short Description PHPStan Reflection extension for custom Faker providers
License MIT
Homepage https://github.com/swisnl/phpstan-faker
Informations about the package phpstan-faker
PHPStan Faker Provider Extension
This PHPStan Reflection Extension can automatically register the methods and properties created by custom Faker providers, so you don't need to instruct PHPStan to ignore the usage of those methods.
Installation
Via Composer
If you also have phpstan/extension-installer installed, then you don't need to follow the instructions for manual installation. Regardless of the installation method, you need to follow the instructions for configuration.
Manual installation
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:Configuration
Add the custom faker provider classes to the extension configuration.
This does not actually register the custom providers in Faker, this just tells PHPStan about the custom providers.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
SWIS :heart: Open Source
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.