Download the PHP package stereo/contact-form without Composer

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

Stereo Contact Form

Zero Config Contact Form with Logging for Wordpress

Getting Started

Install the plugin with the informations specified here

Prerequisites

Wordpress with Bedrock, jQuery loaded.

Installing

Usage

Create forms in raw html and add class "js-stereo-cf" to your form.

With this code, an email with the message content will be sent to the admin email of your Wordpress installation.

The subject will be "Formulaire de contact"

It will be logged in your Wordpress Administration, with the date, followed by the first field of your form.

Want to reset form and keet it visible after send?

Want to change the email subject to better fit your needs?

Want to change the title field in the Wordpress Administration ?

Setting the data-title to a comma seperated list of fields will concatenate each with a space between.

Want to set a category to filter the Administration list in case of multiple forms ?

The default category is Contact

Want to redirect on success ?

Set data-redirect with the redirect url

Manipulate the "TO" email address

If you want the email to go somewhere else :

Manipulate the "FROM" email address

If you want the email to get from somewhere else :

Manipulate the subject of the email

If you want to change the subject of emails :

Manipulate the content of the email

If you want to add templating to your email :

HEADERS

Default mail headers are :

If you have a "Courriel" field a replyTo will be added to your headers.

Field name can be changed

Modify mail headers array

Modify basic message on top of email

HEADERS

Default mail headers are :

If you have a "Courriel" field a replyTo will be added to your headers.

Field name can be changed

Modify mail headers array

Add callback function

Handle uploaded files

All uploaded files with name file[] are sent by email by default, but if you want to do anything else with them : If you don't want to uploads file on the server use _file[]

This hook is not triggered if there are no uploaded files.

$files = array of files $postid = ID of saved post ID

Handle files upload by external source

Send files in mail uploaded before the form is submitted :

Files will be removed from the server after the form is sent. Handle uploaded files if you want to keep them.

$files = array of files

Init forms on demands


All versions of contact-form with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 stereo/contact-form contains the following files

Loading the files please wait ....