PHPackages                             leandrogoncalves/vcgen - 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. leandrogoncalves/vcgen

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

leandrogoncalves/vcgen
======================

This class was created to generate shortcodes of visual composer plugin,

084PHP

Since Nov 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/leandrogoncalves/vcgen)[ Packagist](https://packagist.org/packages/leandrogoncalves/vcgen)[ RSS](/packages/leandrogoncalves-vcgen/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

vcgen
=====

[](#vcgen)

=========

Version build 0.0.8

Introduction
------------

[](#introduction)

---

This Lib was created to generate shortcodes of visual composer plugin to Wordpress

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

[](#installation)

---

To use this, you should install dependencies with `Composer` first:

### Install dependencies

[](#install-dependencies)

---

```
$ composer install
```

Read more about how to install and use `Composer` on your local machine [here](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

### Install Vcgen

[](#install-vcgen)

---

First you should create a `composer.json` file in your wordpress project

```
  {
    "name": "Your project name",
    "description: "Your description",

    "repositories":[
      {
        "type":"composer",
        "url":"https://wpackagist.org"
      }
    ],

    "require": {
      "php": ">=5.3",
      "leandrogoncalves/vcgen":"dev-master"
    },

    "autoload": {
      "files": [
        "vendor/leandrogoncalves/vcgen/src/Vcgen_factory.php",
        "vendor/leandrogoncalves/vcgen/src/Vcgen_collection.php",
        "vendor/leandrogoncalves/vcgen/src/nodes/Vcgen_node.php",
        "vendor/leandrogoncalves/vcgen/src/nodes/Vcgen_row.php",
        "vendor/leandrogoncalves/vcgen/src/nodes/Vcgen_col.php",
        "vendor/leandrogoncalves/vcgen/src/nodes/Vcgen_text.php",
        "vendor/leandrogoncalves/vcgen/src/exceptions/NullException.php",
        "vendor/leandrogoncalves/vcgen/src/exceptions/ParameterException.php"
      ]
    }
  }
```

Contribute
----------

[](#contribute)

---

Please feel free to fork and extend existing or add your own examples and send a pull request with your changes! To establish a consistent code quality, please check your code using [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) against [PSR2 standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) using `./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .`.

License
-------

[](#license)

---

MIT License

Copyright (c) 2016 Leandro Gonçalves da Silva

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![leandrogoncalves](https://avatars.githubusercontent.com/u/12039813?v=4)](https://github.com/leandrogoncalves "leandrogoncalves (79 commits)")

### Embed Badge

![Health badge](/badges/leandrogoncalves-vcgen/health.svg)

```
[![Health](https://phpackages.com/badges/leandrogoncalves-vcgen/health.svg)](https://phpackages.com/packages/leandrogoncalves-vcgen)
```

PHPackages © 2026

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