2017 © Pedro Peláez
 

library patternlab-twig-laravel

Adds patternlab behaviour to laravel

image

daspete/patternlab-twig-laravel

Adds patternlab behaviour to laravel

  • Monday, June 6, 2016
  • by daspete
  • Repository
  • 2 Watchers
  • 0 Stars
  • 86 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Requirements

Laravel >= 5, (*1)

TwigBridge >= 0.7, (*2)

Installation

composer require daspete/patternlab-twig-laravel

Quickstart

Once you have installed the package, you need to register it and its dependencies in your app config -> /config/app.php, (*3)

add following lines to your 'providers' array:, (*4)

'providers' => [
    ...
    TwigBridge\ServiceProvider::class,
    Daspete\Laravel\ServiceProvider::class,
]

and add the TwigBridge Facade to your 'aliases' array:, (*5)

'aliases' => [
    ....
    'Twig' => TwigBridge\Facade\Twig::class,
]

after that, you need to publish the configs of this package and of the TwigBridge package:, (*6)

    php artisan vendor:publish --provider="TwigBridge\ServiceProvider"
    php artisan vendor:publish --provider="Daspete\Laravel\ServiceProvider"

and edit the new config in /config/twigbridge.php, insert the patternlab extension into the 'extension' array:, (*7)

'extensions' => [
    ...
    'enabled' => [
        ...
        'Daspete\Laravel\Patternlab',
    ],
]

Resource pack

to get everything working, you'll need some files and directories in the right place., (*8)

Download the Resource Pack and unzip the contents into the /resources/ folder., (*9)

The Versions

06/06 2016

dev-master

9999999-dev

Adds patternlab behaviour to laravel

  Sources   Download

MIT

The Requires

 

by Das PeTe

06/06 2016

v0.1.4

0.1.4.0

Adds patternlab behaviour to laravel

  Sources   Download

MIT

The Requires

 

by Das PeTe

01/06 2016

v0.1.2

0.1.2.0

Adds patternlab behaviour to laravel

  Sources   Download

MIT

The Requires

 

by Das PeTe

01/06 2016

v0.1.1

0.1.1.0

Adds patternlab behaviour to laravel

  Sources   Download

MIT

The Requires

 

by Das PeTe