Created
October 28, 2014 04:12
-
-
Save derak-kilgo/ff9377719a1b8e4877c8 to your computer and use it in GitHub Desktop.
Load official pchart with composer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "sample/sample-app", | |
"description": "How to add pchart to your application via composer", | |
"license": "GPLv3", | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": { | |
"name": "pchart/pchart", | |
"version": "2.1.4", | |
"dist": { | |
"url": "http://www.pchart.net/release/pChart2.1.4.tar.gz", | |
"type": "tar" | |
}, | |
"autoload": { | |
"classmap": [ | |
"class/" | |
] | |
} | |
} | |
} | |
], | |
"require": { | |
"pchart/pchart": "2.1.4" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are about a dozen pchart forks on the packagist and none of them are the official pchart library.
Add this repository and require clause to your composer.json, and it will pull in and autoload the official pchart library.