schranz-templating / spiral-spiral-view-integration
A integration of template renderer into spiral via spiral view template engine.
0.1.0
2022-11-14 21:24 UTC
Requires
- php: ^8.1
- schranz-templating/spiral-view-adapter: ^0.1
- spiral/boot: ^3.0
- spiral/config: ^3.0
- spiral/core: ^3.0
- spiral/views: ^3.0
README
Integrate the templating SpiralView Adapter into the Spiral Framework.
Part of the Schranz Templating Project.
Installation
Install this package via Composer:
composer require schranz-templating/spiral-spiral-view-integration
Register the Bootloader class in your app/src/Application/Kernel.php
if not already automatically
added by the framework:
class Kernel extends \Spiral\Framework\Kernel { protected const LOAD = [ // ... \Schranz\Templating\Integration\Spiral\SpiralView\Bootloader\SpiralViewBootloader::class, ]; }
Configuration
The Spiral View Integration has currently no configuration as LSpiralView is supported out of the box by Spiral and can be configured via the Spiral View Configuration.