2017 © Pedro PelĂĄez
 

library input

Build HTML inputs.

image

novembre/input

Build HTML inputs.

  • Wednesday, May 31, 2017
  • by Djibdjib
  • Repository
  • 0 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

composer-input

Build HTML inputs., (*1)

Example php Input generation Views are based on Twitter Bootstrap 3 HTML templates (default theme) ``` value("value") ->label("Nom") ->placeholder("par ex: Dupondt") ->required() ->html(); echo $input = Inputfactory::load('email', 'monEmail') ->label("Email :") ->placeholder("placeholder ici") ->required() ->html(); echo $input = Inputfactory::load('textarea', 'monArea') ->label("Message :") ->value("Yeah") ->html(); echo $checkbox = Inputfactory::load('checkbox', 'maCheckbox') ->label("Cliquez ici") ->html(); echo $radio = Inputfactory::load('radio', 'maCheckbox') ->options(array("Value 1" => "Label 1", "Value 2 " => "Label 2")) ->checked(2) ->html(); echo $select = Inputfactory::load('select', 'monSelect') ->label("Options") ->options(array("Value 1" => "Label 1", "Value 2 " => "Label 2")) ->selected(2) ->help("Complément d'information") ->html(); echo $input = Inputfactory::load('file', 'monFile') ->label("Fichier :") ->help("Image uniquement") ->multiple() ->html(); ?>, (*2)

The Versions

31/05 2017

dev-master

9999999-dev

Build HTML inputs.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html novembre communication input builder simply input