PHPackages                             mralaminahamed/fluent-cart-pro-stubs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mralaminahamed/fluent-cart-pro-stubs

ActiveLibrary

mralaminahamed/fluent-cart-pro-stubs
====================================

Fluent Cart Pro function and class declaration stubs for static analysis.

v1.5.3.1(today)02↑2900%MITPHPPHP &gt;=7.4

Since Jul 31Pushed todayCompare

[ Source](https://github.com/mralaminahamed/phpstan-fluent-cart-pro-stubs)[ Packagist](https://packagist.org/packages/mralaminahamed/fluent-cart-pro-stubs)[ Docs](https://github.com/mralaminahamed/phpstan-fluent-cart-pro-stubs)[ RSS](/packages/mralaminahamed-fluent-cart-pro-stubs/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (3)Used By (0)

Fluent Cart Pro Stubs
=====================

[](#fluent-cart-pro-stubs)

[![Latest Version](https://camo.githubusercontent.com/3d1766a2ba70bffd7953e6f53dd551a27643ddbe129117419a6d2829c5ce77ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d72616c616d696e6168616d65642f666c75656e742d636172742d70726f2d73747562732e7376673f636f6c6f723d344343363145267374796c653d666c61742d737175617265)](https://packagist.org/packages/mralaminahamed/fluent-cart-pro-stubs)[![Downloads](https://camo.githubusercontent.com/c322697cfbf772ab8e34a3e2b7e5e75833d7db8eb931911ca3c3e1b5de36197d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d72616c616d696e6168616d65642f666c75656e742d636172742d70726f2d73747562732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mralaminahamed/fluent-cart-pro-stubs/stats)[![License](https://camo.githubusercontent.com/a210b563ce5ccb7ef5763ed57c5b9a9f6be0588627c4d486e8a5a5af48463db3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d72616c616d696e6168616d65642f666c75656e742d636172742d70726f2d73747562732e7376673f7374796c653d666c61742d737175617265)](./LICENSE)[![PHP Version](https://camo.githubusercontent.com/2635137afde302d65b81db8037d2cd537e32663c8b55b36389bcb36e3aafad76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d72616c616d696e6168616d65642f666c75656e742d636172742d70726f2d73747562732e7376673f7374796c653d666c61742d737175617265)](./composer.json)

PHP stub declarations for [Fluent Cart Pro](https://fluentcart.com/), for IDE completion and static analysis. Generated with [php-stubs/generator](https://github.com/php-stubs/generator) from the plugin source.

Generated from **Fluent Cart Pro 1.5.3** — 200 classes · 2 interfaces · 4 traits · 7 constants.

📋 Requirements
--------------

[](#-requirements)

- PHP &gt;= 7.4
- [`mralaminahamed/fluent-cart-stubs`](https://github.com/mralaminahamed/phpstan-fluent-cart-stubs), installed automatically: Pro extends the free plugin, so its declarations only resolve alongside them.

📦 Installation
--------------

[](#-installation)

```
composer require --dev mralaminahamed/fluent-cart-pro-stubs
```

🔧 Configuration
---------------

[](#-configuration)

```
parameters:
    scanFiles:
        # The free plugin first — Pro's classes extend it.
        - vendor/mralaminahamed/fluent-cart-stubs/fluent-cart-stubs.stub
        - vendor/mralaminahamed/fluent-cart-stubs/fluent-cart-constants-stubs.stub
        - vendor/mralaminahamed/fluent-cart-pro-stubs/fluent-cart-pro-stubs.stub
        - vendor/mralaminahamed/fluent-cart-pro-stubs/fluent-cart-pro-constants-stubs.stub
```

⚠️ Notes specific to a paid plugin
----------------------------------

[](#️-notes-specific-to-a-paid-plugin)

**No source is redistributed here, and regeneration needs a licence.** Fluent Cart Pro is commercial and has no WordPress.org endpoint, so this repository carries only generated declarations — empty method bodies and signatures. There are no release scripts that poll for new versions, because there is nothing public to poll; to regenerate, unpack a licensed copy at `source/fluent-cart-pro` and run `composer generate`.

That also means the stubs lag behind Pro releases until someone with a licence regenerates them. Pin the version you tested against rather than tracking a range loosely.

⚠️ General limitations
----------------------

[](#️-general-limitations)

- **Stubs are a snapshot** of Fluent Cart Pro 1.5.3. Regenerate when a signature changes.
- **Method bodies are empty by design.** Never load these files at runtime.
- **Only top-level constants are captured.** All seven of Pro's are. A constant defined inside a function or method is invisible to any stub generator — declare those in your own `bootstrapFiles` or under PHPStan's `dynamicConstantNames`.
- **The WPFluent framework is not duplicated here.** It ships inside the free plugin, namespaced as `FluentCart\Framework`, and comes from `fluent-cart-stubs`. Declaring it twice would have PHPStan reporting redeclarations.

🔄 Regenerating
--------------

[](#-regenerating)

```
composer install
# unpack a licensed copy of Fluent Cart Pro at source/fluent-cart-pro
composer generate
```

📁 Package structure
-------------------

[](#-package-structure)

```
phpstan-fluent-cart-pro-stubs/
├── bin/generate.sh                     # regeneration, from a locally supplied source
├── configs/                            # finder.php (what to read), bootstrap.php (WP constants)
├── source/                             # licensed plugin source, gitignored
├── tests/                              # smoke tests over the generated stubs
├── fluent-cart-pro-stubs.stub              # classes, interfaces, traits
├── fluent-cart-pro-constants-stubs.stub    # constants only
└── phpstan.neon                        # analyses the stubs themselves

```

📝 License
---------

[](#-license)

The tooling here is MIT. The generated declarations derive from Fluent Cart Pro, which is commercial software: they exist so static analysis can resolve its API, and they are not a substitute for a licence or a means of redistributing it. See [LICENSE](./LICENSE).

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance100

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34349365?v=4)[Al Amin Ahamed](/maintainers/mralaminahamed)[@mralaminahamed](https://github.com/mralaminahamed)

---

Top Contributors

[![mralaminahamed](https://avatars.githubusercontent.com/u/34349365?v=4)](https://github.com/mralaminahamed "mralaminahamed (3 commits)")

---

Tags

PHPStanwordpressstatic analysisstubsecommercefluent-cartfluent-cart-pro

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mralaminahamed-fluent-cart-pro-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/mralaminahamed-fluent-cart-pro-stubs/health.svg)](https://phpackages.com/packages/mralaminahamed-fluent-cart-pro-stubs)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
