Comments (7)
`C:\serve\htdocs\greeter>composer info jolicode/slack-php-api
name : jolicode/slack-php-api
descrip. : An up to date PHP client for Slack's API
keywords : api, client, openapi, sdk, slack, slackapi, swagger
versions : * v3.0.0
type : library
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage :
source : [git] https://github.com/jolicode/slack-php-api.git 4f8cd6a
dist : [zip] https://api.github.com/repos/jolicode/slack-php-api/zipball/4f8cd6ada7ef89eebae71250068c84cbe0fb2d71 4f8cd6a
path : C:\serve\htdocs\greeter\vendor\jolicode\slack-php-api
names : jolicode/slack-php-api
support
issues : https://github.com/jolicode/slack-php-api/issues
source : https://github.com/jolicode/slack-php-api/tree/v3.0.0
autoload
psr-4
JoliCode\Slack\ => src/
JoliCode\Slack\Api\ => generated/
requires
jane-php/open-api-runtime ^6.0
php >= 7.2
php-http/client-common ^1.9 || ^2.0
php-http/discovery ^1.7
php-http/multipart-stream-builder ^1.1
psr/http-client-implementation *
requires (dev)
friendsofphp/php-cs-fixer ^2.16
jane-php/open-api-2 ^6.0
nyholm/psr7 ^1.2
opis/json-schema ^1.0
symfony/console ^5.1
symfony/contracts ^2.1
symfony/http-client ^4.3.3 || ^5.1
symfony/phpunit-bridge ^4.3
symfony/process ^5.1
symfony/string ^5.1
conflicts
php-http/httplug < 2.0`
from slack-php-api.
Hi! Sorry you bump into this issue!
I don't know what the issue is, but do you know why you are using version 3.0? It's quite old, can you try v4.5.0?
from slack-php-api.
Thanks.
I just followed documentiation and use composer to install
composer require jolicode/slack-php-api
how should i update?
from slack-php-api.
ok i have updated it by using composer update but it is 3.0.2 now.
I have different error this time
Fatal error: Declaration of JoliCode\Slack\Api\Endpoint\ChatPostMessage::transformResponseBody(string $body, int $status, Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType) must be compatible with Jane\OpenApiRuntime\Client\EndpointTrait::transformResponseBody(string $body, int $status, Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) in C:\serve\htdocs\greeter\vendor\jolicode\slack-php-api\generated\Endpoint\ChatPostMessage.php on line 119
from slack-php-api.
Oh dear, I can reproduce the issue you are right. Looks like there is a dependency issue.
You can run this to use the latest version:
composer require jolicode/slack-php-api:v4.5.0 -W
It will downgrade psr/http-message (2.0 => 1.1)
.
from slack-php-api.
thanks a lot all working :)
from slack-php-api.
Good to know.
Let's keep this issue open, looks like this upstream change is needed: thephpleague/uri-src#108
/tmp/lol $ composer why psr/http-message
league/uri 6.8.0 requires psr/http-message (^1.0.1)
nyholm/psr7 1.8.0 requires psr/http-message (^1.1 || ^2.0)
php-http/client-common 2.6.1 requires psr/http-message (^1.0 || ^2.0)
php-http/httplug 2.4.0 requires psr/http-message (^1.0 || ^2.0)
php-http/message 1.14.0 requires psr/http-message (^1.0 || ^2.0)
php-http/message-factory 1.1.0 requires psr/http-message (^1.0 || ^2.0)
psr/http-client 1.0.2 requires psr/http-message (^1.0 || ^2.0)
psr/http-factory 1.0.2 requires psr/http-message (^1.0 || ^2.0)
/tmp/lol $ composer why league/uri
jane-php/json-schema-runtime v7.5.0 requires league/uri (^6.0)
from slack-php-api.
Related Issues (20)
- No text error code? HOT 4
- Example has syntax error HOT 3
- Type hint on @return is confusing HOT 1
- Method does not specify that exception might be thrown. HOT 4
- Some values not reachable? HOT 4
- ConversationsRepliesGetResponse200 should provide typing for `messages` other than `mixed[]` HOT 5
- UsersList and UsergroupsList should accept new parameter: "team_id" HOT 2
- Don't use deprecated factory method
- Required fields in `Objs*` classes should not be nullable HOT 1
- Question: Recommended endpoint for `response_url` HOT 3
- setNormalizer() must implement interface Symfony\Component\Serializer\Normalizer\NormalizerInterface HOT 1
- Missing @throws in the phpdocs HOT 2
- Support for the Bookmarks API? HOT 2
- Creation of dynamic property JoliCode\Slack\Api\Endpoint\ChatPostMessage::$formParameters is deprecated HOT 5
- Requirement for Read Only Repo: jane-php/open-api-runtime HOT 1
- Fatal error: Declaration of `ChatPostMessage::transformResponseBody()` must be compatible with `Jane\OpenApiRuntime\Client\EndpointTrait` HOT 1
- Discussion: Jane8 and `psr/http-message:^2.0` HOT 1
- Image Blocks in posts returning "invalid_blocks" error. HOT 1
- Flacky CI due to Slack rate limit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack-php-api.