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

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

artygrand/shortcode
===================

Really simple shortcode parser without regex

v1.0.0(9y ago)1321[1 issues](https://github.com/artygrand/shortcode/issues)MITPHPPHP &gt;=5.3.0

Since Feb 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/artygrand/shortcode)[ Packagist](https://packagist.org/packages/artygrand/shortcode)[ Docs](https://github.com/artygrand/shortcode)[ RSS](/packages/artygrand-shortcode/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Shortcode standalone class
==========================

[](#shortcode-standalone-class)

Really simple shortcode parser without regex

- without regex
- nested shortcodes with unlimited level
- with aliases
- with the ability to show shortcode instead of compile it
- with predefined arguments

Install
-------

[](#install)

To install with composer:

```
composer require artygrand/shortcode
```

Requires PHP 5.3 or newer.

Usage
-----

[](#usage)

Here's a basic usage example:

```
