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.
This library is available via composer.
composer require carlbennett/php-mvc composer install
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);