This package is abandoned and no longer maintained. The author suggests using the imperium/imperium package instead.

A form builder

0.0.7.1 2017-08-20 08:31 UTC

This package is not auto-updated.

Last update: 2017-10-22 15:46:02 UTC


README

A simple form builder

Latest Stable Version Total Downloads License

Installation

$ composer require fumseckworld/form

Usage


$url = array('/'=>'select a link','https://google.com'=>'google';)

$redirect = Fondation::create()->redirectSelect('site',$url,'fa fa-hand-pointer-o')->end();

$fondationform = Foundation::create()
                ->start('/','class') // start the form
                ->img('/logo.jpg','alt')
                ->input('text','name','placeholder','fa icon')
                ->select('name',['one','two'],'icon')
                ->textarea('name','placholder',cols,row)
                ->submit('text','class')
                ->end();

$bootform = Bootstrap::create()
            ->start('/','class') // start the form
            ->img('/logo.jpg','alt')
            ->input('text','name','placeholder','fa icon')
            ->select('name',['one','two'],'icon')
            ->textarea('name','placholder',cols,row)
            ->submit('text','class')
            ->end();