{
  "name": "diwall/core",
  "description": "Backend REST central de l'ecosysteme Diwall.",
  "type": "project",
  "require": {
    "php": "^8.3",
    "slim/slim": "^4.14",
    "slim/psr7": "^1.7",
    "php-di/php-di": "^7.0",
    "firebase/php-jwt": "^6.10",
    "predis/predis": "^2.2",
    "monolog/monolog": "^3.7",
    "vlucas/phpdotenv": "^5.6"
  },
  "require-dev": {
    "phpunit/phpunit": "^11.0"
  },
  "autoload": {
    "psr-4": {
      "Diwall\\Core\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Diwall\\Core\\Tests\\": "tests/"
    }
  },
  "scripts": {
    "test": "phpunit -c phpunit.xml",
    "lint": "find src public bin -name '*.php' -print0 | xargs -0 -n1 php -l",
    "worker": "php bin/worker.php"
  },
  "config": {
    "sort-packages": true,
    "allow-plugins": {
      "php-http/discovery": true
    }
  }
}
