mobouhlel / slim3-basic-recaptcha-skeleton

This is a skeleton template for Slim 3, Twig, Bootstrap and Google ReCaptcha.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slim 3 Basic Skeleton with Google ReCaptcha

This is a skeleton template for Slim 3 Framework and Twig which includes Bootstrap Framework. The simplest boilerplate for getting started on a new Slim 3 adventure. No clutter, ready to transform into your next big idea and just to save a little time.

Also used in Iconic Publishing projects.

Installation

PHP Version 5.4 or above.

Download Composer

Dependencies are located in: composer.json

Updating dependencies in your Terminal via composer: cd [path/to/project]

Run Globally:

composer require iconic-publishing/slim3-basic-recaptcha-skeleton
composer update

Run Locally with PHP:

php composer.phar require iconic-publishing/slim3-basic-recaptcha-skeleton
php composer.phar update

Mailgun

Open a Sandbox account with Mailgun

Mailgun API settings are located in: config/dev.php

Changing Mailgun to send either HTML or Plain Text email: app/Models/MailgunEmail.php

Google ReCaptcha

Create a Google ReCaptcha account and copy the sitekey and secretkey to config/dev.php

Settings

Respect Validation settings are located in: app/Validation/Forms/ContactForm.php

Middleware for Slim CSRF and Validation are located in: app/Middleware/

Custom 404 notFoundHandler are located in: app/Handlers/NotFoundHandler.php

Features

  • PSR-4 Autoloading
  • Bootstrap v3.3.7
  • Symfony Var-Dumper
  • Hassankhan Config
  • Slim 3 Framework
  • Twig Views
  • Middleware
  • Slim Flash Messages
  • Slim CSRF
  • Respect Validation
  • Mailgun API
  • Google ReCaptcha

About

This is a skeleton template for Slim 3, Twig, Bootstrap and Google ReCaptcha.

License:MIT License


Languages

Language:CSS 63.9%Language:JavaScript 25.9%Language:PHP 10.3%Language:ApacheConf 0.0%