2017 © Pedro Peláez
 

symfony-bundle shtumi-useful-bundle

Symfony ShtumiUsefulBundle

image

avalia/shtumi-useful-bundle

Symfony ShtumiUsefulBundle

  • Tuesday, January 24, 2017
  • by AleF87
  • Repository
  • 4 Watchers
  • 0 Stars
  • 55 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 67 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

ShtumiUsefulBundle - make typical things easier

ShtumiUsefulBundle provides some useful things that needed almost in every project. It's:, (*1)

Form types:, (*2)

DQL extra functions:, (*6)

  • IF, (*7)

  • IFNULL, (*8)

  • ROUND, (*9)

  • DATE_DIFF, (*10)

You can use Ajax autocomplete form type as a filter type with SonataAdminBundle, (*11)

Installation

Add the following lines to your deps file and then run php bin/vendors install:

[ShtumiUsefulBundle]
    git=https://github.com/shtumi/ShtumiUsefulBundle.git
    target=bundles/Shtumi/UsefulBundle

For Symfony 2.0 please use branch 2.0 of ShtumiUsefulBundle:, (*12)

[ShtumiUsefulBundle]
    git=https://github.com/shtumi/ShtumiUsefulBundle.git
    target=bundles/Shtumi/UsefulBundle
    version=origin/2.0

You also should install SonataAdminBundle and all dependencies for it., (*13)

Add ShtumiUsefulBundle to your application kernel

    // app/AppKernel.php
    public function registerBundles()
    {
        return array(
            // ...
            new Shtumi\UsefulBundle\ShtumiUsefulBundle(),
            // ...
        );
    }

Register the ShtumiUsefulBundle namespace

    // app/autoload.php
    $loader->registerNamespaces(array(
        'Shtumi'            => __DIR__.'/../vendor/bundles',
        // your other namespaces
    ));

Import routes

// app/config/routing.yml, (*14)

shtumi_useful:
    resource: '@ShtumiUsefulBundle/Resources/config/routing.xml'

Update your configuration

Add form theming to twig

twig:
    ...
    form:
        resources:
            - ShtumiUsefulBundle::fields.html.twig

Update your configuration in accordance with using ShtumiUsefulBundle things, (*15)

Load jQuery to your views

    <script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>

The Versions

24/01 2017

dev-symfony3

dev-symfony3

Symfony ShtumiUsefulBundle

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Mikhail Shtukin
by Alessandro Friscia

ajax autocomplete form type dependent filtered form type daterange shtumi

02/05 2016

dev-master

9999999-dev

Symfony ShtumiUsefulBundle

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Mikhail Shtukin
by Alessandro Friscia

ajax autocomplete form type dependent filtered form type daterange shtumi

23/04 2014

2.0.x-dev

2.0.9999999.9999999-dev

Symfony ShtumiUsefulBundle

  Sources   Download

MIT

The Requires

 

by Mikhail Shtukin

ajax autocomplete form type dependent filtered form type daterange shtumi