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.
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
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
Create a Google ReCaptcha account and copy the sitekey
and secretkey
to config/dev.php
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
- 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