spiral / stempler-bridge
Spiral Framework: Stempler Adapter
2.13.1
2022-05-16 19:48 UTC
Requires
- php: >=7.4
- spiral/boot: ^2.13.1
- spiral/config: ^2.13.1
- spiral/core: ^2.13.1
- spiral/files: ^2.13.1
- spiral/router: ^2.13.1
- spiral/stempler: ^2.13.1
- spiral/translator: ^2.13.1
- spiral/views: ^2.13.1
Requires (Dev)
- mockery/mockery: ^1.5
- phpunit/phpunit: ^8.5|^9.5
- spiral/dumper: ^2.13.1
- dev-master / 2.14.x-dev
- 2.13.1
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.1
- 2.10.0
- 2.9.x-dev
- 2.9.1
- 2.9.0
- 2.8.x-dev
- v2.8.12
- v2.8.10
- v2.8.9
- v2.8.8
- v2.8.7
- v2.8.5
- v2.8.4
- v2.8.2
- v2.8.1
- v2.8.0
- 2.7.x-dev
- v2.7.9
- v2.7.8
- v2.7.7
- v2.7.6
- v2.7.5
- v2.7.4
- v2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-feature/attributes
This package is auto-updated.
Last update: 2022-07-16 20:19:25 UTC
README
Installation
The extension requires spiral/views
package.
$ composer require spiral/stempler-bridge
To enable extension modify your application by adding Spiral\Stempler\Bootloader\StemplerBootloader
:
class App extends Kernel { /* * List of components and extensions to be automatically registered * within system container on application start. */ protected const LOAD = [ // ... Spiral\Stempler\Bootloader\StemplerBootloader::class, ]; }
Usage
You can now use view files via extension .dark.php
.
<extends:layouts.parent title="My Page"/> <use:element path="path/element"/> <block:content> <element label="hello world">{{ $variable }}</element> </block:content>