PHPackages                             samhernandez/craft-shortcodes - 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. [Templating &amp; Views](/categories/templating)
4. /
5. samhernandez/craft-shortcodes

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

samhernandez/craft-shortcodes
=============================

Use Wordpress-style shortcodes in your Twig templates.

4.0.1(10mo ago)811.5k3[1 issues](https://github.com/verbb/shortcodes/issues)MITPHPPHP ^8.2

Since Nov 27Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/verbb/shortcodes)[ Packagist](https://packagist.org/packages/samhernandez/craft-shortcodes)[ GitHub Sponsors](https://github.com/verbb)[ RSS](/packages/samhernandez-craft-shortcodes/feed)WikiDiscussions craft-5 Synced 3d ago

READMEChangelog (10)Dependencies (3)Versions (16)Used By (0)

[![Shortcodes icon](https://camo.githubusercontent.com/0d660a78a23b3715997717361774d20ecbf42da4054cafb86df07cbe705caba8/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f73686f7274636f6465732f73686f7274636f6465732d69636f6e2e737667)](https://camo.githubusercontent.com/0d660a78a23b3715997717361774d20ecbf42da4054cafb86df07cbe705caba8/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f73686f7274636f6465732f73686f7274636f6465732d69636f6e2e737667)

Shortcodes for Craft CMS
========================

[](#shortcodes-for-craft-cms)

Shortcodes is a Craft CMS plugin that adds [WordPress style shortcodes](https://support.wordpress.com/shortcodes/) to custom templates or PHP class handlers.

Documentation
-------------

[](#documentation)

Visit the [Shortcodes Plugin page](https://verbb.io/craft-plugins/shortcodes) for all documentation, guides, pricing and developer resources.

Credit &amp; Thanks
-------------------

[](#credit--thanks)

Originally created by [Sam Hernandez](https://github.com/samhernandez).

Support
-------

[](#support)

Get in touch with us via the [Shortcodes Support page](https://verbb.io/craft-plugins/shortcodes/support) or by [creating a Github issue](https://github.com/verbb/shortcodes/issues)

Sponsor
-------

[](#sponsor)

Shortcodes is licensed under the MIT license, meaning it will always be free and open source – we love free stuff! If you'd like to show your support to the plugin regardless, [Sponsor](https://github.com/sponsors/verbb) development.

[ ![Verbb](https://camo.githubusercontent.com/98f2680f5948987cd8f4b418d67159eb0befb6da92060f286671b05bf39d40bd/68747470733a2f2f76657262622e696f2f6173736574732f696d672f76657262622d70696c6c2e737667)](https://verbb.io)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance66

Regular maintenance activity

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 65.2% 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 ~220 days

Recently: every ~265 days

Total

12

Last Release

301d ago

Major Versions

1.1.0 → 2.0.02022-08-22

2.0.0 → 3.0.02022-08-22

3.0.0 → 4.0.0-beta.12024-03-04

3.0.1 → 4.0.12025-07-18

PHP version history (2 changes)3.0.0PHP ^8.0.2

4.0.0-beta.1PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![engram-design](https://avatars.githubusercontent.com/u/1221575?v=4)](https://github.com/engram-design "engram-design (30 commits)")[![samhernandez](https://avatars.githubusercontent.com/u/123042?v=4)](https://github.com/samhernandez "samhernandez (14 commits)")[![daltonrooney](https://avatars.githubusercontent.com/u/742045?v=4)](https://github.com/daltonrooney "daltonrooney (2 commits)")

---

Tags

cmsshortcodesCraftcraftcmscraft-plugin

### Embed Badge

![Health badge](/badges/samhernandez-craft-shortcodes/health.svg)

```
[![Health](https://phpackages.com/badges/samhernandez-craft-shortcodes/health.svg)](https://phpackages.com/packages/samhernandez-craft-shortcodes)
```

###  Alternatives

[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[lewisjenkins/craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.

14667.0k](/packages/lewisjenkins-craft-dynamic-fields)[nystudio107/craft-minify

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

37461.2k29](/packages/nystudio107-craft-minify)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.3k](/packages/verbb-footnotes)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1086.4k](/packages/jalendport-craft-preparse)

PHPackages © 2026

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