summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 00316a4fdf33dc05832fcb523788af20e928b878 (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
  "name": "phalcon/cphalcon",
  "type": "php-ext",
  "description": "Phalcon is an open source web framework delivered as a C extension for the PHP language providing high performance and lower resource consumption.",
  "keywords": [
    "extension",
    "phalcon",
    "framework",
    "high load",
    "mvc"
  ],
  "license": "BSD-3-Clause",
  "php-ext": {
    "extension-name": "phalcon",
    "build-path": "build/phalcon"
  },
  "authors": [
    {
      "name": "Phalcon Team",
      "email": "team@phalcon.io",
      "homepage": "https://phalcon.io/en/team"
    },
    {
      "name": "Contributors",
      "homepage": "https://github.com/phalcon/cphalcon/graphs/contributors"
    }
  ],
  "require": {
    "php": ">=8.1"
  },
  "require-dev": {
    "ext-apcu": "*",
    "ext-dom": "*",
    "ext-gd": "*",
    "ext-iconv": "*",
    "ext-igbinary": "*",
    "ext-imagick": "*",
    "ext-intl": "*",
    "ext-json": "*",
    "ext-libxml": "*",
    "ext-mbstring": "*",
    "ext-msgpack": "*",
    "ext-pdo": "*",
    "ext-redis": "*",
    "ext-sqlite3": "*",
    "ext-xml": "*",
    "friendsofphp/php-cs-fixer": "~3.0",
    "mustache/mustache": "^2.14",
    "phalcon/ide-stubs": "^5.4",
    "phalcon/zephir": "dev-development",
    "phpstan/phpstan": "^2.1",
    "phpunit/phpunit": "^10.5",
    "predis/predis": "^2.3",
    "squizlabs/php_codesniffer": "^3.4",
    "twig/twig": "^3.20",
    "vimeo/psalm": "5.26.1",
    "vlucas/phpdotenv": "^v5.4"
  },
  "config": {
    "optimize-autoloader": true,
    "preferred-install": "dist",
    "sort-packages": true,
    "allow-plugins": {
      "composer/package-versions-deprecated": true
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Zephir\\Optimizers\\FunctionCall\\": "optimizers/",
      "Phalcon\\Tests\\": "tests/",
      "Phalcon\\Tests\\Support\\": "tests/support/",
      "Phalcon\\Tests\\Unit\\": "tests/unit/",
      "Phalcon\\Tests\\Integration\\": "tests/integration/",
      "Phalcon\\Tests\\Database\\": "tests/database/",
      "Phalcon\\Tests\\Fixtures\\": "tests/_data/fixtures/",
      "Phalcon\\Tests\\Modules\\": "tests/support/Modules/",
      "Phalcon\\Tests\\Module\\": "tests/_support/Module/",
      "Phalcon\\Tests\\Listener\\": "tests/_data/listener/",
      "Phalcon\\Tests\\Db\\": "tests/_data/db/"
    },
    "exclude-from-classmap": [
      "tests/support/assets/"
    ]
  },
  "support": {
    "email": "support@phalcon.io",
    "issues": "https://github.com/phalcon/cphalcon/issues",
    "forum": "https://phalcon.io/forum/",
    "source": "https://github.com/phalcon/cphalcon",
    "docs": "https://phalcon.io/docs/",
    "rss": "https://blog.phalcon.io/rss"
  },
  "scripts": {
    "analyze": "php -d extension=ext/modules/phalcon.so ./vendor/bin/psalm --no-cache",
    "cs": "php -d extension=ext/modules/phalcon.so ./vendor/bin/phpcs --standard=phpcs.xml",
    "cs-fix": "php -d extension=ext/modules/phalcon.so ./vendor/bin/phpcbf --standard=phpcs.xml",
    "test-unit": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.xml.dist",
    "test-unit-debug": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.xml.dist --fail-on-all-issues --display-all-issues",
    "test-unit-coverage": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit  -c phpunit.xml.dist --coverage-clover tests/_output/coverage.xml",
    "test-unit-coverage-html": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit  -c phpunit.xml.dist --coverage-html tests/_output/coverage/",
    "test-db-mysql": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.mysql.xml",
    "test-db-mysql-debug": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.mysql.xml --fail-on-all-issues --display-all-issues",
    "test-db-mysql-coverage": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.mysql.xml --coverage-clover tests/_output/coverage.xml",
    "test-db-pgsql": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.pgsql.xml",
    "test-db-pgsql-debug": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.pgsql.xml --fail-on-all-issues --display-all-issues",
    "test-db-pgsql-coverage": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.pgsql.xml --coverage-clover tests/_output/coverage.xml",
    "test-db-sqlite": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.sqlite.xml",
    "test-db-sqlite-debug": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.sqlite.xml --fail-on-all-issues --display-all-issues",
    "test-db-sqlite-coverage": "php -d extension=ext/modules/phalcon.so vendor/bin/phpunit -c phpunit.sqlite.xml --coverage-clover tests/_output/coverage.xml",
    "test-db": [
      "@test-db-mysql"
    ],
    "test-all": [
      "@test-unit",
      "@test-cli",
      "@test-integration",
      "@test-db"
    ],
    "clean-build-stubs": [
      "./vendor/bin/zephir fullclean",
      "Composer\\Config::disableProcessTimeout",
      "./vendor/bin/zephir build",
      "./vendor/bin/zephir stubs"
    ]
  }
}