primakurzy / shortcode
For Educational Purposes Only
Installs: 532
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Open Issues: 0
pkg:composer/primakurzy/shortcode
Requires
- thunderer/shortcode: >=0.7
README
Library Is For Educational Purposes Only
This library is only helper for great library https://github.com/thunderer/Shortcode
1. Installation:
The easiest way to install the library is using Composer:
composer require primakurzy/shortcode
Or simply download the PHP package from the src/ directory in this repository.
2. Loading:
If you're using Composer use the following include/require statement
<?php require "vendor/autoload.php"; // ...
otherwise:
<?php require "path/to/src/Processor.php"; // ...
3. A Simple Example:
// call library function echo primakurzy\Shortcode\Processor::process('folder/with/shortcodes', 'random number: [rand from=5 to=10]');