plume/plume

This package is abandoned and no longer maintained. The author suggests using the plumephp/plume package instead.

A micro framework for PHP.

Installs: 175

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 0

Open Issues: 0

Type:project

1.1 2016-11-24 06:47 UTC

This package is not auto-updated.

Last update: 2017-05-22 02:59:32 UTC


README

目前Plume相关项目全部迁移到plumephp

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
  • asynchronous PHP call support(TODO)
  • websocket support(TODO)

milestone

We also develop the minimum model based on the existing component, we call it plume2. If you are interested, you can view the plume2 branch.

Install and Use

See plume-skeleton.

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 and phpfastcache.

Have a good time with plume.