composer.json 739 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "name": "google/protobuf",
  3. "type": "library",
  4. "description": "proto library for PHP",
  5. "keywords": ["proto"],
  6. "homepage": "https://developers.google.com/protocol-buffers/",
  7. "license": "BSD-3-Clause",
  8. "require": {
  9. "php": ">=5.5.0"
  10. },
  11. "require-dev": {
  12. "phpunit/phpunit": "^5|^4.8.0"
  13. },
  14. "autoload": {
  15. "psr-4": {
  16. "Google\\Protobuf\\": "src/Google/Protobuf",
  17. "GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf"
  18. }
  19. },
  20. "autoload-dev": {
  21. "psr-4": {
  22. "": "tests/generated"
  23. }
  24. },
  25. "scripts": {
  26. "test": "tests/generate_protos.sh && vendor/bin/phpunit",
  27. "aggregate_metadata_test": "tests/generate_protos.sh --aggregate_metadata && vendor/bin/phpunit"
  28. }
  29. }