Composer update

This commit is contained in:
Sylvain Philip 2024-09-09 20:20:56 +02:00
parent 315c37d3cc
commit 5d86d500dc
2 changed files with 9 additions and 563 deletions

View File

@ -1,16 +1,14 @@
{
"name": "piko/openai",
"name": "piko/ai-ui",
"description": "Application to interact with Openai GPT-3.",
"type": "project",
"license": "MIT",
"require": {
"piko/framework": "^3.0",
"piko/user": "^2.0",
"tectalic/openai": "^1.2",
"guzzlehttp/guzzle": "^7.5",
"tracy/tracy": "^2.9",
"monolog/monolog": "^2.8",
"rahul900day/gpt-3-encoder": "^1.1",
"piko/db-record": "^2.0",
"nette/mail": "^4.0",
"piko/i18n": "^2.1"

568
composer.lock generated
View File

@ -4,74 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "b5b9ae6af8ec6174a76792624485b541",
"content-hash": "2e35e066ee6487260a756a21f15a5543",
"packages": [
{
"name": "clue/stream-filter",
"version": "v1.7.0",
"source": {
"type": "git",
"url": "https://github.com/clue/stream-filter.git",
"reference": "049509fef80032cb3f051595029ab75b49a3c2f7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/clue/stream-filter/zipball/049509fef80032cb3f051595029ab75b49a3c2f7",
"reference": "049509fef80032cb3f051595029ab75b49a3c2f7",
"shasum": ""
},
"require": {
"php": ">=5.3"
},
"require-dev": {
"phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
},
"type": "library",
"autoload": {
"files": [
"src/functions_include.php"
],
"psr-4": {
"Clue\\StreamFilter\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Christian Lück",
"email": "christian@clue.engineering"
}
],
"description": "A simple and modern approach to stream filtering in PHP",
"homepage": "https://github.com/clue/stream-filter",
"keywords": [
"bucket brigade",
"callback",
"filter",
"php_user_filter",
"stream",
"stream_filter_append",
"stream_filter_register"
],
"support": {
"issues": "https://github.com/clue/stream-filter/issues",
"source": "https://github.com/clue/stream-filter/tree/v1.7.0"
},
"funding": [
{
"url": "https://clue.engineering/support",
"type": "custom"
},
{
"url": "https://github.com/clue",
"type": "github"
}
],
"time": "2023-12-20T15:40:13+00:00"
},
{
"name": "guzzlehttp/guzzle",
"version": "7.9.2",
@ -779,288 +713,6 @@
},
"time": "2024-08-07T15:39:19+00:00"
},
{
"name": "nyholm/psr7",
"version": "1.8.1",
"source": {
"type": "git",
"url": "https://github.com/Nyholm/psr7.git",
"reference": "aa5fc277a4f5508013d571341ade0c3886d4d00e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Nyholm/psr7/zipball/aa5fc277a4f5508013d571341ade0c3886d4d00e",
"reference": "aa5fc277a4f5508013d571341ade0c3886d4d00e",
"shasum": ""
},
"require": {
"php": ">=7.2",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1 || ^2.0"
},
"provide": {
"php-http/message-factory-implementation": "1.0",
"psr/http-factory-implementation": "1.0",
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"http-interop/http-factory-tests": "^0.9",
"php-http/message-factory": "^1.0",
"php-http/psr7-integration-tests": "^1.0",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.4",
"symfony/error-handler": "^4.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8-dev"
}
},
"autoload": {
"psr-4": {
"Nyholm\\Psr7\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com"
},
{
"name": "Martijn van der Ven",
"email": "martijn@vanderven.se"
}
],
"description": "A fast PHP7 implementation of PSR-7",
"homepage": "https://tnyholm.se",
"keywords": [
"psr-17",
"psr-7"
],
"support": {
"issues": "https://github.com/Nyholm/psr7/issues",
"source": "https://github.com/Nyholm/psr7/tree/1.8.1"
},
"funding": [
{
"url": "https://github.com/Zegnat",
"type": "github"
},
{
"url": "https://github.com/nyholm",
"type": "github"
}
],
"time": "2023-11-13T09:31:12+00:00"
},
{
"name": "php-http/discovery",
"version": "1.19.4",
"source": {
"type": "git",
"url": "https://github.com/php-http/discovery.git",
"reference": "0700efda8d7526335132360167315fdab3aeb599"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-http/discovery/zipball/0700efda8d7526335132360167315fdab3aeb599",
"reference": "0700efda8d7526335132360167315fdab3aeb599",
"shasum": ""
},
"require": {
"composer-plugin-api": "^1.0|^2.0",
"php": "^7.1 || ^8.0"
},
"conflict": {
"nyholm/psr7": "<1.0",
"zendframework/zend-diactoros": "*"
},
"provide": {
"php-http/async-client-implementation": "*",
"php-http/client-implementation": "*",
"psr/http-client-implementation": "*",
"psr/http-factory-implementation": "*",
"psr/http-message-implementation": "*"
},
"require-dev": {
"composer/composer": "^1.0.2|^2.0",
"graham-campbell/phpspec-skip-example-extension": "^5.0",
"php-http/httplug": "^1.0 || ^2.0",
"php-http/message-factory": "^1.0",
"phpspec/phpspec": "^5.1 || ^6.1 || ^7.3",
"sebastian/comparator": "^3.0.5 || ^4.0.8",
"symfony/phpunit-bridge": "^6.4.4 || ^7.0.1"
},
"type": "composer-plugin",
"extra": {
"class": "Http\\Discovery\\Composer\\Plugin",
"plugin-optional": true
},
"autoload": {
"psr-4": {
"Http\\Discovery\\": "src/"
},
"exclude-from-classmap": [
"src/Composer/Plugin.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Márk Sági-Kazár",
"email": "mark.sagikazar@gmail.com"
}
],
"description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations",
"homepage": "http://php-http.org",
"keywords": [
"adapter",
"client",
"discovery",
"factory",
"http",
"message",
"psr17",
"psr7"
],
"support": {
"issues": "https://github.com/php-http/discovery/issues",
"source": "https://github.com/php-http/discovery/tree/1.19.4"
},
"time": "2024-03-29T13:00:05+00:00"
},
{
"name": "php-http/message",
"version": "1.16.1",
"source": {
"type": "git",
"url": "https://github.com/php-http/message.git",
"reference": "5997f3289332c699fa2545c427826272498a2088"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-http/message/zipball/5997f3289332c699fa2545c427826272498a2088",
"reference": "5997f3289332c699fa2545c427826272498a2088",
"shasum": ""
},
"require": {
"clue/stream-filter": "^1.5",
"php": "^7.2 || ^8.0",
"psr/http-message": "^1.1 || ^2.0"
},
"provide": {
"php-http/message-factory-implementation": "1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.6",
"ext-zlib": "*",
"guzzlehttp/psr7": "^1.0 || ^2.0",
"laminas/laminas-diactoros": "^2.0 || ^3.0",
"php-http/message-factory": "^1.0.2",
"phpspec/phpspec": "^5.1 || ^6.3 || ^7.1",
"slim/slim": "^3.0"
},
"suggest": {
"ext-zlib": "Used with compressor/decompressor streams",
"guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories",
"laminas/laminas-diactoros": "Used with Diactoros Factories",
"slim/slim": "Used with Slim Framework PSR-7 implementation"
},
"type": "library",
"autoload": {
"files": [
"src/filters.php"
],
"psr-4": {
"Http\\Message\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Márk Sági-Kazár",
"email": "mark.sagikazar@gmail.com"
}
],
"description": "HTTP Message related tools",
"homepage": "http://php-http.org",
"keywords": [
"http",
"message",
"psr-7"
],
"support": {
"issues": "https://github.com/php-http/message/issues",
"source": "https://github.com/php-http/message/tree/1.16.1"
},
"time": "2024-03-07T13:22:09+00:00"
},
{
"name": "php-http/multipart-stream-builder",
"version": "1.3.1",
"source": {
"type": "git",
"url": "https://github.com/php-http/multipart-stream-builder.git",
"reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ed56da23b95949ae4747378bed8a5b61a2fdae24",
"reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0",
"php-http/discovery": "^1.15",
"psr/http-factory-implementation": "^1.0"
},
"require-dev": {
"nyholm/psr7": "^1.0",
"php-http/message": "^1.5",
"php-http/message-factory": "^1.0.2",
"phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3"
},
"type": "library",
"autoload": {
"psr-4": {
"Http\\Message\\MultipartStream\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com"
}
],
"description": "A builder class that help you create a multipart stream",
"homepage": "http://php-http.org",
"keywords": [
"factory",
"http",
"message",
"multipart stream",
"stream"
],
"support": {
"issues": "https://github.com/php-http/multipart-stream-builder/issues",
"source": "https://github.com/php-http/multipart-stream-builder/tree/1.3.1"
},
"time": "2024-06-10T14:51:55+00:00"
},
{
"name": "piko/core",
"version": "v2.4",
@ -1780,16 +1432,16 @@
},
{
"name": "psr/log",
"version": "3.0.0",
"version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
"reference": "79dff0b268932c640297f5208d6298f71855c03e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
"url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e",
"reference": "79dff0b268932c640297f5208d6298f71855c03e",
"shasum": ""
},
"require": {
@ -1824,75 +1476,9 @@
"psr-3"
],
"support": {
"source": "https://github.com/php-fig/log/tree/3.0.0"
"source": "https://github.com/php-fig/log/tree/3.0.1"
},
"time": "2021-07-14T16:46:02+00:00"
},
{
"name": "rahul900day/gpt-3-encoder",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/RahulDey12/gpt-3-encoder.git",
"reference": "4c3c706a0ddcad137d0f9d592d141d0a23fa2502"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/RahulDey12/gpt-3-encoder/zipball/4c3c706a0ddcad137d0f9d592d141d0a23fa2502",
"reference": "4c3c706a0ddcad137d0f9d592d141d0a23fa2502",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": "^7.4 || ^8.0"
},
"require-dev": {
"pestphp/pest": "^1.22",
"phpstan/phpstan": "^1.10",
"rector/rector": "^0.15.21",
"symfony/var-dumper": "^5.4 || ^6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Rahul900day\\Gpt3Encoder\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Rahul Dey",
"email": "rahul900day@gmail.com"
}
],
"description": "GPT-3-Encoder is a PHP implementation of OpenAI's original python encoder/decoder.",
"keywords": [
"GPT-2-Encoder",
"GPT-2-Tokenizer",
"GPT-3",
"GPT-3-Encoder",
"GPT-3-Tokenizer",
"decoder",
"encoder",
"gpt-2",
"php",
"tokenizer"
],
"support": {
"issues": "https://github.com/RahulDey12/gpt-3-encoder/issues",
"source": "https://github.com/RahulDey12/gpt-3-encoder/tree/1.1.0"
},
"funding": [
{
"url": "https://ko-fi.com/rahul900day",
"type": "ko_fi"
}
],
"abandoned": "rahul900day/tiktoken-php",
"time": "2023-03-22T20:12:00+00:00"
"time": "2024-08-21T13:31:24+00:00"
},
{
"name": "ralouphie/getallheaders",
@ -1938,68 +1524,6 @@
},
"time": "2019-03-08T08:55:37+00:00"
},
{
"name": "spatie/data-transfer-object",
"version": "1.14.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/data-transfer-object.git",
"reference": "12c25e15f08684f1c57c88ccfb3a38a677a11314"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/data-transfer-object/zipball/12c25e15f08684f1c57c88ccfb3a38a677a11314",
"reference": "12c25e15f08684f1c57c88ccfb3a38a677a11314",
"shasum": ""
},
"require": {
"php": "^7.1|^8.0"
},
"require-dev": {
"larapack/dd": "^1.1",
"phpunit/phpunit": "^7.0|^9.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Spatie\\DataTransferObject\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Brent Roose",
"email": "brent@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"description": "Data transfer objects with batteries included",
"homepage": "https://github.com/spatie/data-transfer-object",
"keywords": [
"data-transfer-object",
"spatie"
],
"support": {
"issues": "https://github.com/spatie/data-transfer-object/issues",
"source": "https://github.com/spatie/data-transfer-object/tree/1.14.1"
},
"funding": [
{
"url": "https://spatie.be/open-source/support-us",
"type": "custom"
},
{
"url": "https://github.com/spatie",
"type": "github"
}
],
"abandoned": "spatie/laravel-data",
"time": "2021-12-15T07:25:06+00:00"
},
{
"name": "symfony/deprecation-contracts",
"version": "v3.5.0",
@ -2067,82 +1591,6 @@
],
"time": "2024-04-18T09:32:20+00:00"
},
{
"name": "tectalic/openai",
"version": "v1.6.0",
"source": {
"type": "git",
"url": "https://github.com/tectalichq/public-openai-client-php.git",
"reference": "aa321d55bdd01511515e7b3436c092325fa651f4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tectalichq/public-openai-client-php/zipball/aa321d55bdd01511515e7b3436c092325fa651f4",
"reference": "aa321d55bdd01511515e7b3436c092325fa651f4",
"shasum": ""
},
"require": {
"ext-json": "*",
"nyholm/psr7": "^1.4",
"php": "^7.2.5 || ^8.0",
"php-http/message": "^1.11",
"php-http/multipart-stream-builder": "^1.2",
"psr/http-client": "^1.0.1",
"spatie/data-transfer-object": "^1.14"
},
"conflict": {
"cebe/php-openapi": "<1.7",
"riverline/multipart-parser": "<2.0.9",
"symfony/yaml": "<3.4.31 || >4.0 <4.3.4"
},
"require-dev": {
"league/openapi-psr7-validator": "^0.17.0",
"mikey179/vfsstream": "^1.6.10",
"php-http/mock-client": "^1.5",
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^8.5.14 || ^9.5 || ^10.0",
"squizlabs/php_codesniffer": "^3.6",
"symfony/http-client": "^5.3"
},
"suggest": {
"php-http/mock-client": "Simplify testing by using a mock HTTP client"
},
"type": "library",
"autoload": {
"psr-4": {
"Tectalic\\OpenAi\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "An OpenAI REST API Client with support for ChatGPT, GPT-4, GPT-3.5, GPT-3, Codex, DALL·E, Whisper, Embeddings, Fine-Tuning and Moderation models. Includes fully typed Data Transfer Objects (DTOs) for all requests and responses and IDE autocomplete support.",
"homepage": "https://tectalic.com/apis/openai",
"keywords": [
"ChatGpt",
"GPT-3",
"ai",
"api",
"dall-e",
"dalle",
"fine-tuning",
"gpt-3.5",
"gpt-4",
"gpt3",
"gpt3.5",
"gpt4",
"openai",
"rest",
"tectalic",
"whisper"
],
"support": {
"source": "https://github.com/tectalichq/public-openai-client-php/tree/v1.6.0"
},
"abandoned": true,
"time": "2023-09-06T02:15:29+00:00"
},
{
"name": "tracy/tracy",
"version": "v2.10.8",
@ -2227,5 +1675,5 @@
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.6.0"
"plugin-api-version": "2.3.0"
}