Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
68 lines (60 loc) · 1.89 KB
/
Copy pathcomposer.json
File metadata and controls
68 lines (60 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "totalcms/color-thief-php",
"type": "library",
"homepage": "https://github.com/totalcms/color-thief-php",
"description": "Maintained fork of ksubileau/color-thief-php with PHP 8.2+ deprecation fixes. Temporary bridge for Total CMS until the upstream 3.0 release.",
"keywords": ["color", "thief", "php", "dominant", "palette"],
"license": "MIT",
"authors": [
{
"name": "Kevin Subileau",
"homepage": "http://www.kevinsubileau.fr",
"role": "Original author"
},
{
"name": "Joe Workman",
"homepage": "https://totalcms.co",
"role": "Fork maintainer"
}
],
"support": {
"issues": "https://github.com/totalcms/color-thief-php/issues",
"source": "https://github.com/totalcms/color-thief-php"
},
"require": {
"php": "^8.2",
"ext-fileinfo": "*"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"friendsofphp/php-cs-fixer": "^3.75",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"rector/rector": "^2.4"
},
"suggest": {
"ext-gd": "to use the GD image adapter.",
"ext-imagick": "to use the Imagick image adapter.",
"ext-gmagick": "to use the Gmagick image adapter."
},
"autoload": {
"psr-4": {
"ColorThief\\": "src/ColorThief"
}
},
"autoload-dev": {
"psr-4": {
"ColorThief\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"stan": ["phpstan clear-result-cache", "phpstan analyse"],
"cs": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"rector": "rector process --dry-run",
"rector:fix": "rector process",
"quality": ["@stan", "@cs", "@rector"],
"clean": ["@rector:fix", "@cs:fix"]
}
}