{"id":15509227,"url":"https://github.com/gfazioli/morris-php","last_synced_at":"2025-07-27T03:33:55.196Z","repository":{"id":15590857,"uuid":"18326763","full_name":"gfazioli/morris-php","owner":"gfazioli","description":"A PHP model and useful class for Morris.js project","archived":false,"fork":false,"pushed_at":"2017-01-31T16:58:22.000Z","size":44,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-23T02:38:16.426Z","etag":null,"topics":["chart","javascript","morris","morris-javascript","morris-php","php"],"latest_commit_sha":null,"homepage":"http://undolog.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfazioli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-01T11:14:53.000Z","updated_at":"2017-01-31T15:52:56.000Z","dependencies_parsed_at":"2022-08-04T05:45:17.319Z","dependency_job_id":null,"html_url":"https://github.com/gfazioli/morris-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gfazioli/morris-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmorris-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmorris-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmorris-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmorris-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfazioli","download_url":"https://codeload.github.com/gfazioli/morris-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmorris-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267294180,"owners_count":24065343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chart","javascript","morris","morris-javascript","morris-php","php"],"created_at":"2024-10-02T09:41:44.251Z","updated_at":"2025-07-27T03:33:54.783Z","avatar_url":"https://github.com/gfazioli.png","language":"JavaScript","readme":"# Morris PHP v0.6.0\n\n[![Latest Stable Version](https://poser.pugx.org/gfazioli/morris-php/version.svg)](https://packagist.org/packages/gfazioli/morris-php) [![Total Downloads](https://poser.pugx.org/gfazioli/morris-php/downloads.svg)](https://packagist.org/packages/gfazioli/morris-php) [![Latest Unstable Version](https://poser.pugx.org/gfazioli/morris-php/v/unstable.svg)](https://packagist.org/packages/gfazioli/morris-php) [![License](https://poser.pugx.org/gfazioli/morris-php/license.svg)](https://packagist.org/packages/gfazioli/morris-php)\n\nThis project is a PHP part for Morris.js ( http://morrisjs.github.io/morris.js/ ).\n\nYou can use this PHP class to wrap the Morris Javascript class\n\n## Getting Started\n\n1. Download Morris Javascript lib from http://morrisjs.github.io/morris.js/\n2. Include main `morris.php` php file\n3. Include chart base `morris-charts.php` php file\n3. Include all or single chart that you like use\n\n\n## Getting Started with Composer\n\n1. Use `composer.json`\n\n## Examples\n\n```php\n\npublic function draw()\n{\n  ?\u003e\n  \u003cdiv id=\"my-charts\"\u003e\u003c/div\u003e\n\u003c?php\n  $morris = new Line( 'my-charts' );\n  $morris-\u003exkey = array( 'date' );\n  $morris-\u003eykeys = array( 'value' );\n  $morris-\u003elabels = array( 'Money' );\n  $morris-\u003edata = array(\n    array( 'date' =\u003e '2010', 'value' =\u003e 88 ),\n    array( 'date' =\u003e '2011', 'value' =\u003e 18 ),\n    array( 'date' =\u003e '2012', 'value' =\u003e 28 ),\n    array( 'date' =\u003e '2013', 'value' =\u003e 48 ),\n  );\n  echo $morris;\n}\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfazioli%2Fmorris-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfazioli%2Fmorris-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfazioli%2Fmorris-php/lists"}