Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 598 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 598 Bytes

Base template

A template for bulding small-medius sites based on Slim Framework with Twig template system.

TODO

  • base MVC concept
  • trailing in router patterns
  • i18n
  • db migration
  • .env config or something like that
  • csrf protection
  • add posibility to add global container's settings
  • /assets
  • make default structure of views

Migrations & seeds

Migration

Create new one: vendor/bin/phinx create <name>

Run: vendor/bin/phinx migrate

Seeds

Create new one: vendor/bin/phinx seed:create <name>

Run: vendor/bin/phinx seed:run