mirror of
https://github.com/ivuorinen/palette.git
synced 2026-02-10 23:49:23 +00:00
.gitignore:
- Added vendor folder
composer.json:
- Added required description
- Fixed autoloader classmap
- Removed extra-section
example.php:
- Now has working autoloader and non-autoloader examples
- Better wording in comments and caching example, also includes destination configuration example
Palette.php:
- Added MIT license block and changed the license links from GPL2 to MIT to reflect composer.json file
- Moved file from from a directory to a better one, reflecting class namespace.
- Combined tests to fewer try {} catch {} -blocks
- Added comments to help understand the code
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "ivuorinen/palette",
|
||||
"description": "Get most used colors from an image",
|
||||
"keywords": ["image", "colors", "palette", "psr-2"],
|
||||
"homepage": "https://github.com/ivuorinen/palette",
|
||||
"type": "library",
|
||||
@@ -14,12 +15,11 @@
|
||||
"source": "https://github.com/ivuorinen/palette",
|
||||
"issues": "https://github.com/ivuorinen/palette/issues"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": { "ivuorinen\\Palette\\": "src/" },
|
||||
"classmap": ["src/"]
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.2.0"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "master"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user