Skip to content

schranz-templating/laminas-blade-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schranz Template Renderer Integration for Blade

Integrate the templating Blade Adapter into the Laminas Framework.

Part of the Schranz Templating Project.

Installation

Install this package via Composer:

composer require schranz-templating/laminas-blade-integration

Add the module to the config/modules.config.php.php:

return [
    // ...
    'Schranz\Templating\Integration\Laminas\Blade',
];

Configuration

The example and default configuration can be found in config/module.config.php.

Extensions

To extend Blade functionality you can create a new service extending from Blade\Extension the service need to be registered and its service name configured the module.config.php:

return [
    // ...
    'schranz_templating_blade' => [
        'extensions' => [
            \App\Blade\MyExtension::class,
            // or
            'my_extension',
        ],
    ],
];

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages