|
1 | 1 | { |
2 | 2 | "name": "typesense/typesense-php", |
3 | 3 | "description": "PHP client for Typesense Search Server: https://github.com/typesense/typesense", |
4 | | - "type": "library", |
5 | | - "homepage": "https://github.com/typesense/typesense-php", |
6 | 4 | "license": "Apache-2.0", |
| 5 | + "type": "library", |
7 | 6 | "authors": [ |
8 | 7 | { |
9 | 8 | "name": "Typesense", |
|
18 | 17 | "role": "Developer" |
19 | 18 | } |
20 | 19 | ], |
| 20 | + "homepage": "https://github.com/typesense/typesense-php", |
21 | 21 | "support": { |
22 | | - "docs": "https://typesense.org/api", |
| 22 | + "issues": "https://github.com/typesense/typesense-php/issues", |
23 | 23 | "source": "https://github.com/typesense/typesense-php", |
24 | | - "issues": "https://github.com/typesense/typesense-php/issues" |
| 24 | + "docs": "https://typesense.org/docs/api" |
| 25 | + }, |
| 26 | + "require": { |
| 27 | + "php": "^8.2", |
| 28 | + "php-http/discovery": "^1.19", |
| 29 | + "psr/http-client": "^1.0", |
| 30 | + "psr/http-client-implementation": "^1.0", |
| 31 | + "psr/http-factory": "^1.0", |
| 32 | + "psr/http-factory-implementation": "^1.0" |
| 33 | + }, |
| 34 | + "require-dev": { |
| 35 | + "ergebnis/composer-normalize": "^2.40", |
| 36 | + "guzzlehttp/guzzle": "^7.8", |
| 37 | + "laravel/pint": "^1.13", |
| 38 | + "pestphp/pest": "^2.28", |
| 39 | + "pestphp/pest-plugin-faker": "^2.0", |
| 40 | + "pestphp/pest-plugin-type-coverage": "^2.5", |
| 41 | + "phpstan/phpstan": "^1.10", |
| 42 | + "symfony/http-client": "^7.0" |
25 | 43 | }, |
26 | 44 | "minimum-stability": "stable", |
| 45 | + "prefer-stable": true, |
27 | 46 | "autoload": { |
28 | 47 | "psr-4": { |
29 | 48 | "Typesense\\": "src/" |
30 | 49 | } |
31 | 50 | }, |
32 | | - "require": { |
33 | | - "php": ">=7.4", |
34 | | - "ext-json": "*", |
35 | | - "monolog/monolog": "^2.1 || ^3.0 || ^3.3", |
36 | | - "nyholm/psr7": "^1.3", |
37 | | - "php-http/client-common": "^1.0 || ^2.3", |
38 | | - "php-http/discovery": "^1.0", |
39 | | - "php-http/httplug": "^1.0 || ^2.2", |
40 | | - "psr/http-client-implementation": "^1.0", |
41 | | - "psr/http-message": "^1.0 || ^2.0", |
42 | | - "psr/http-factory": "^1.0" |
43 | | - }, |
44 | | - "require-dev": { |
45 | | - "squizlabs/php_codesniffer": "3.*", |
46 | | - "symfony/http-client": "^5.2" |
| 51 | + "autoload-dev": { |
| 52 | + "psr-4": { |
| 53 | + "Typesense\\Tests\\": "tests/" |
| 54 | + } |
47 | 55 | }, |
48 | 56 | "config": { |
| 57 | + "allow-plugins": { |
| 58 | + "ergebnis/composer-normalize": true, |
| 59 | + "pestphp/pest-plugin": true, |
| 60 | + "php-http/discovery": false |
| 61 | + }, |
49 | 62 | "optimize-autoloader": true, |
50 | 63 | "preferred-install": { |
51 | 64 | "*": "dist" |
52 | 65 | }, |
53 | 66 | "sort-packages": true |
54 | 67 | }, |
55 | 68 | "scripts": { |
| 69 | + "lint": "phpcs -v", |
| 70 | + "lint:fix": "phpcbf", |
56 | 71 | "typesenseServer": [ |
57 | 72 | "Composer\\Config::disableProcessTimeout", |
58 | 73 | "docker-compose up" |
59 | | - ], |
60 | | - "lint": "phpcs -v", |
61 | | - "lint:fix": "phpcbf" |
| 74 | + ] |
62 | 75 | } |
63 | 76 | } |
0 commit comments