2017 © Pedro Peláez
 

library morris-php

PHP helper classes for morris.js

image

gfazioli/morris-php

PHP helper classes for morris.js

  • Tuesday, January 31, 2017
  • by gfazioli
  • Repository
  • 6 Watchers
  • 11 Stars
  • 8 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Morris PHP v0.6.0

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

This project is a PHP part for Morris.js ( http://morrisjs.github.io/morris.js/ )., (*2)

You can use this PHP class to wrap the Morris Javascript class, (*3)

Getting Started

  1. Download Morris Javascript lib from http://morrisjs.github.io/morris.js/
  2. Include main morris.php php file
  3. Include chart base morris-charts.php php file
  4. Include all or single chart that you like use

Getting Started with Composer

  1. Use composer.json

Examples


public function draw() { ?>
<?php $morris = new Line( 'my-charts' ); $morris->xkey = array( 'date' ); $morris->ykeys = array( 'value' ); $morris->labels = array( 'Money' ); $morris->data = array( array( 'date' => '2010', 'value' => 88 ), array( 'date' => '2011', 'value' => 18 ), array( 'date' => '2012', 'value' => 28 ), array( 'date' => '2013', 'value' => 48 ), ); echo $morris; }

The Versions

31/01 2017

dev-master

9999999-dev https://github.com/gfazioli/morris-php

PHP helper classes for morris.js

  Sources   Download

MIT

The Requires

 

php javascript charts morris

31/01 2017

dev-develop

dev-develop https://github.com/gfazioli/morris-php

PHP helper classes for morris.js

  Sources   Download

MIT

The Requires

 

php javascript charts morris

31/01 2017

0.6.0

0.6.0.0 https://github.com/gfazioli/morris-php

PHP helper classes for morris.js

  Sources   Download

MIT

The Requires

 

php javascript charts morris

06/11 2014

0.5.1

0.5.1.0 https://github.com/gfazioli/morris-php

PHP helper classes for morris.js

  Sources   Download

MIT

The Requires

 

php javascript charts morris