2017 © Pedro Peláez
 

symfony-bundle useful-bundle

Symfony ShtumiUsefulBundle

image

weasty/useful-bundle

Symfony ShtumiUsefulBundle

  • Monday, February 15, 2016
  • by ja1cap
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 67 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % 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

15/02 2016

dev-master

9999999-dev

Symfony ShtumiUsefulBundle

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Mikhail Shtukin

ajax autocomplete form type dependent filtered form type daterange shtumi

15/02 2016

dev-stable

dev-stable

Symfony ShtumiUsefulBundle

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Mikhail Shtukin

ajax autocomplete form type dependent filtered form type daterange shtumi

15/02 2016

v2.0.1

2.0.1.0

Symfony ShtumiUsefulBundle

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Mikhail Shtukin

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