Download the PHP package vandres/craft-contact-form-extended without Composer

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

Contact Form Extended

Adds functionality to the Contact Form plugin.

Feature Overview

Requirements

This plugin requires Craft CMS 5.1.0 or later, and PHP 8.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Contact Form Extended”. Then press “Install”.

With Composer

Open your terminal and run the following commands:

Configuration

You can use the settings dialog in the control panel. But I would recommend creating a contact-form-extended.php in your config folder.

Usage

Just add the following prepareSubmission() call somewhere in the form template. Example:

If you forget that call, all submissions might be marked as spam!

Edge Case

If you cache the contact form, the prepareSubmission() might not be called and the form would misbehave.

This is out of the scope of this plugin. I would recommend not caching contact forms or using some kind of AJAX solution. My preference is a combination of the plugins "No-Cache" and "Sprig".

Roadmap

Support my work

PayPal: https://www.paypal.com/donate/?hosted_button_id=3WDU85HZCKMPA

Buy me a coffee: https://buymeacoffee.com/vandres

Supporter

  1. Ambition Creative: Icons

All versions of craft-contact-form-extended with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
craftcms/cms Version ^5.1.0
craftcms/contact-form Version ^3.0.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 vandres/craft-contact-form-extended contains the following files

Loading the files please wait ....