Download the PHP package mralaminahamed/fluent-cart-pro-stubs without Composer
On this page you can find all versions of the php package mralaminahamed/fluent-cart-pro-stubs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mralaminahamed/fluent-cart-pro-stubs
More information about mralaminahamed/fluent-cart-pro-stubs
Files in mralaminahamed/fluent-cart-pro-stubs
Package fluent-cart-pro-stubs
Short Description Fluent Cart Pro function and class declaration stubs for static analysis.
License MIT
Homepage https://github.com/mralaminahamed/phpstan-fluent-cart-pro-stubs
Informations about the package fluent-cart-pro-stubs
Fluent Cart Pro Stubs
PHP stub declarations for Fluent Cart Pro, for IDE completion and static analysis. Generated with php-stubs/generator from the plugin source.
Generated from Fluent Cart Pro 1.5.3 — 200 classes · 2 interfaces · 4 traits · 7 constants.
📋 Requirements
- PHP >= 7.4
mralaminahamed/fluent-cart-stubs, installed automatically: Pro extends the free plugin, so its declarations only resolve alongside them.
📦 Installation
🔧 Configuration
⚠️ 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
- 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
bootstrapFilesor under PHPStan'sdynamicConstantNames. - The WPFluent framework is not duplicated here. It ships inside the free plugin, namespaced
as
FluentCart\Framework, and comes fromfluent-cart-stubs. Declaring it twice would have PHPStan reporting redeclarations.
🔄 Regenerating
📁 Package structure
📝 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.