diego/laravel-fluid-bridge

TYPO3.Fluid support for Laravel.
14 3
Install
composer require diego/laravel-fluid-bridge
License:MIT
Last Updated:Sep 7, 2016
Links: GitHub  ·  Packagist
Maintainer: sirdiego

Installation

composer require diego/laravel-fluid-bridge dev-master

In the config/app.php add FluidServiceProvider to the providers section.

'providers' => [
	Diego\Fluid\FluidServiceProvider::class,
],

Usage

The Laravel Way

By default you can now resolve ".html" templates with the normal view('name') call. These files will be rendered by TYPO3.Fluid.

The Extbase Way

Further more you can exten the Diego\Fluid\Controller\AbstractFluidController instead of the BaseController and use the view like in Extbase:

class Page extends AbstractFluidController
{
    public function welcome()
    {
        $this->view->assign('name', 'John');
    }
}

This will resolve the template name to resources/views/Templates/Page/Welcome.html automatically and will render the template after the action is finished.

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440