2017 © Pedro Peláez
 

symfony-bundle markupfieldbundle

Markup form field Bundle

image

mdespeuilles/markupfieldbundle

Markup form field Bundle

  • Saturday, April 1, 2017
  • by mdespeuilles
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

MarkupFieldBundle

SensioLabsInsight, (*1)

This bundle provides a markup form field for Symfony. This bundle is useful to create fake field wich contains text or HTML., (*2)

Installation

Installation

To install MarkupFieldBundle with Composer just type in your terminal:, (*3)

php composer.phar require mdespeuilles/markupfieldbundle

Now update your AppKernel.php file, and register the new bundle:, (*4)

<?php

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new Mdespeuilles\MarkupFieldBundle\MdespeuillesMarkupFieldBundle(),
    // ...
);

Usage

When creating a new form class add the following line to create the field:, (*5)

``` php <?php, (*6)

use Mdespeuilles\MarkupFieldBundle\Form\Type\MarkupType;, (*7)

public function buildForm(FormBuilder $builder, array $options) { // ... $builder->add('markup', MarkupType::class, [ 'markup' => 'hello word !' ]); // ... } ```, (*8)

The Versions

01/04 2017

dev-master

9999999-dev

Markup form field Bundle

  Sources   Download

MIT

The Requires

 

form field bundle

01/04 2017

1.0.1

1.0.1.0

Markup form field Bundle

  Sources   Download

MIT

The Requires

 

form field bundle

01/04 2017

1.0.0

1.0.0.0

Markup form field Bundle

  Sources   Download

MIT

The Requires

 

form field bundle