Skip to content

A lightweight annotation based MVC framework

Notifications You must be signed in to change notification settings

jasonpaige/xFrame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP xFrame

Build Status

A lightweight MVC framework

Features

  • Incredibly fast (boot in 2.2ms)
  • Simple autoloading
  • Dependency injection container
  • Annotation based request mapping
  • Phing build, test and documentation scripts
  • Multiple view types: Twig (default), PHPTAL, pure PHP
  • Inbuilt caching
  • Doctrine2 integration (optional)

Installation

Pear installation

$ sudo pear config-set auto_discover 1
$ sudo pear install pear.linusnorton.co.uk/xFrame

Install with Doctrine2 (Optional)

$ sudo pear config-set auto_discover 1
$ sudo pear install --alldeps pear.linusnorton.co.uk/xFrame

(Note that PHP5.3 is required and APC is recommended)

Setup

Create directory structure

$ xframe --create-project /var/www/demo

Ensure you have created your virtual host, enabled mod_rewrite, restarted apache and edited /etc/hosts if necessary

Getting Started

Enter the domain you entered in the virtual host and test the set up was successful.

About

A lightweight annotation based MVC framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 80.4%
  • Perl 19.5%
  • Shell 0.1%