osflab/controller

OSF controller component

3.0.0 2018-02-26 14:34 UTC

This package is not auto-updated.

Last update: 2024-04-14 03:12:13 UTC


README

The Controller (MVC) component of OSF framework. It is recommended to install the osf package to develop a full application.

Features

  • HTTP/REST application controller
  • Cli application
  • Request, response, router
  • Optimisez for speed

Installation

You need at least php 7.1 and composer:

sudo apt install composer

In your application via composer

This is the recommended way to use this feature in a non-osf project.

Just add osflab/controller in your composer.json file.

From github

To test the component or participate in its development.

git clone https://github.com/osflab/controller.git
cd controller && composer update

Unit tests launch:

vendor/bin/runtests