1{
2    "name": "james-heinrich/phpthumb",
3    "description": "The PHP thumbnail generator",
4    "type": "library",
5    "license": ["GPL-1.0-or-later", "LGPL-3.0-only", "MPL-2.0"],
6	"authors": [
7        {
8            "name": "James Heinrich",
9            "email": "info@silisoftware.com",
10            "homepage": "http://www.silisoftware.com/",
11            "role": "Developer"
12        }
13    ],
14    "keywords": ["thumbnail", "thumb", "GD", "ImageMagick", "image", "magic"],
15    "homepage": "http://phpthumb.sourceforge.net/",
16    "require": {
17        "php": ">=5.3.0"
18    },
19    "scripts": {
20        "post-autoload-dump": [
21            "composer run copy-config",
22            "composer run hsp-generate"
23        ],
24        "copy-config": "php -r \"copy('phpThumb.config.php.default', 'phpThumb.config.php');\"",
25        "hsp-generate": "php -r \"$cf=file_get_contents('phpThumb.config.php');$cf=str_replace('__HSP_KEY__', base64_encode(bin2hex(random_bytes(22))), $cf);file_put_contents('phpThumb.config.php', $cf);\""
26    },
27    "suggest": {
28        "ext-gd": "PHP GD library",
29        "ext-imagick": "PHP ImageMagick"
30    },
31    "autoload": {
32        "files": [
33            "phpthumb.class.php"
34        ]
35    }
36}
37