2017 © Pedro Peláez
 

library rapture-form

Rapture PHP form component

image

iuliann/rapture-form

Rapture PHP form component

  • Thursday, June 15, 2017
  • by iuliann
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 50 % Grown

The README.md

Rapture PHP Form

PhpVersion License, (*1)

PHP OOP implementation for html forms., (*2)

Requirements

  • PHP v5.4
  • php-hash, php-openssl

Install

composer require mrjulio/rapture-form

Quick start

$element = new Textarea('comment');
echo Html::element($element);

// form
$form = new \Rapture\Form\Form('test');
$form->setElements([
    'username' => [
        'name'  =>  'username',
        'type'  => 'Text',
        'attributes' => [
            'class' => 'form-control'
        ],
        'meta' => [
            'help' => 'Your username'
        ]
    ]
]);
echo Html::element($form->getElement('username'));

About

Author

Iulian N. rapture@iuliann.ro, (*3)

Testing

cd ./test && phpunit

License

Rapture PHP Form is licensed under the MIT License - see the LICENSE file for details., (*4)

The Versions

15/06 2017

dev-master

9999999-dev http://rapture.iuliann.ro

Rapture PHP form component

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

library

15/06 2017

v1.0

1.0.0.0 http://rapture.iuliann.ro

Rapture PHP form component

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

library