2017 © Pedro Peláez
 

project silex-skeleton

Scaffolding for silex/silex to kick-start creation of responsive administration panels.

image

vaibhavpandeyvpz/silex-skeleton

Scaffolding for silex/silex to kick-start creation of responsive administration panels.

  • Thursday, December 1, 2016
  • by vaibhavpandeyvpz
  • Repository
  • 1 Watchers
  • 4 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

vaibhavpandeyvpz/silex-skeleton

Scaffolding for silex/silex to kick-start creation of responsive administration panels., (*1)

SensioLabsInsight Scrutinizer Code Quality Total Downloads Software License, (*2)

Features

  • User authentication and management
  • Login via Facebook & Google (or any OAuth2 service)
  • Role-based access control
  • Email address confirmations
  • Password reset via email
  • Assets are built & minified using Gulp
  • Full MVC w/ Doctrine ORM, Twig templates
  • Secure by default w/ CSRF protection
  • Various caching systems for performance
  • Source-code as per PSR coding standards

Install

# Install Node.js (if not already)
sudo apt-get install nodejs

# Install Bower & Gulp globally
sudo npm i -g bower gulp

# Create a new project in a folder named 'yourapp'
composer create-project vaibhavpandeyvpz/silex-skeleton:@dev yourapp

# Setup configuration in '.env' file
cd yourapp && nano .env

# Prepare database & create admin user
composer run-script migrate

Development

For development, you can start a development server using PHP's built-in server as follows:, (*3)

composer run-script server

Default admin username is admin@silex-skeleton.app and password is 12345678., (*4)

Deployment

Minify static assets before deployment to server:, (*5)

gulp build --production

On server, it is recommended to install a SSL certificate and uncomment the following lines in public_html/.htaccess to enforce https:// protocol and enable auto-redirect if accessed via http://:, (*6)

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

License

See LICENSE.md file., (*7)

The Versions