Download the PHP package slad/useful-bundle without Composer
On this page you can find all versions of the php package slad/useful-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download slad/useful-bundle
More information about slad/useful-bundle
Files in slad/useful-bundle
Informations about the package useful-bundle
SladUsefulBundle - make typical things easier
SladUsefulBundle provides some useful things that needed almost in every project. It's:
Form types:
-
Ajax Autocomplete form type (useful when you operate with thousands and hundred thousands records [for instance: users])
-
Dependent filtered form type (useful when you need operate dependent entities in one form (for instance: countries/regions))
- Date range form type (allows you select date range with JS calendar and take valid DateRange object)
-
IF
-
IFNULL
-
ROUND
- DATE_DIFF
You can use Ajax autocomplete form type as a filter type with SonataAdminBundle
Installation
Add the following lines to your composer
file and then run composer update
:
You also should install SonataAdminBundle and all dependencies for it.
Add SladUsefulBundle to your application kernel
Import routes
// app/config/routing.yml
Update your configuration
Add form theming to twig
Update your configuration in accordance with using SladUsefulBundle things