wyrihaximus/phpstan-react
PHPStan extension for ReactPHP projects that flags blocking PHP functions (e.g., file_get_contents, fopen, fread) and suggests async React alternatives from react/filesystem, react/socket, and react/stream. Include the provided ruleset to enforce non-blocking code.
Include the rules file from the root of this package to have PHPStan check your code for blocking functions:
includes:
- vendor/wyrihaximus/phpstan-react/phpstan-reactphp-rules.neon
How can I help you explore Laravel packages today?