2017 © Pedro Peláez
 

symfony-bundle form-bundle

Add extra functionality to Symfony Form

image

wearejust/form-bundle

Add extra functionality to Symfony Form

  • Sunday, July 22, 2018
  • by ceesvanegmond
  • Repository
  • 5 Watchers
  • 1 Stars
  • 1,612 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 15 Versions
  • 15 % Grown

The README.md

wearejust/form-bundle

This package adds extra functionality to Symfony Form, (*1)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*2)

$ composer require wearejust/form-bundle "~0.1"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*3)

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*4)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Wearejust\FormBundle\WearejustFormBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Configure (reference)

// config.yml

wearejust_form:
    form:
        theme: WearejustFormBundle:Form:fields.html.twig

Step 3: Usage

Readonly Form Type

// SonataAdminBundle

<?php

use Wearejust\FormBundle\Form\Type\ReadonlyType;

class DataAmin extends AbstractAdmin
{

  ...

  /**
  * @param FormMapper $formMapper
  */
  protected function configureFormFields(FormMapper $formMapper)
  {
    $formMapper
      ->add('readonlyfield', ReadonlyType::class) // of course, this form type could also be used in Symfony FormBuilder
    ;
  }
}

The Versions

22/07 2018

1.x-dev

1.9999999.9999999.9999999-dev

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

22/07 2018

0.8.1

0.8.1.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

04/06 2018

0.8

0.8.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

19/04 2018

0.7.1

0.7.1.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

12/02 2018

0.7

0.7.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

28/12 2017

dev-feature/limited_input

dev-feature/limited_input

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

03/11 2017

0.5

0.5.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

03/11 2017

0.6

0.6.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

03/11 2017

0.4

0.4.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

06/10 2017

0.3

0.3.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

29/09 2017

0.2

0.2.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

22/09 2017

dev-feature/iphone_switch

dev-feature/iphone_switch

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

16/08 2017

dev-master

9999999-dev

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

15/08 2017

0.1.2

0.1.2.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires

 

10/08 2017

0.1

0.1.0.0

Add extra functionality to Symfony Form

  Sources   Download

MIT

The Requires