-
Notifications
You must be signed in to change notification settings - Fork 215
Still maintained? #71
Comments
Would also like to see some activity from salesforce on this. It's lagging far behind modern PHP versions and becoming a liability. |
I'd suggest to implement your own tools. They don't seem to consider the third party developers with very much respect. |
I would prefer this library were maintained, however after banging my head against the SalesForce wall long enough, I found this library: https://github.com/ryanbrainard/forceworkbench/tree/37.0.2. It is fairly modern (v37 API) and has more 'eyes' on it. It can also do just about anything you can think of with the SalesForce API from a PHP standpoint (one notable exception, the Streaming API requires JavaScript, and is not integrated with PHP). Hope that helps someone save a half day of head banging..! This library is also very handy to run locally and 'kick the tires' of the APIs and capabilities. |
Seems like a huge library. A guzzle client with a wrapper is usually enough. |
@MeuhMeuh Nifty, I hadn't heard of Guzzle. My feel after about 15 hours in is that SalesForce is so complex, one little wrapper won't be enough. Consider the streaming API requiring a login (OAuth or SOAP API call), then creating some code in Apex, then streaming it via the Bayeux protocol. Pretty hairy, in my mind (not as simple as a wrapper). However, I would love to see a simple PHP library for doing this. Until then, I'm trying to integrate the workbench into a 'backend' library, and I think it will work (e.g. has controllers for logging in I can tap into). |
I am internally using a Guzzle client that we developed and that has a thing wrapper to handle the OAuth authentication. We are using the REST API though, I haven't heard about the Bayeux protocol ; I'm sorry it can't work for your case. However, if you need any help or feedbacks about what we did, we can talk more about that :) |
Hi @MeuhMeuh Neat! I'd love to see what you did if it is shareable for commercial use, it is possible your lightweight code could work in my case (and is something I've been looking for). |
Had my hopes up after the merge in March, but 1 merge in 3 month with so many low hanging fruit is just not enough... |
Well what you just need is to use a Guzzle client, and that's it. I don't see the point in using such a big library ; the abstraction is not worth it. Doing calls to
|
At Message Agency, we've also found that REST API is sufficient for 80 - 90% of use cases. But technically there are still a handful of API resources and features that REST API doesn't support. Just a couple examples:
These shortcomings fortunately aren't deal-breakers for us, which is why we've also moved on to a guzzle-based REST client for our Drupal solutions. Right now it's very tightly coupled with Drupal, but I'm open to pull requests if anyone has a need for it. |
Hey Aaron, Will try to take a look when I got some time ;) Thanks for the input ! |
I am a bit sad to have to keep asking this on projects I use, but looking at the lack of commits and the bit-rotting PRs is it time to move on to a fork?
The text was updated successfully, but these errors were encountered: