Skip to content

Commit

Permalink
Changed the license to GPL v3
Browse files Browse the repository at this point in the history
  • Loading branch information
szymach committed Feb 17, 2016
1 parent cd9e867 commit 090c093
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Table of contents:
==================
* [About](#about)
* [License](#license)
* [Contributing](#contributing)
* [Installation](#installation-via-composer)
* [Usage](#usage)
Expand Down Expand Up @@ -31,18 +32,26 @@ What was done:

- Replaced all `exit()` / `die()` commands with `throw` statements to allow a degree of error control.

- Set the code to PSR-2 standard and added annotations (as best as I could figure them out) to methods.
Also, typehinting was added to methods where possible, so some backwards compatibility breaks may occur.
- Refactored the code to meet PSR-2 standard and added annotations (as best as I could figure them out).
to methods Also, typehinting was added to methods where possible, so some backwards compatibility breaks
may occur.

- Added a factory service for loading the classes.

- Moved all constants to a single file `src/Resources/data/constants.php`. This file is *required*
for the library to function and is now loaded via Composer.

License:
========

It was previously stated that this package is on [MIT](https://opensource.org/licenses/MIT) license, which did not meet the requirements
set by the original author. It is now under the [GNU GPL v3](http://www.gnu.org/licenses/gpl-3.0.html)
license, so if you wish to use it in a commercial project, you need to pay an [appropriate fee](http://www.pchart.net/license).

Contributing:
=============

If you wish to contribute to the stable version, there is a branch called `legacy` to which you
If you wish to contribute to the `1.*` version, there is a branch called `legacy` to which you
may submit pull requests. Otherwise feel free to use the `master` branch.

Installation (via Composer):
Expand Down
16 changes: 14 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
{
"name": "szymach/c-pchart",
"license": "MIT",
"license": "GPL-3.0",
"type": "project",
"description": "Port of \"pChart\" library into PHP 5",
"keywords": ["pchart", "pChart","statistics","charts", "c-pChart", "c-pchart"],
"keywords": ["pchart", "pChart","statistics","charts","CpChart","c-pChart"],
"homepage": "https://github.com/szymach/c-pchart",
"authors": [
{
"name": "Jean-Damien Pogolotti",
"homepage": "http://www.pchart.net",
"role": "Creator of the original pChart library"
},
{
"name": "Piotr Szymaszek",
"homepage": "https://github.com/szymach",
"role": "Developer of the CpChart wrapper package"
}
],
"autoload": {
"psr-4": { "CpChart\\": "src/" },
"files": ["src/Resources/data/constants.php"]
Expand Down
Binary file removed readme.txt
Binary file not shown.

0 comments on commit 090c093

Please sign in to comment.