Skip to content
A lightweight annotation based MVC framework
PHP HTML CSS
Branch: master
Clone or download
Pull request Compare This branch is 107 commits ahead, 13 commits behind linusnorton:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
docs
lib/Xframe
src/Demo/Controller
test
view
www
.coveralls.yml
.gitignore
.styleci.yml
.travis.yml
CHANGELOG.md
README.md
cli-config.php
composer.json
composer.lock
phpunit.xml.dist

README.md

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

You can’t perform that action at this time.