2017 © Pedro Peláez
 

library formagic

Form generator for PHP 5

image

formagic/formagic

Form generator for PHP 5

  • Tuesday, January 30, 2018
  • by Weasle
  • Repository
  • 3 Watchers
  • 7 Stars
  • 2,971 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 14 Open issues
  • 16 Versions
  • 1 % Grown

The README.md

FORMAGIC README

Thank you for your interest in Formagic. The source files within are subject to the new BSD license that is bundled with this package in the file LICENSE., (*1)

SYSTEM REQUIREMENTS

There are not many requirements for using Formagic, PHP 5.1 and above will do (PHP 4 is not supported). Formagic will run with any php.ini settings. It is designed to run without errors or warnings down to E_STRICT level., (*2)

INSTALLATION

The easiest way to include Formagic into your project is using Composer. This will download the necessary sources and create the autoloader for you, so you can just start using Formagic without further ado., (*3)

{
    "require": {
        "formagic/formagic": "1.5.6"
    }
}

You can also just unpack the ZIP-File you can download at GitHub into a directory of your choice and include the Formagic autoloader in your code:, (*4)

<?php
require_once '/path/to/formagic/src/Formagic/Autoloader/Autoloader.php';
Formagic_Autoloader::register();

USAGE

Please visit http://www.formagic-php.net for examples and How-Tos. Here is a very short example of Formagic to get you started:, (*5)

<?php

$form = new Formagic();
$form
    ->addItem(
        'input', 
        'myInput', 
        array(
            'label' => 'My first input',
            'rules' => 'mandatory'
            )
        )
    ->addItem(
        'submit', 
        'mySubmit', 
        array(
            'label' => 'Send'
        )
    );

// check if form only contains valid values
if ($form->validate()) {
    echo "submitted and ok<br />";
    $form->setReadonly(true);
}

// displays the form
echo $form->render();

Of course there is much more to Formagic than this, but this will get you a picture how easy it is to create HTML forms with Formagic., (*6)

API DOCUMENTATION

The API documentation is created using phpDocumentor. You will find the current API documentation here: http://www.formagic-php.net/docs/api/, (*7)

You will find the official Formagic project site here: http://www.formagic-php.net, (*8)

The Versions

30/01 2018

dev-classwriter

dev-classwriter http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD BSD-3-Clause

The Requires

  • php >=5.1.0

 

generator html forms

30/01 2018

dev-branch/interfaced_api

dev-branch/interfaced_api http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD BSD-3-Clause

The Requires

  • php >=5.1.0

 

generator html forms

30/01 2018

dev-master

9999999-dev http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD BSD-3-Clause

The Requires

  • php >=5.1.0

 

generator html forms

30/01 2018

v1.5.7.x-dev

1.5.7.9999999-dev http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.1.0

 

generator html forms

30/01 2018

v1.5.7

1.5.7.0 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.1.0

 

generator html forms

29/05 2015

v1.5.6

1.5.6.0 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

05/05 2015

v1.5.5

1.5.5.0 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

17/03 2015

1.5.4

1.5.4.0 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

07/10 2014

dev-1.5.3-pl1

dev-1.5.3-pl1 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

07/10 2014

1.5.3-pl1

1.5.3.0-patch1 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

17/09 2014

1.5.3

1.5.3.0 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

08/09 2014

1.5.4-alpha

1.5.4.0-alpha http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

07/01 2014

1.5.2-pl1

1.5.2.0-patch1 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

14/10 2013

1.5.2

1.5.2.0 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

14/10 2013

1.5.1-pl1

1.5.1.0-patch1 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms

04/10 2013

v1.5.1

1.5.1.0 http://github.com/Weasle/Formagic

Form generator for PHP 5

  Sources   Download

BSD

The Requires

  • php >=5.1.0

 

generator html forms