Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 400 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 400 Bytes

Loader tags and modifiers for Fenom from FS

Just like Smarty.

Install

Use composer:

{  
    "require": {
        "fenom/fs-entity-loader": "1.*"
    }
}

Setup

Add traits into your Fenom class:

class MyFenom extends Fenom {
    use Fenom\EntityLoaderTrait;
    use Fenom\FSEntityLoaderTrait;
}

Use

$fenom->addPluginDir('./plugins');

Format