PHPackages                             quanzo/x51-shortcode - 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. quanzo/x51-shortcode

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

quanzo/x51-shortcode
====================

Implementation shortcodes

1.0.0(6y ago)081MITPHPPHP &gt;=5.6

Since Aug 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/quanzo/x51-shortcode)[ Packagist](https://packagist.org/packages/quanzo/x51-shortcode)[ RSS](/packages/quanzo-x51-shortcode/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (1)

Shortcodes
==========

[](#shortcodes)

### Add

[](#add)

```
$shortcodes = \x51\classes\shortcode\Shortcode::getInstance();
$shortcodes->add('bold', function ($arParams, $content = ''){
    return ''.$content.'';
});

```

### Processing

[](#processing)

```
echo $shortcodes->process($content);

```

### Remove

[](#remove)

```
$shortcodes->remove('bold');

```

```
$shortcodes->clear();

```

### Exist

[](#exist)

```
if ($shortcodes->exists('bold')) {
....
}

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

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

Unknown

Total

1

Last Release

2445d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10706162?v=4)[quanzo](/maintainers/quanzo)[@quanzo](https://github.com/quanzo)

---

Top Contributors

[![quanzo](https://avatars.githubusercontent.com/u/10706162?v=4)](https://github.com/quanzo "quanzo (6 commits)")

---

Tags

shortcode

### Embed Badge

![Health badge](/badges/quanzo-x51-shortcode/health.svg)

```
[![Health](https://phpackages.com/badges/quanzo-x51-shortcode/health.svg)](https://phpackages.com/packages/quanzo-x51-shortcode)
```

###  Alternatives

[pingpong/shortcode

Laravel - Simple shortcode based on wordpress shortcode

4040.0k1](/packages/pingpong-shortcode)[sheadawson/silverstripe-shortcodable

Provides a GUI for CMS users to insert Shortcodes into the HTMLEditorField + an API for developers to define Shortcodable DataObjects and Views

5018.1k5](/packages/sheadawson-silverstripe-shortcodable)

PHPackages © 2026

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