mralaminahamed/fluent-crm-stubs

FluentCRM function and class declaration stubs for static analysis.

Maintainers

Package info

github.com/mralaminahamed/phpstan-fluent-crm-stubs

pkg:composer/mralaminahamed/fluent-crm-stubs

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v3.1.7 2026-06-28 05:10 UTC

This package is auto-updated.

Last update: 2026-06-28 05:16:46 UTC


README

Latest Version Downloads License PHP Version

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

License

MIT. See LICENSE.