Comments (10)
What php version?
from pusher-http-php.
Having the cacert.pem
file in the code base is a bad practice btw.
from pusher-http-php.
$ php -v
PHP 5.5.30 (cli) (built: Oct 23 2015 17:21:45)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
What is the best practice in regards to cacert.pem
? I know that PHP 5.6 is able to find the system CA certs but what to do with older versions ? I've been looking at Guzzle quite a lot and here is what they do: https://github.com/guzzle/guzzle/blob/master/src/Handler/StreamHandler.php#L352-L353
from pusher-http-php.
Btw if you have any ideas on how to improve the new-lib I'm all ears, I don't qualify as a PHP veteran at all.
from pusher-http-php.
TBH, I'd actually recommend just using guzzle 5/6 and dropping php 5.3 support, but keeping php 5.4 support. Then you don't need to worry about any of this http stuff. Guzzle will do it all for us.
from pusher-http-php.
NB, requiring guzzle ^5.0|^6.0
will allow either version to be resolved for maximum compatibility.
from pusher-http-php.
Also note that guzzle 3 can be installed along side guzzle 4+ because it's technically a different package in a different namesace, so conflicts with older libraries shouldn't be a problem either.
from pusher-http-php.
It's tempting to use guzzle but it also introduces a lot of unnecessary complexity. My hope was to keep this library small and not add too much dependencies.
from pusher-http-php.
Guzzle is small imo, and definitely makes this library smaller and simpler.
from pusher-http-php.
Closed in preference to #95
from pusher-http-php.
Related Issues (20)
- Unable to subscribe to private channel - gives 403 | Forbidden HOT 3
- Compatibility issues with ugprade 7.0.2 -> 7.2.0 HOT 11
- authenticateUser() gives invalid response HOT 6
- Echo.listen not working in pusher-php-server 7.2.1 HOT 2
- Upgrading from 7.0.2 to 7.2.0 breaks broadcasting events in laravel HOT 5
- Pusher error: cURL error 28: Failed to connect to api-eu.pusher.com port 443: Connection timed out HOT 7
- Invalid user id from pusher server. HOT 2
- The CI setup is not friendly to community contributors HOT 1
- Add the ability to set Guzzle config from $options HOT 3
- v7.2.1 is not compatible with pusher SDK HOT 5
- Batch message sending does not add socket_id from event HOT 6
- Internal Server Error 500 HOT 2
- Pusher Beams Enquiry HOT 23
- Reporting a vulnerability HOT 1
- Pusher being run at Laravel package:discover resulting in Argument Error HOT 7
- Pusher Presence Channel Data HOT 1
- First parameter must either be an object or the name of an existing class {"exception":"[object] (ErrorException(code: 0) HOT 2
- Question about deprecation for all of the versions above v13 HOT 1
- [bug] cannot set a custom timeout as a option in pusher
- Triggering single event on multiple encrypted channel fails HOT 1
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 pusher-http-php.