Download the PHP package resknow/form without Composer

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

Form Config

There are a number of options when building forms, below is a breakdown of what options you have and field types that can be added.

Options

These options are required by the form plugin to setup a form for you. They belong in your .config.yml file under the forms key.

Note: The honeypot feature creates a field with the key how, so avoid using that key for your own fields.

Fields

Fields are defined under the fields key of your form's configuration. There are a number of field types, which are listed below along with their available options.

Most field types support HTML attributes as options too.

Text field

Textarea field

Select field

Datepicker field

Provides a Datepicker UI for dealing with dates.

Choice field

Provides a button based UI for small groups of choices

WYSIWYG field

Content field

Allows you to include custom content inside your form. Note: Labels are never shown for this field type and values are not included in user input.

Group field

Allows you to group multiple fields, it uses CSS Grid by default but you can role your own styles if you need to.

Note: Grid layouts only support up to 4 fields in a row.

Validation & Filters

Field validation and filtering is done by GUMP. Form also provides a spam filter validator, which allows you to invalidate a form if you find spam.

See inc/functions.php in the Form plugin for more details.

The validator for this is spam_filter. Add this to your validation rules to apply the spam checks.

Render a form!

Form example

Once you've created your form, to render it on your page, include the following where you'd like it to display:

Twig

PHP

Switch out my-form for your actual form ID :)

Also note that the example screenshot above includes custom styling, the Form plugin tries not to give you opinionated styles, that's on you as the designer.


All versions of form with dependencies

PHP Build Version
Package Version
Requires resknow/boilerplate Version ^4.0.0
wixel/gump Version 1.5.7
phpmailer/phpmailer Version 6.0
catfan/medoo Version 1.4
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 resknow/form contains the following files

Loading the files please wait ....