Skip to content

tipsyphp/tipsy-mvc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

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.