PHPackages                             jakiboy/vanilleplugin-packager - 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. jakiboy/vanilleplugin-packager

ActiveLibrary

jakiboy/vanilleplugin-packager
==============================

Composer Namespaces Prefixer for WordPress Plugins

0.3.3(2y ago)140MITPHPPHP ^8.2.4

Since Mar 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/VanillePlugin/Packager)[ Packagist](https://packagist.org/packages/jakiboy/vanilleplugin-packager)[ RSS](/packages/jakiboy-vanilleplugin-packager/feed)WikiDiscussions main Synced today

READMEChangelog (7)DependenciesVersions (8)Used By (0)

VanillePlugin-Packager
======================

[](#vanilleplugin-packager)

VanillePlugin Packager is a **Composer Namespaces Prefixer for WordPress Plugins**, Used to prefix [VanillePlugin WordPress Plugin Framework](https://jakiboy.github.io/VanillePlugin/) And other composer dependencies.
Resolve **dependencies versions conflicts of WordPress plugins** built using Composer, Without hardcoding.

Works also for non Composer plugins, By Wrapping your dependencies with your own custom namespace, in order to avoid conflicts with **other plugins that are loading the same dependencies in different versions**.

```
__      __         _ _ _      _____  _             _         _____           _
\ \    / /        (_| | |    |  __ \| |           (_)       |  __ \         | |
 \ \  / __ _ _ __  _| | | ___| |__) | |_   _  __ _ _ _ __   | |__) __ _  ___| | ____ _  __ _  ___ _ __
  \ \/ / _` | '_ \| | | |/ _ |  ___/| | | | |/ _` | | '_ \  |  ___/ _` |/ __| |/ / _` |/ _` |/ _ | '__|
   \  | (_| | | | | | | |  __| |    | | |_| | (_| | | | | | | |  | (_| | (__|   | (_| | (_| |  __| |
    \/ \__,_|_| |_|_|_|_|\___|_|    |_|\__,_|\__, |_|_| |_| |_|   \__,_|\___|_|\_\__,_|\__, |\___|_|
                                              __/ |                                     __/ |
                                             |___/                                     |___/

```

⚡ Installing:
-------------

[](#-installing)

```
composer global require --dev jakiboy/vanilleplugin-packager

```

🔧 Getting Started:
------------------

[](#-getting-started)

### Display packager help:

[](#display-packager-help)

```
vanilleplugin -h
```

### Regenerate dependency namespaces:

[](#regenerate-dependency-namespaces)

```
vanilleplugin -regd -d "Foo/Bar/src" -l "FooBar" -p "prefix"
```

### Regenerate dependency namespaces with disabled capitalization (StudlyCaps):

[](#regenerate-dependency-namespaces-with-disabled-capitalization-studlycaps)

```
vanilleplugin -regd -d "Foo/Bar/src" -l "FooBar" -p "\!prefix"
```

### Regenerate dependency namespaces using random prefix:

[](#regenerate-dependency-namespaces-using-random-prefix)

```
vanilleplugin -regd -d "Foo/Bar/src" -l "FooBar"
```

### Regenerate VanillePlugin namespaces using random prefix:

[](#regenerate-vanilleplugin-namespaces-using-random-prefix)

```
vanilleplugin -reg
```

### Regenerate VanillePlugin namespaces:

[](#regenerate-vanilleplugin-namespaces)

```
vanilleplugin -reg "prefix"
```

### Regenerate VanillePlugin namespaces with disabled capitalization (StudlyCaps):

[](#regenerate-vanilleplugin-namespaces-with-disabled-capitalization-studlycaps)

```
vanilleplugin -reg "\!prefix"
```

### Test packaging prefixed namespaces with disabled capitalization (StudlyCaps):

[](#test-packaging-prefixed-namespaces-with-disabled-capitalization-studlycaps)

```
vanilleplugin -test "\!prefix"
```

📋 Options:
----------

[](#-options)

```
-d dependency source path (inside vendor folder)

```

```
-l dependency librairy name (Used in Namespaces)

```

```
-p Custom prefix

```

📋 Commands:
-----------

[](#-commands)

```
-regd Regenerate dependency namespaces

```

```
-reg Regenerate VanillePlugin namespaces

```

```
-test Test custom prefix after process

```

Contributing:
-------------

[](#contributing)

Please read [CONTRIBUTING.md](https://github.com/Jakiboy/VanillePlugin-Packager/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

Versioning:
-----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/Jakiboy/VanillePlugin-Packager/tags).

Authors:
--------

[](#authors)

- **Jihad Sinnaour** - [Jakiboy](https://github.com/Jakiboy) (*Initial work*)

See also the full list of [contributors](https://github.com/Jakiboy/VanillePlugin-Packager/contributors) who participated in this project. Any suggestions (Pull requests) are welcome!

License:
--------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](https://github.com/Jakiboy/VanillePlugin-Packager/blob/master/LICENSE) file for details.

Todo:
-----

[](#todo)

- Rebuild with **symfony/console**.
- Add **phpunit/phpunit**.
- Use **.phar**.
- Use dynamic **vendor** directory.
- Use dynamic **system** (Plugin) directory.
- Use **regex(i)** instead of pathinfo().
- Use **Lexer/Parser**

⭐ Support:
----------

[](#-support)

Please give it a Star if you like the project.

💡 Notice:
---------

[](#-notice)

- *Tested with VanillePlugin &amp; many composer dependencies (e.g. [Twig](https://twig.symfony.com/)), But use it at your own risk*.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~247 days

Total

7

Last Release

873d ago

PHP version history (4 changes)0.1.0PHP ^7.4|^8.0

0.3.0PHP ^7.2

0.3.1PHP ^7.2.5

0.3.3PHP ^8.2.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a9408e68876cf40312866dc080b26fda86fdd82efd2d82a09612077cb73af3c?d=identicon)[Jakiboy](/maintainers/Jakiboy)

---

Top Contributors

[![Jakiboy](https://avatars.githubusercontent.com/u/7604550?v=4)](https://github.com/Jakiboy "Jakiboy (32 commits)")

---

Tags

dependenciesphpprefixerwordpresswordpress-plugins-namespaces-prefixerphpwordpressdependenciesprefixerWordPress-plugins-namespaces-prefixer

### Embed Badge

![Health badge](/badges/jakiboy-vanilleplugin-packager/health.svg)

```
[![Health](https://phpackages.com/badges/jakiboy-vanilleplugin-packager/health.svg)](https://phpackages.com/packages/jakiboy-vanilleplugin-packager)
```

###  Alternatives

[nunomaduro/patrol

An elegant command-line tool that keeps your PHP Project's dependencies in check

271127.8k3](/packages/nunomaduro-patrol)[friedolinfoerder/wp-activerecord

An ActiveRecord implementation for WordPress

237.2k](/packages/friedolinfoerder-wp-activerecord)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

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