2017 © Pedro Peláez
 

library blitz-view

image

cxbyte/blitz-view

  • Tuesday, September 3, 2013
  • by cxbyte
  • Repository
  • 3 Watchers
  • 3 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

BlitzView - Laravel View Replacement

BlitzView replaces the default Laravel View class with the Blitz Template Engine., (*1)

Installation Blitz

wget http://alexeyrybak.com/blitz/blitz-0.8.6.tar.gz, (*2)

tar zxvf blitz-0.8.6.tar.gz, (*3)

cd blitz-0.8.6, (*4)

phpize, (*5)

./configure, (*6)

make install, (*7)

in php.ini add extension=blitz.so, (*8)

Installation BlitzView

in your app composer.json add, (*9)

"require": {

...
    "cxbyte/blitz-view": "dev-master"
},

then in your app root directory, (*10)

composer.phar update, (*11)

Loading composer repositories with package information Updating dependencies (including require-dev) - Installing cxbyte/blitz-view (dev-master 45223c2) Downloading: 100%, (*12)

Writing lock file Generating autoload files, (*13)

all fine, then in app config file (/app/config/app.php) add service provider, (*14)

'providers' => array(

    ...
    'Cxbyte\BlitzView\BlitzViewServiceProvider',
),

Using BlitzView

You can use views as usually, (*15)

create view file index.tpl, (*16)

and in your controller, (*17)

class HomeController extends BaseController {, (*18)

public function HomePage()

{
    return View::make('index', array());
}

}, (*19)

That's all :-), (*20)

The Versions

03/09 2013

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Avatar cxbyte