1{
2  "name": "freedsx/ldap",
3  "description": "A Pure PHP LDAP library",
4  "homepage": "https://github.com/FreeDSx/LDAP",
5  "keywords": [
6    "LDAP",
7    "OpenLDAP",
8    "ActiveDirectory"
9  ],
10  "license": "MIT",
11  "authors": [
12    {
13      "name": "Chad Sikorra",
14      "email": "Chad.Sikorra@gmail.com"
15    }
16  ],
17  "require": {
18    "php": ">=7.1",
19    "freedsx/asn1": "^0.4.0",
20    "freedsx/socket": "^0.5.2",
21    "freedsx/sasl": "^0.1.0",
22    "psr/log": "^1|^2|^3"
23  },
24  "require-dev": {
25    "phpspec/phpspec": "^7.2|^7.1|^6.1|^5.1",
26    "phpunit/phpunit": "^9.3|^8.0|^7.0",
27    "symplify/easy-coding-standard": "^6.1|^7.3|^9.0",
28    "friends-of-phpspec/phpspec-code-coverage": "^4.3|^6.1|dev-master",
29    "phpstan/phpstan": "^0.12.70",
30    "symfony/process": "^3.0|^4.0|^5.0",
31    "squizlabs/php_codesniffer": "3.*",
32    "slevomat/coding-standard": "~7.0"
33  },
34  "suggest": {
35    "ext-openssl": "For SSL/TLS support and some SASL mechanisms.",
36    "ext-pcntl": "For LDAP server functionality."
37  },
38  "autoload": {
39    "psr-4": {"FreeDSx\\Ldap\\": "src/FreeDSx/Ldap"}
40  },
41  "autoload-dev": {
42    "psr-4": {
43      "integration\\FreeDSx\\Ldap\\": "tests/integration/FreeDSx/Ldap",
44      "spec\\FreeDSx\\Ldap\\": "tests/spec/FreeDSx/Ldap"
45    }
46  },
47  "config": {
48    "allow-plugins": {
49      "dealerdirect/phpcodesniffer-composer-installer": true
50    }
51  },
52  "scripts": {
53    "test-coverage": [
54      "phpspec run --no-interaction -c phpspec.cov.yml",
55      "phpunit --coverage-clover=coverage-integration.xml"
56    ],
57    "test-spec": [
58      "phpspec run --no-interaction"
59    ],
60    "test-integration": [
61      "phpunit"
62    ],
63    "analyse": [
64      "phpstan analyse"
65    ],
66    "cs-fix": [
67      "phpcbf --standard=ruleset.xml --extensions=php --tab-width=4 -sp src",
68      "ecs --fix"
69    ]
70  }
71}
72