Download the PHP package gueff/phormix without Composer
On this page you can find all versions of the php package gueff/phormix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gueff/phormix
More information about gueff/phormix
Files in gueff/phormix
Download gueff/phormix
More information about gueff/phormix
Files in gueff/phormix
Please rate this library. Is it a good library?
Informations about the package phormix
Phormix
Overview
- English, EN
- Deutsch, DE
Check HTML-Forms with Phormix
Installation
create the composer.json file with following content:
{
"require": {
"gueff/phormix":"dev-master"
}
}
run installation
$ composer install
Process
- create a configuration file (JSON), which describes the later HTML form
- Build the HTML Form
- At backend* Phormix will check the transmitted data from the HTML form against the configuration
*Receiving Unit (Crontroller, PHP-Script o.a.)
Usage
Examples:
// instantiate,
// load config, run
$oPhormix = new \Phormix();
$oPhormix->init('/var/www/App/formular.json')->run();
// instantiate,
// set different session prefix,
// load config, run
$oPhormix = new \Phormix();
$oPhormix->setSessionPrefix('myPhormixCheck')
->init('/var/www/App/formular.json')
->run();
// instantiate,
// load config,
// set a certain identifier
// run
$oPhormix = new \Phormix();
$oPhormix->setConfigArrayFromJsonFile($sAbsPathToConfigFile)
->setIdentifier($sIdentifier)
->run();
// instantiate,
// set a proper array as config,
// set a certain identifier
// run
$oPhormix = new \Phormix();
$oPhormix->setConfigArray($aArray)
->setIdentifier($sIdentifier)
->run();
// instantiate,
// set different session prefix,
// set a proper array as config,
// set a certain identifier
// run
$oPhormix = new \Phormix();
$oPhormix->setSessionPrefix('myPhormixCheck')
->setConfigArray($sAbsPathToConfigFile)
->setIdentifier($sIdentifier)
->run();
HTML-Formulare checken mit Phormix
Installation
Erstelle die Datei composer.json mit folgendem Inhalt:
{
"require": {
"gueff/phormix":"dev-master"
}
}
Führe Installation durch
$ composer install
Ablauf
- Eine Konfiguration (JSON) anlegen, in der das spätere HTML-Formular beschrieben wird
- HTML-Formular bauen
- Im Backend* wird das gesendete HTML-Formular mitels Phormix nun gegen die Konfiguration gecheckt.
*Entgegennehmende Stelle (Crontroller, PHP-Script o.a.)
All versions of phormix with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package gueff/phormix contains the following files
Loading the files please wait ....