Download the PHP package soliantconsulting/formidable-bootstrap without Composer

On this page you can find all versions of the php package soliantconsulting/formidable-bootstrap. 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 formidable-bootstrap

Formidable Bootstrap

This package supplies a selection of view helpers to ease rendering of forms with Formidable and Twitter Bootstrap 3. By default, it ships with a factory to use the helpers in Plates, but the view helpers can also be used in other template engines which support callables.

The supplied view helpers have a very opinionated HTML output. If you need a different kind of output, this library is not for you, and you should write your own helpers.

Installation

Install via composer:

Usage

Here is a simple example for using the different view helpers in your templates:

As you can see, some view helpers take additional optional parameters. The inputText() helper takes an type as third parameter, By default, it will render a generic text input, but you can change it to any other input type.

The select() view helper takes a boolean as last argument, which indicates whether it should be multiple or not. The mandatory options array can either be a simple string to string map, or contain nested arrays like in the country example to generate option groups, which can be nested indefinitely.

If you need to separate your form into fieldsets, you can do that manually. There is no need for any additional helpers there. When you have a child object in your form which can get errors assigned, so that they are not associated with a specific field, you can pull the errors from a pseudo field and pass them to the formErrors() view helper:

Custom error messages

By default, the view helpers use error messages supplied by Formidable itself. If you want to use different messages or have your own constraints with custom error messages, you add additional messages via configuration:

The messages follow the same pattern used by Formidable's ErrorFormatter.


All versions of formidable-bootstrap with dependencies

PHP Build Version
Package Version
Requires dasprid/formidable Version ^0.3.1
league/plates Version ^3.1
container-interop/container-interop Version ^1.1
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 soliantconsulting/formidable-bootstrap contains the following files

Loading the files please wait ....