PHPackages                             aarsteinmedia/js\_composer-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aarsteinmedia/js\_composer-stubs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aarsteinmedia/js\_composer-stubs
================================

WPBakery Page Builder function, class, and global variable declaration stubs for easier static analysis.

6.10.1(1y ago)170GPL-2.0+PHP

Since Oct 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/aarsteinmedia/js_composer-stubs)[ Packagist](https://packagist.org/packages/aarsteinmedia/js_composer-stubs)[ Docs](https://github.com/aarsteinmedia/js_composer-stubs)[ RSS](/packages/aarsteinmedia-js-composer-stubs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

WPBakery Page Builder Stubs
===========================

[](#wpbakery-page-builder-stubs)

This package provides stub declarations for [WPB\_VC\_](http://wpbakery.com) core functions, classes, interfaces, and global variables. These stubs can help plugin and theme developers leverage static analysis tools like [Psalm](https://getpsalm.org/) and plugins like Intellisense, Intelephense.

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

[](#installation)

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

```
composer require --dev aarsteinmedia/js_composer-stubs

```

Alternatively, you may download `js_composer-stubs.php` directly.

Usage with Psalm
----------------

[](#usage-with-psalm)

Update your Psalm config to include the section:

```

```

Furthermore, ensure WPBakery Page Builder core code is *not* included under ``.

Usage for Intellisense
----------------------

[](#usage-for-intellisense)

If your editor has trouble parsing all of WPBakery Page Builder classes, functionc, etc, you may find the stubs useful for enabling code completion and related features. For example, [here](https://github.com/bmewburn/vscode-intelephense/issues/113) are instructions for usage with VSCode's [Intelephense](https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client) extension. Or in a local workspace for intelephense create a `.php` file and add `{ "intelephense.stubs": [ "/vendor/aarsteinmedia/js_composer-stubs/js_composer-stubs.php" ] }`

Versioning
----------

[](#versioning)

This package is versioned to match the WPBakery Page Builder version from which the stubs are generated. If any fixes to stubs are required, subsequent releases will be versioned as `WPB_VC_VERSION.X`.

### License

[](#license)

[GPLv2](LICENSE)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

2

Last Release

563d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0294903c3a76d1c777ea99fec3d63e208caa05ca23b261e53655e3ea666cf45b?d=identicon)[johanaarstein](/maintainers/johanaarstein)

---

Top Contributors

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

---

Tags

static analysisjs\_composer

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/aarsteinmedia-js-composer-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/aarsteinmedia-js-composer-stubs/health.svg)](https://phpackages.com/packages/aarsteinmedia-js-composer-stubs)
```

###  Alternatives

[phpdocumentor/reflection-common

Common reflection classes used by phpdocumentor to reflect the code structure

9.1k706.8M26](/packages/phpdocumentor-reflection-common)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

49998.1M8.3k](/packages/phpstan-extension-installer)[icanhazstring/composer-unused

Show unused packages by scanning your code

1.7k7.0M188](/packages/icanhazstring-composer-unused)[bmitch/churn-php

Discover files in need of refactoring.

1.4k1.5M12](/packages/bmitch-churn-php)[shipmonk/composer-dependency-analyser

Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)

6076.7M435](/packages/shipmonk-composer-dependency-analyser)

PHPackages © 2026

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