Giter VIP home page Giter VIP logo

smartybundle's Introduction

SmartyBundle

This Symfony2 bundle provides integration for the Smarty3 template engine.

Build Status

Caution: This bundle is developed in sync with Symfony's repository. For maximum compatibility with Symfony 2.0.x, you need to use releases 1.0.x of this bundle.

Requirements

Installation

SmartyBundle is composer-friendly.

1. Add SmartyBundle in your composer.json

{
    "require": {
        "noiselabs/smarty-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update noiselabs/smarty-bundle

Composer will install the bundle to your project's vendor/noiselabs directory.

2. Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new NoiseLabs\Bundle\SmartyBundle\SmartyBundle(),
    );
}

3. Enable the Smarty template engine in the config

    # app/config/config.yml
    framework:
        templating:      { engines: ['twig', 'smarty'] }

For other installation methods (Symfony-2.0 vendors script or git submodules) please refer to the documentation below.

Documentation

Complete documentation is available in the SmartyBundle website.

Extensions under development

If you want to contribute to SmartyBundle please switch to the following branches when contributing to one of these extensions.

License

This bundle is licensed under the LGPLv3 License. See the LICENSE file for details.

Authors

Vítor Brandão - [email protected] ~ twitter.com/noiselabs ~ blog.noiselabs.org

See also the list of contributors who participated in this project.

Submitting bugs and feature requests

Bugs and feature requests are tracked on GitHub.

smartybundle's People

Contributors

vitorbrandao avatar maoueh avatar pjparra avatar

Watchers

Paweł Mikołajczuk avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.