composer.json 4.72 KB
Newer Older
1 2
{
    "name": "glpi/glpi",
3
    "description": "GLPI dependencies",
4 5 6 7 8 9 10 11 12
    "license": "GPL-2.0",
    "type": "project",
    "homepage": "http://www.glpi-project.org/",
    "support": {
        "irc": "irc://irc.freenode.org/glpi",
        "forum": "http://forum.glpi-project.org/",
        "issues": "https://github.com/glpi-project/glpi/issues",
        "docs": "https://github.com/glpi-project/doc"
    },
13
    "require": {
Cédric Anne's avatar
Cédric Anne committed
14
        "php": ">=7.0.8",
15
        "ext-pdo_mysql": "*",
16 17 18 19 20 21
        "ext-fileinfo": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-gd": "*",
        "ext-zlib": "*",
        "ext-curl": "*",
22
        "ext-intl": "*",
23
        "iamcal/lib_autolink": "~1.7",
24
        "phpmailer/phpmailer": "~6.0",
25
        "sabre/vobject": "~4.1",
26
        "simplepie/simplepie": "^1.5",
27
        "tecnickcom/tcpdf": "~6.2.16",
28 29 30
        "zendframework/zend-cache": "^2.8",
        "zendframework/zend-i18n": "^2.8",
        "zendframework/zend-serializer": "^2.8",
31
        "michelf/php-markdown": "^1.6",
32
        "true/punycode": "^2.1",
33
        "monolog/monolog": "^1.23",
34
        "sebastian/diff": "^1.4 || ^2.0 || ^3.0",
Remi Collet's avatar
Remi Collet committed
35
        "elvanto/litemoji": "^1.4 || ^2.0",
36
        "symfony/console": "^3.4",
37
        "scssphp/scssphp": "^1.0",
38
        "zendframework/zend-mail": "^2.10",
39 40 41
        "symfony/dependency-injection": "^3.4",
        "symfony/yaml": "^3.4",
        "symfony/config": "^3.4",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
42 43
        "symfony/event-dispatcher": "^3.4",
        "slim/slim": "^3.9",
44
        "slim/twig-view": "^2.5",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
45 46 47
        "doctrine/annotations": "^1.4",
        "twig/extensions": "^1.5",
        "kanellov/slim-twig-flash": "^0.2.0",
48
        "fossar/htmlawed": "1.2.4.1",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
49
        "symfony/property-access": "^3.4",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
50 51
        "twig/twig": "^2.7",
        "glpi-project/runtracy": "dev-master"
52
    },
53
    "require-dev": {
54
        "guzzlehttp/guzzle": "~6",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
55
        "glpi-project/coding-standard": "^0.7.1",
56
        "consolidation/robo": "^1.0",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
57
        "natxet/cssmin": "^3.0",
58
        "patchwork/jsqueeze": "^2.0",
59
        "atoum/atoum": "dev-master",
60
        "atoum/telemetry-extension": "^1.0",
61
        "sensiolabs/security-checker": "^5.0",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
62
        "fzaninotto/faker": "^1.7",
63
        "jakub-onderka/php-parallel-lint": "^1.0",
Johan Cwiklinski's avatar
Johan Cwiklinski committed
64
        "mikey179/vfsstream": "^1.6"
65
    },
66
    "suggest": {
67
        "ext-ldap": "Used ot provide LDAP authentication and synchronization"
68
    },
69
    "config": {
70
        "optimize-autoloader": true,
71
        "platform": {
Cédric Anne's avatar
Cédric Anne committed
72
            "php": "7.0.8"
73
        }
74
    },
75 76 77 78 79
    "autoload": {
        "psr-4": {
            "Glpi\\": "src/Glpi/"
        }
    },
80
    "scripts": {
81 82 83 84 85
        "testdb":    "php vendor/bin/atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --configurations tests/telemetry.php --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/database",
        "testfunc":  "php vendor/bin/atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --configurations tests/telemetry.php --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/functionnal/",
        "testunits": "php vendor/bin/atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --configurations tests/telemetry.php --bootstrap-file tests/bootstrap.php --no-code-coverage -d tests/units",
        "testweb":   "php vendor/bin/atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --configurations tests/telemetry.php --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/web",
        "testldap":  "php vendor/bin/atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --configurations tests/telemetry.php --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/LDAP",
86
        "testimap":  "php vendor/bin/atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --configurations tests/telemetry.php --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/imap",
87
        "csp": "vendor/bin/phpcs --parallel=500 -p --standard=vendor/glpi-project/coding-standard/GlpiStandard/ --ignore=/vendor/,/plugins/,/files/,/lib/,/config/,/tests/config,/css/tiny_mce,/.git ./",
88
        "cs":  "vendor/bin/phpcs -d memory_limit=512M -p --standard=vendor/glpi-project/coding-standard/GlpiStandard/ --ignore=/vendor/,/plugins/,/files/,/lib/,/config/,/tests/config,/css/tiny_mce,/.git ./",
89
        "lint":  "vendor/bin/parallel-lint  --exclude files --exclude plugins --exclude vendor --exclude tools/vendor .",
90
        "post-install-cmd": "@php -r \"file_put_contents('.composer.hash', sha1_file('composer.lock'));\"",
91
        "post-update-cmd": "@php -r \"file_put_contents('.composer.hash', sha1_file('composer.lock'));\""
92 93
    }
}