mralaminahamed / fluent-forms-stubs
Fluent Forms function and class declaration stubs for static analysis.
Package info
github.com/mralaminahamed/phpstan-fluent-forms-stubs
Language:Shell
pkg:composer/mralaminahamed/fluent-forms-stubs
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
- symfony/polyfill-php73: Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
- szepeviktor/phpstan-wordpress: WordPress extensions for PHPStan
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v6.2.13
- v6.2.12
- v6.2.10
- v6.2.9
- v6.2.7
- v6.2.6
- v6.2.5
- v6.2.4
- v6.2.3
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.21
- v6.1.20
- v6.1.19
- v6.1.18
- v6.1.17
- v6.1.16
- v6.1.15
- v6.1.14
- v6.1.13
- v6.1.12
- v6.1.11
- v6.1.10
- v6.1.9
- v6.1.8
- v6.1.7
- v6.1.6
- v6.1.5
- v6.1.4
- v6.1.3
- v6.1.2
- v6.1.1
- v6.1.0
- v6.0.4
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v5.2.12
- v5.2.11
- v5.2.10
- v5.2.9
- v5.2.8
- v5.2.7
- v5.2.6
- v5.2.5
- v5.2.4
- v5.2.3
- v5.2.2
- v5.2.1
- v5.2.0
- v5.1.20
- v5.1.19
- v5.1.18
- v5.1.17
- v5.1.16
- v5.1.15
- v5.1.14
- v5.1.13
- v5.1.12
- v5.1.11
- v5.1.10
- v5.1.9
- v5.1.8
- v5.1.7
- v5.1.5
- v5.1.4
- v5.1.3
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.12
- v5.0.11
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.3.25
- v4.3.24
- v4.3.23
- v4.3.22
- v4.3.21
- v4.3.20
- v4.3.19
- v4.3.18
- v4.3.17
- v4.3.16
- v4.3.15
- v4.3.14
- v4.3.13
- v4.3.12
- v4.3.11
- v4.3.10
- v4.3.9
- v4.3.8
- v4.3.7
- v4.3.6
- v4.3.5
- v4.3.4
- v4.3.3
- v4.3.2
- v4.3.1
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.51
- v4.1.5
- v4.1.0
- v4.0.1
- v4.0.0
- v3.6.74
- v3.6.73
- v3.6.72
- v3.6.71
- v3.6.70
- v3.6.69
- v3.6.68
- v3.6.67
- v3.6.66
- v3.6.65
- v3.6.64
- v3.6.62
- v3.6.61
- v3.6.60
- v3.6.51
- v3.6.50
- v3.6.42
- v3.6.41
- v3.6.40
- v3.6.31
- v3.6.22
- v3.6.21
- v3.6.2
- v3.6.0
- v3.5.6
- v3.5.5
- v3.5.4
- v3.5.3
- v3.5.2
- v3.5.1
- v3.5.0
- v3.2.4
- v3.2.3
- v3.2.0
- v3.1.5
- v3.1.0
- v3.0.8
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.3
- v3.0.1
- v3.0.0
- v2.0.1
- v2.0.0
- v1.8.0
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.0
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.4
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.1
- v1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
This package is auto-updated.
Last update: 2026-08-23 03:53:06 UTC
README
PHP stub declarations for the Fluent Forms plugin 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
- Regular updates with latest Fluent Forms plugin versions
📋 Requirements
- PHP >= 7.4
- Composer for dependency management
📦 Installation
Via Composer (Recommended)
# Install as a development dependency composer require --dev mralaminahamed/fluent-forms-stubs # Or specify a version composer require --dev mralaminahamed/fluent-forms-stubs:^2.0
Manual Installation
Download the stub files directly:
🔧 Basic Configuration
To use these stubs with PHPStan or your IDE, see our Usage Guide for detailed instructions.
🔍 Quick Usage Example
<?php // Your code will now have full IDE support $parser = new \FluentForm\App\Services\Form\FormDataParser(); // Parse submitted form data $parsedData = $parser->parseFormData($formData, $form); // Constants are properly defined if (FLUENTFORM_VERSION) { // Your implementation }
For advanced usage examples, see the Usage Guide.
📁 Package Structure
phpstan-fluent-forms-stubs/
├── bin/ # Scripts for generating and releasing stubs
├── configs/ # Configuration files for stub generation
├── docs/ # Detailed documentation
│ ├── usage.md # Usage guide
│ └── contributing.md # Contribution guidelines
├── fluent-forms-constants-stubs.stub # Constants stub file
├── fluent-forms-stubs.stub # Main stubs file with classes and functions
├── fluentform_versions.txt # Tracks supported Fluent Forms versions
├── phpstan.neon # PHPStan configuration
├── source/ # Source for generating stubs
└── tests/ # Test files
├── bootstrap.php # Test bootstrap
├── ConstantsTest.php # Constants tests
└── FluentFormsTest.php # Fluent Forms tests
🛠 Development
For information on building stubs, running tests, and contributing to the project, please see our Contributing Guide.
📚 Documentation
For more detailed information, check out our documentation:
- Usage Guide
- Contributing Guide
- Fluent Forms Documentation
- PHPStan Documentation
- PHP Stubs Generator Documentation
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- WPManageNinja for the Fluent Forms plugin
- php-stubs/generator for the stub generation tools
- All contributors to this project
💬 Support
For bug reports and feature requests, please use the GitHub Issues.
For questions and discussions, please use the GitHub Discussions.