Skip to content

doncem/xFrame

 
 

Repository files navigation

Build Status Coverage Status StyleCI Codacy Badge Codacy Badge Dependency Status GitHub version

PHP xFrame

A lightweight MVC framework

Features

  • Incredibly fast (boot in 2.2ms)
  • Dependency injection container
  • Annotation based request mapping
  • Multiple view types: Twig (default), PHPTAL, pure PHP
  • Inbuilt caching
  • Doctrine2 integration (optional)

Installation

{
    "repositories": [
        {
            "type": "vcs",
            "url": "git://github.com/doncem/annotations.git"
        },
        {
            "type": "vcs",
            "url": "git://github.com/doncem/xFrame.git"
        }
    ],
    "require": {
        "php": "^7",
        "minime/annotations": "dev-type-upgrade as 3.0.x-dev",
        "linusnorton/xframe": "~1.0"
    }
}

Include Doctrine2 (Optional)

$ composer require doctrine/orm

Setup

Create directory structure

$ ./vendor/bin/xframe create

Getting Started

About

A lightweight annotation based MVC framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.5%
  • Twig 1.4%
  • Other 0.1%