2017 © Pedro Peláez
 

library bootstrapsmarty

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

image

battis/bootstrapsmarty

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  • Wednesday, May 24, 2017
  • by battis
  • Repository
  • 2 Watchers
  • 0 Stars
  • 231 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

BootstrapSmarty

Latest Version Scrutinizer Code Quality, (*1)

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment, (*2)

Install

Because this makes use of front-end files managed via Bower, as well as the back-end managed by Composer, it is really, really, super-helpful to run the following command before trying to work with this package:, (*3)

composer global require "fxp/composer-asset-plugin:^1.1"

Find out more about fxp/composer-asset-plugin and Bower., (*4)

And then, include in composer.json:, (*5)

"require": {
  "battis/bootstrapsmarty": "~1.0"
}

Use

If you have no templates of your own:, (*6)

use Battis\BootstrapSmarty\BootstrapSmarty;
$smarty = BootstrapSmarty::getSmarty();

// ...app logic...

$smarty->assign('content', '

whatever content you want displayed, (*7)

'); $smarty->display();

If you have your own templates directory:, (*8)

$smarty->addTemplateDir('path/to/your/templates_dir');

If you have your own stylesheet:, (*9)

$smarty->addStylesheet('path/to/your/stylesheet.css');

Complete API documentation is included in the repo and the Smarty API documentation is also online., (*10)

The Versions

24/05 2017

dev-master

9999999-dev

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

24/05 2017

dev-develop

dev-develop

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

24/05 2017

v2.0.1

2.0.1.0

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

01/08 2016

v2.0

2.0.0.0

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

14/04 2016

v1.1.2

1.1.2.0

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

The Development Requires

by Seth Battis

31/03 2016

v1.1.1

1.1.1.0

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

The Development Requires

by Seth Battis

17/03 2016

v1.1

1.1.0.0

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

14/03 2016

v1.0.1

1.0.1.0

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

09/12 2015

v1.0

1.0.0.0

A wrapper for Smarty to set (and maintain) defaults within a Bootstrap UI environment

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis