Download the PHP package burntcaramel/perforated without Composer

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

Perforated – simple yet pretty powerful forms

Perforated forms are easy to create, read, and change later on. Define your form’s structure using a simple set up of key-based arrays, in PHP or JSON.

Edit easily.

The easy-to-understand syntax means you can quickly create a form in a few minutes. Use HTML5 entry types such as URL, email address, number, and checkbox. They are automatically validated on the server with no extra code.

Come back to it later and add, edit, remove. Adding new entries means just adding a few lines of simple code. The syntax is so simple you can even define your form in a JSON file, if you wish.

Style sensibly.

Perforated is designed to be smart. It groups related entries together in <fieldset> elements. Entries are automatically created with an associated <label>. This means it is very easy to style in CSS. Target specific form entries. Target all entries of a certain type.

Extend.

Perforated will automatically shows type-specific errors for incorrectly entered fields. Easily extend this validation. Add your own error messages.

Form processing and validation is completely separate from form display, so extend or replace how your form is validated or how it is displayed however you wish.

Automatically namespaced.

Submitted forms have their own namespace e.g. $_POST['formID'] This means it will not clash with other POST variables, so use fields like name without worry in WordPress: http://stackoverflow.com/questions/15810948/post-returns-empty-on-form-submit-in-wordpress

Make sections dependant on whatever you wish.

Sections can be made to only show when a checkbox is on with one line. Just declare what you want, there's no extra JS.

External values can be used to automatically fill entries or for dependencies to turn sections on and off, just by using a simple callback. For example, only show and use a particular part of a form if the user is logged in – no complicated if-statements.

Example

Using external values from the server

Validating & processing

Working with submitted results

Displaying the form

TODO


All versions of perforated with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
burntcaramel/glaze Version >=1.6.5
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 burntcaramel/perforated contains the following files

Loading the files please wait ....