mrjulio / rapture-form
Rapture PHP form component
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/mrjulio/rapture-form
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-10-04 20:39:51 UTC
README
PHP OOP implementation for html forms.
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
Testing
cd ./test && phpunit
License
Rapture PHP Form is licensed under the MIT License - see the LICENSE
file for details.