🐘 A skeleton project for Slim 3
Clone or download
Latest commit acff9c1 Oct 8, 2018

README.md

Prisma

This is a Slim 3 skeleton project that includes Routing, Middleware, Twig templates, mustache.js, Translations, Assets, Sessions, Database Queries, Migrations, Console Commands, Authentication, Authorization, CSRF protection, Logging and Unit testing.

Latest Version on Packagist Software License Build Status Quality Score Total Downloads

Requirements

  • PHP 7.1+, Apache, MySQL
  • Apache Ant (recommended)

Installation

Step 1: Create a new project:

composer create-project --prefer-dist odan/prisma my-app

Step 2: Set permissions

(Linux only)

cd my-app
sudo chown -R www-data tmp/
sudo chown -R www-data public/cache/

Optional

NOTE: The app will have ability to create subfolders in tmp/ and public/cache/ which means it will need 760.

sudo chmod -R 760 tmp/
sudo chmod -R 760 public/cache/

NOTE: Debian/Ubuntu use www-data, while CentOS uses apache and OSX _www.

Step 3: Setup

Run the installer script and follow the instructions:

sudo php cli.php install

Step 4: Run it

  • Open http://localhost/my-app
  • Login with username / password: admin / admin or user / user

Documentation

This package is documented here.

License

The MIT License (MIT). Please see License File for more information.