PHPackages                             mralaminahamed/wpforms-lite-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. [Testing &amp; Quality](/categories/testing)
4. /
5. mralaminahamed/wpforms-lite-stubs

ActiveLibrary[Testing &amp; Quality](/categories/testing)

mralaminahamed/wpforms-lite-stubs
=================================

WPForms Lite function and class declaration stubs for static analysis.

v1.9.4.2(1y ago)01.4kMITShell

Since May 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mralaminahamed/phpstan-wpforms-lite-stubs)[ Packagist](https://packagist.org/packages/mralaminahamed/wpforms-lite-stubs)[ Docs](https://github.com/mralaminahamed/phpstan-wpforms-lite-stubs)[ RSS](/packages/mralaminahamed-wpforms-lite-stubs/feed)WikiDiscussions main Synced 1mo ago

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

WPForms Lite Stubs
==================

[](#wpforms-lite-stubs)

[![Packagist stats](https://camo.githubusercontent.com/1e71900a696c9be497cec231b2fb8a64cb3d749e19905acfe7324deddec94f41/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d72616c616d696e6168616d65642f7770666f726d732d6c6974652d73747562732e737667)](https://packagist.org/packages/mralaminahamed/wpforms-lite-stubs/stats)[![Packagist](https://camo.githubusercontent.com/08f1a00a3045c390685a9ea0b22897b3f294a0996df52c957d4b62f7cb0b0c1d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d72616c616d696e6168616d65642f7770666f726d732d6c6974652d73747562732e7376673f636f6c6f723d344343363145267374796c653d706f706f7574)](https://packagist.org/packages/mralaminahamed/wpforms-lite-stubs)[![Tweet](https://camo.githubusercontent.com/f2c37423b05bb0697239f01a903bb61244243215e49041792283fa299469597a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54776565742d73686172652d6435643564353f7374796c653d736f6369616c266c6f676f3d74776974746572)](https://twitter.com/intent/tweet?text=https%3A%2F%2Fgithub.com%2Fmralaminahamed%2Fphpstan-wpforms-stubs&url=I%20use%20mralaminahamed%2Fphpstan-wpforms-stubs%20for%20IDE%20completion%20and%20static%20analysis)[![Build Status](https://camo.githubusercontent.com/a65f2fd56f79e4570e81600d2f0ea8c354d424b13cca6135501bfe3fc0b78553/68747470733a2f2f6170702e7472617669732d63692e636f6d2f6d72616c616d696e6168616d65642f7068707374616e2d7770666f726d732d6c6974652d73747562732e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/mralaminahamed/phpstan-wpforms-lite-stubs)

This package provides stub declarations for the [WPForms Lite plugin](https://wordpress.org/plugins/wpforms-lite/)functions, classes and interfaces. These stubs can help plugin and theme developers leverage IDE completion and static analysis tools like [PHPStan](https://github.com/phpstan/phpstan).

The stubs are generated directly from the [source](https://wordpress.org/plugins/wpforms-lite/)using [php-stubs/generator](https://github.com/php-stubs/generator).

Requirements
------------

[](#requirements)

- PHP &gt;=7.1

Installation
------------

[](#installation)

Require this package as a development dependency with [Composer](https://getcomposer.org).

```
composer require --dev mralaminahamed/wpforms-lite-stubs
```

Alternatively you may download `wpforms-stubs.stub` directly.

Usage in PHPStan
----------------

[](#usage-in-phpstan)

Include stubs in PHPStan configuration file.

```
parameters:
    bootstrapFiles:
        - vendor/mralaminahamed/wpforms-lite-stubs/wpforms-constants-stubs.stub
        - vendor/mralaminahamed/wpforms-lite-stubs/wpforms-stubs.stub
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance47

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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 ~6 days

Recently: every ~0 days

Total

54

Last Release

394d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8e259693672819cda4c451169f5fb48998b3cc2c2bbfe36d19a188a04c86536?d=identicon)[mralaminahamed](/maintainers/mralaminahamed)

---

Top Contributors

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

---

Tags

PHPStanwordpressstatic analysiswpforms

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mralaminahamed-wpforms-lite-stubs/health.svg)

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M898](/packages/szepeviktor-phpstan-wordpress)[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[php-stubs/acf-pro-stubs

Advanced Custom Fields PRO stubs for static analysis.

73692.8k50](/packages/php-stubs-acf-pro-stubs)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

21830.6M587](/packages/phpcompatibility-phpcompatibility-wp)[ekino/phpstan-banned-code

Detected banned code using PHPStan

2925.6M92](/packages/ekino-phpstan-banned-code)

PHPackages © 2026

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