Skip to content
A PHP micro-framework for use as a frontend and/or backend
PHP
Branch: master
Clone or download
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.
lib
src/libraries
tests
.gitignore
.travis.yml
LICENSE.txt
README.md
composer.json
composer.lock

README.md

php-mvc

Build Status

php-mvc is a PHP library with its intended purpose to act as a backend and frontend framework for a web content management system (CMS) or REST API.

Installation

This library is available via composer.

composer require carlbennett/php-mvc
composer install

Usage

The following is an example of including this library in your project. This assumes you have already installed the library via composer.

<?php

namespace MySuperAwesomeProject;

use \CarlBennett\MVC\Libraries\GlobalErrorHandler;

GlobalErrorHandler::createOverrides();

trigger_error("This library generates detailed error messages!", E_USER_ERROR);
You can’t perform that action at this time.