plumephp/plume

A micro framework for PHP.

1.0 2016-12-21 07:02 UTC

This package is auto-updated.

Last update: 2024-04-07 18:57:39 UTC


README

Intro

plume is a micro framework for php.

Feature

  • Pure PHP
  • multi environment support
  • MVC and customizable view
  • Fast implementation API with json data
  • simple API to use
  • cache with request and db
  • exception logs
  • performance logs
  • unit test
  • customizable
  • Utils Class

Install and Use

See plume-demo-web and docs.

show details

index page:

require_once __DIR__.'/../vendor/autoload.php';
use Plume\Application;
$app = new Application();
$app->run();

change env:

$app = new Application(‘test’);
$app = new Application('pro');

setting default module or cache:

$app['plume.module.default']='example';
$app['plume.cache.request']=true;
$app['plume.cache.db']=true;

Depends

Plume is pure PHP and just have mini dependence on phpunit, mysqli.

Have a good time with plume.