2017 © Pedro PelĂĄez
 

symfony-bundle datetimepicker-bundle

Symfony bundle for Bootstrap3 DateTime picker

image

mablae/datetimepicker-bundle

Symfony bundle for Bootstrap3 DateTime picker

  • Sunday, May 13, 2018
  • by mablae
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,912 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

DatetimepickerBundle

Warning: This is abadoned and incomplete! Uses at your own rik., (*1)

Packagist, (*2)

This bundle implements the Bootstrap DateTime Picker v4 in a Form Type for Symfony 2.*. The bundle structure is inspired by GenemuFormBundle., (*3)

Please feel free to contribute, to fork, to send merge request and to create ticket., (*4)

Installation

Step 1: Install DatetimepickerBundle

php composer.phar require mablae/datetimepicker-bundle

Step 2: Enable the bundle

``` php <?php // app/AppKernel.php, (*5)

public function registerBundles() { $bundles = array( // ... new Mablae\DatetimepickerBundle\MablaeDatetimepickerBundle(), ); }, (*6)


``` yml # app/config/config.yml mablae_datetimepicker: picker: ~

Step 3: Install moment.js and Bootstrap3 Datepicker

This bundle does not handle an asset minification or loading. Just use gulp or webpack., (*7)

http://eonasdan.github.io/bootstrap-datetimepicker/Installing/

Usages

``` php <?php // ... use Mablae\DatetimepickerBundle\Form\Type\DateTimeType;, (*8)

public function buildForm(FormBuilder $builder, array $options) { $builder // defaut options ->add('createdAt', DateTimeType::class), (*9)

    // full options
    ->add('updatedAt', DateTimeType::class, array( 'pickerOptions' =>
        array('format' => 'mm/dd/yyyy',
            'viewMode' => 'days', // days, month, years, decades

            ))); 

}, (*10)



Include the javascript needed to initialize the widget: ``` jinja2 ... {{ form_javascript(your.form.field) }} ...

The Versions

13/05 2018

dev-master

9999999-dev

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.2.3

0.2.3.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.2.2

0.2.2.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.2.1

0.2.1.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.2.0

0.2.0.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.1.6

0.1.6.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.1.5

0.1.5.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.1.4

0.1.4.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

16/02 2016

0.1.2

0.1.2.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker

15/02 2016

0.1.0

0.1.0.0

Symfony bundle for Bootstrap3 DateTime picker

  Sources   Download

MIT

The Requires

 

by Malte BlÀttermann

bootstrap bundle symfony datepicker timepicker picker