diff options
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..00316a4 --- /dev/null +++ b/composer.json @@ -0,0 +1,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" + ] + } +} |
