summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-02-13 08:28:48 +0100
committerRemi Collet <remi@php.net>2025-02-13 08:28:48 +0100
commitdf4e95fe9018efcea058ec481df282057454aee1 (patch)
treed59de342e6e4db4830680c16bff5e602dafbf0ec /composer.json
dup v5
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..48caa44
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,64 @@
+{
+ "name": "sabre/http",
+ "description" : "The sabre/http library provides utilities for dealing with http requests and responses. ",
+ "keywords" : [ "HTTP" ],
+ "homepage" : "https://github.com/fruux/sabre-http",
+ "license" : "BSD-3-Clause",
+ "require" : {
+ "php" : "^7.1 || ^8.0",
+ "ext-mbstring" : "*",
+ "ext-ctype" : "*",
+ "ext-curl" : "*",
+ "sabre/event" : ">=4.0 <6.0",
+ "sabre/uri" : "^2.0"
+ },
+ "require-dev" : {
+ "friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
+ "phpstan/phpstan": "^0.12",
+ "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
+ },
+ "suggest" : {
+ "ext-curl" : " to make http requests with the Client class"
+ },
+ "authors" : [
+ {
+ "name" : "Evert Pot",
+ "email" : "me@evertpot.com",
+ "homepage" : "http://evertpot.com/",
+ "role" : "Developer"
+ }
+ ],
+ "support" : {
+ "forum" : "https://groups.google.com/group/sabredav-discuss",
+ "source" : "https://github.com/fruux/sabre-http"
+ },
+ "autoload" : {
+ "files" : [
+ "lib/functions.php"
+ ],
+ "psr-4" : {
+ "Sabre\\HTTP\\" : "lib/"
+ }
+ },
+ "autoload-dev" : {
+ "psr-4" : {
+ "Sabre\\HTTP\\" : "tests/HTTP"
+ }
+ },
+ "scripts": {
+ "phpstan": [
+ "phpstan analyse lib tests"
+ ],
+ "cs-fixer": [
+ "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix"
+ ],
+ "phpunit": [
+ "phpunit --configuration tests/phpunit.xml"
+ ],
+ "test": [
+ "composer phpstan",
+ "composer cs-fixer",
+ "composer phpunit"
+ ]
+ }
+}