Download the PHP package valksystems/bootbuilder without Composer

On this page you can find all versions of the php package valksystems/bootbuilder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bootbuilder

Build status Codacy Badge

BootBuilder

Bootstrap Form Building made easy in PHP.

Installation

You can install the package with Composer, check out composer on http://getcomposer.org

Add the following to the required in the composer.json:

Or execute the following composer command:

Usage

Checkout the demo folder for demo's with the controls and different styles of forms

Forms

First of all, you have to create a Form object. There are 2 options right now. Just a normal form and a horizontal form (look at bootstrap page for more information).

To create a form use:

On the form object you can set the properties of a normal form with the following methods:

To add controls or panes to the form, use:

HorizontalForm

On a horizontal form you can set 2 more parameters for the grid layout. To set the layout parameters, use the following methods:

Rendering

To render the form you simply call . You can also get the rendered HTML back with .

Controls

You can use the following controls, in fully bootstrap styles:

Default operations on controls

To create a new control. Construct the class for the control with:

On all the controls you can set the name, id, class(es), value, placeholder, label text, required (y/n), disabled (y/n), readonly (y/n), errorstate (y/n) and helptext with simple methods:

After creating you can either add it to a pane or to the form directly.

Text

You can enter a custom type of input now, with the method

TextArea

On a TextArea object you can set the optional rows parameter with the method

Select

To set the data in the select control (the options), use the following method:

The $options need to have an array with: [value] = "Readable text".

Panes

You can combine controls with panes, it's like an group with elements, but specific with the style it has. Currently there are 2 panes, StackPane and InlinePane

To create a pane and add controls to it use:

StackPane

StackPane will combine elements, each on a new row. Just adding it below it.

InlinePane

InlinePane will make the supported controls (checkbox and radio) display with an in-line style. See http://getbootstrap.com/css/?#inline-checkboxes-and-radios for more information.

License

This project is under MIT License, see LICENSE file.

Resposibility

We are not resposible for any security problems, always check code before you are going to use it!


All versions of bootbuilder with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package valksystems/bootbuilder contains the following files

Loading the files please wait ....