sunshinephp/ssp-contact

There is no license information available for the latest version (1.1.0) of this package.

Contact module for use in the SunshinePHP site.

1.1.0 2018-02-03 01:24 UTC

This package is auto-updated.

Last update: 2024-10-27 06:44:10 UTC


README

Contact module in ZF2 to be included into the SunshinePHP main site.

Requirements

Installation

Main Setup

By cloning project

  1. Clone this project into your ./vendor/ directory.

With composer

  1. Add this project in your composer.json:

    "require": {
        "sunshinephp/ssp-contact": "dev-master"
    }
  2. Now tell composer to download SspContact by running the command:

    $ php composer.phar update

Post installation

  1. Enabling it in your application.config.phpfile.

    <?php
    return array(
        'modules' => array(
            // ...
            'SspContact',
        ),
        // ...
    );
  2. Ensure to add the needed contacts table to the database using the sql file in data.

  3. Also ensure that you create a subdirectory '/public/img/captchas' which will capture all of the captcha images created by the contact form, and make sure it is writable.