mralaminahamed / fluent-crm-stubs
FluentCRM function and class declaration stubs for static analysis.
Package info
github.com/mralaminahamed/phpstan-fluent-crm-stubs
pkg:composer/mralaminahamed/fluent-crm-stubs
v3.1.7
2026-06-28 05:10 UTC
Requires
- php: >=7.4
- php-stubs/wordpress-stubs: ^5.3 || ^6.0
Requires (Dev)
- php-stubs/generator: ^0.8.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^7.5 || ^8.5 || ^9.5
- squizlabs/php_codesniffer: ^3.7
Suggests
- szepeviktor/phpstan-wordpress: WordPress extensions for PHPStan
README
PHP stub declarations for FluentCRM (free) to enhance IDE completion and static analysis capabilities. Generated using php-stubs/generator directly from the source code.
Features
- Complete function, class, and interface declarations
- Constant definitions for proper static analysis
- IDE autocompletion support
- PHPStan integration
- Covers FluentCRM 3.x (generated from 3.6.8)
Requirements
- PHP >= 7.4
- Composer
Installation
composer require --dev mralaminahamed/fluent-crm-stubs
Configuration
PHPStan (phpstan.neon)
parameters: scanFiles: - vendor/mralaminahamed/fluent-crm-stubs/fluent-crm-stubs.php - vendor/mralaminahamed/fluent-crm-stubs/fluent-crm-constants-stubs.php
Or use the bundled extension:
includes: - vendor/mralaminahamed/fluent-crm-stubs/extension.neon
Regenerating Stubs
# Download FluentCRM source cd source wget https://downloads.wordpress.org/plugin/fluent-crm.latest-stable.zip unzip fluent-crm.zip cd .. # Install dependencies and generate composer install composer generate
Related Packages
- phpstan-fluent-crm-pro-stubs — FluentCRM Pro stubs
License
MIT. See LICENSE.