2017 © Pedro Peláez
 

library cable-view

View library for cable framework

image

cable/cable-view

View library for cable framework

  • Friday, June 9, 2017
  • by anonymframework
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

View

View Library For Cable Framework, (*1)


$container = \Cable\Container\Factory::create(); $container->singleton( \Cable\Config\Config::class, function () { return new Cable\Config\Config( array( 'view' => [ 'path' => 'view/', 'cache' => 'cache/', ], ) ); } ); $container->addProvider(\Cable\View\ViewServiceProvider::class);

Blade



$blade = $container->make(\Cable\View\BladeDriverInterface::class); echo $blade->make('index', array( 'test' => 'hello world' ));

Twig

```php, (*2)

$container->addProvider(\Cable\View\TwigServiceProvider::class);, (*3)

$twig = $twig->with('test', 'hello world') ->make('index.html');, (*4)

```, (*5)

view: 'app/view' cache: 'storage/cache', (*6)

The Versions

09/06 2017

dev-master

9999999-dev

View library for cable framework

  Sources   Download

MIT

The Requires

 

by Avatar anonymframework

09/06 2017

1.0.4

1.0.4.0

View library for cable framework

  Sources   Download

MIT

The Requires

 

by Avatar anonymframework

09/06 2017

1.0.3

1.0.3.0

View library for cable framework

  Sources   Download

MIT

The Requires

 

by Avatar anonymframework

09/06 2017

1.0.2

1.0.2.0

View library for cable framework

  Sources   Download

MIT

The Requires

 

by Avatar anonymframework

05/06 2017

1.0.1

1.0.1.0

View library for cable framework

  Sources   Download

MIT

The Requires

 

by Avatar anonymframework

05/06 2017

1.0.0

1.0.0.0

View library for cable framework

  Sources   Download

MIT

The Requires

 

by Avatar anonymframework