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
Requires
- adamculp/api-consumer: ^1.0
- zendframework/zend-form: <=2.2.1
- zendframework/zend-mail: <=2.2.1
- zendframework/zend-mvc: <=2.2.1
- zendframework/zendframework: 2.2.*
- zf-commons/zfc-user: 0.1.*@dev
This package is auto-updated.
Last update: 2024-11-27 06:53:44 UTC
README
Contact module in ZF2 to be included into the SunshinePHP main site.
Requirements
- Zend Framework 2 (latest master)
Installation
Main Setup
By cloning project
- Clone this project into your
./vendor/
directory.
With composer
-
Add this project in your composer.json:
"require": { "sunshinephp/ssp-contact": "dev-master" }
-
Now tell composer to download SspContact by running the command:
$ php composer.phar update
Post installation
-
Enabling it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'SspContact', ), // ... );
-
Ensure to add the needed contacts table to the database using the sql file in data.
-
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.