Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.51 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.51 KB

Simple Silex CMS

About

Basic CMS with blog functionallity based on Silex PHP microframework.

Requirements

  • PHP 5.4*
  • SQLite
  • Composer

*Older versions of PHP would work but at least 5.4 is required for built-in webserver (for development). See Silex documentation on that.

Packages

  • Twig as template system.
  • Doctrine for database access.
  • Twitter Boostrap 3.1.
  • Form/validator component for building forms and validation.
  • Security component for authorization and authentication.

Check Silex service providers documentation for info.

Usage

Without vagrant

git clone https://github.com/guilleliss/simple-silex-cms.git path/to/proyect/
cd path/to/proyect/
curl -s http://getcomposer.org/installer | php
php composer.phar install
php -S localhost:8080 -t web web/index.php

Then just point the browser to http://localhost:8080.

With vagrant

git clone https://github.com/guilleliss/simple-silex-cms.git path/to/proyect/
cd path/to/proyect/
vagrant up
cd /vagrant
php -S 0.0.0.0:8000 -t web web/index.php

The vagrant up part might take a while, it is installing PHP 5.4, Mysql and all its perks.
Then just point the browser to http://localhost:8080.

TODO

  • Wizzad installation with database initialization.
  • Page CRUD.
  • Better user managment, authorization and authentication.
  • Testing, lots of testing.