iamproperty/laravel-tal

TAL (Template Attribute Language) template engine for Laravel

0.1.0 2019-05-24 12:19 UTC

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');