2017 © Pedro Peláez
 

library laravel-twig

This library integrates Twig with the standard Laravel 5 view framework.

image

synergitech/laravel-twig

This library integrates Twig with the standard Laravel 5 view framework.

  • Friday, June 15, 2018
  • by forestlovewood
  • Repository
  • 4 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel Twig

In active development, please do not report issues until the project is considered stable.

This package integrates Twig with the standard Laravel 5 view framework. The package is based on TwigBridge by Rob Crowe but has been modified and refactored for our requirements., (*1)

Install

First, install the package using Composer:, (*2)

composer require synergitech/laravel-twig

Next, export the configuration:, (*3)

php artisan vendor:publish --provider="SynergiTech\Twig\TwigServiceProvider"

Extensions

Once the configration is exported, you can enable third party extensions or add your own to the list of enabled extensions., (*4)

Extensions Included

  • Spatie Laravel Permission (Added role, hasrole, hasanyrole and hasallroles functions.)

Usage

Once the package is installed and configured to your liking, you're good to go. Start creating your templates as .twig files and the package will render and cache your templates., (*5)

Todo

  • Documentation throughout
  • Further refactoring
  • Unit testing

The Versions

15/06 2018

dev-master

9999999-dev https://github.com/synergitech/laravel-twig

This library integrates Twig with the standard Laravel 5 view framework.

  Sources   Download

MIT

The Requires

 

laravel twig view

15/06 2018

0.0.2

0.0.2.0 https://github.com/synergitech/laravel-twig

This library integrates Twig with the standard Laravel 5 view framework.

  Sources   Download

MIT

The Requires

 

laravel twig view

14/06 2018

0.0.1

0.0.1.0 https://github.com/synergitech/laravel-twig

This library integrates Twig with the standard Laravel 5 view framework.

  Sources   Download

MIT

The Requires

 

laravel twig view