Skip to content

tipsyphp/tipsy-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tipsy MVC

An MVC adapter designed after the rails directory structure.

Unfortunaly composer doesnt allow dependency scripts to execute so the installation instructions are required. ref https://getcomposer.org/doc/articles/scripts.md#what-is-a-script- . See https://github.com/tipsyphp/tipsy-example-mvc/blob/master/composer.json for an example composer file with auto install.

Installation

  1. composer require tipsyphp/tipsy dev-master && composer require tipsyphp/tipsy-mvc dev-master
  2. php vendor/tipsyphp/tipsy-mvc/install.php

Directory Structure

app
  controllers
    home
	  index.php
  models
  view
    home.phtml
	layouts
	  default.phtml
config
  config.ini
public
  .htaccess
  index.php

See Tipsy Documentation for more information.