iamproperty / laravel-tal
TAL (Template Attribute Language) template engine for Laravel
0.1.0
2019-05-24 12:19 UTC
Requires
- illuminate/support: ^5.8
- phptal/phptal: ^1.4
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-29 06:04:11 UTC
README
TAL (Template Attribute Language) template engine for Laravel and Lumen
Installation For Laravel
Require this package with Composer
$ composer require iamproperty/laravel-tal
If you don't use package auto-discovery you can add the service provider to your config.app.php
.
'providers' => [ IAMProperty\LaravelTal\TalServiceProvider::class, ]
Installation For Lumen
Require this package with Composer
$ composer require iamproperty/laravel-tal
Register the service provider in your bootstrap/app.php
$app->register(IAMProperty\LaravelTal\TalServiceProvider::class);
Configuration
If you need to configure laravel-tal you can change setting in the configuration file.
Laravel
Publish the config file
$ php artisan vendor:publish --provider "IAMProperty\LaravelTal\TalServiceProvider"
Lumen
Copy the vendor/iamproperty/laravel-tal/config/tal.php
file to your local config directory.
$app->configure('tal');