2017 © Pedro Peláez
 

symfony-bundle templatebundle

Symfony Template Bundle

image

benmacha/templatebundle

Symfony Template Bundle

  • Monday, May 21, 2018
  • by BenMacha
  • Repository
  • 1 Watchers
  • 0 Stars
  • 46 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Template Bundle

By D'Ali Ben Macha contact@benmacha.tn https://dali.benmacha.tn

Symfony bundle to generate template with a nice design in your Symfony application., (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Installation

The easiest way to install and configure the TemplateBundle with Symfony is by using Composer: Add the benmacha/templatebundle package to your require section in the composer.json file., (*3)

``` bash $ composer require benmacha/templatebundle ^1.0, (*4)

Add the Bundle to your application's kernel:

``` php

<?php
public function registerBundles()
{
    $bundles = array(
        // ...
            new Benmacha\TemplateBundle\BenmachaTemplateBundle(),
        // ...
    );
    ...
}

Configure the Bundle in your config.yml:, (*5)

``` yaml benmacha_template: site_name: 'Ben Macha' #required logo_path: 'bundles/benmachatemplate/img/logo-2.png' #required logo_path_mobile: 'bundles/benmachatemplate/img/logo-2-mob.png' #required user: class: AppBundle\Entity\User picture: image, (*6)



## Usage To generate a CRUD, run this command `NB: The menu will be generated ` ``` bash $ php bin/console benmacha:generate:crud

Don't forget to extend the repository like this, (*7)

``` php, (*8)

<?php, (*9)

namespace AppBundle\Repository;, (*10)

use Benmacha\TemplateBundle\Repository\BaseRepository; //add this line, (*11)

class UserRepository extends BaseRepository // make this extend { // Your code
}, (*12)

```, (*13)

The Versions

21/05 2018

dev-master

9999999-dev

Symfony Template Bundle

  Sources   Download

MIT

The Requires

 

by Ali Ben Macha

framework template bundle symfony class

24/01 2018

1.0.0

1.0.0.0

Symfony Template Bundle

  Sources   Download

MIT

The Requires

 

by Ali Ben Macha

framework template bundle symfony class

24/01 2018

1.0.1

1.0.1.0

Symfony Template Bundle

  Sources   Download

MIT

The Requires

 

by Ali Ben Macha

framework template bundle symfony class