fenom / providers-collection
Collection of additional providers
Installs: 5 391
Dependents: 2
Suggesters: 1
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=5.3
Requires (Dev)
- fenom/fenom: 2.*
- phpunit/phpunit: *
- satooshi/php-coveralls: dev-master
This package is auto-updated.
Last update: 2024-11-12 03:51:10 UTC
README
Install
composer require fenom/providers-collection
Multi directories template provider
Provider loads template from the filesystem. Provider supports multiple directories where to look for templates.
Create and configure provider
$provider = new Fenom\MultiPathsProvider([$path1, $path2]); $provider->addPath($path3); $provider->prependPath($path4);
Use the provider to create the object Fenom
$fenom = new Fenom($provider);
Use Fenom.