Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the status of the PHP SDK? #235

Open
Kovah opened this issue Jan 17, 2023 · 18 comments
Open

What is the status of the PHP SDK? #235

Kovah opened this issue Jan 17, 2023 · 18 comments

Comments

@Kovah
Copy link

Kovah commented Jan 17, 2023

I am sad to see the official PHP SDK being unmaintained for such a long time. Half of the internet is powered by PHP and yet no one at Cloudflare seems to care about this SDK.

Last release and commits on October 2021. Open issues and pull requests date back to 2018.

Please, either take care of the SDK and let people help with pull requests, or mark it as unmaintained. Leaving it to rot is not encouraging for the open source community.

CC @phily245 @exportsmedia @kleisauke @levidurfee Please forward this to whoever leads this at Cloudflare.


❗ Update
As mentioned by ramsey, Cloudflare kind of abandoned the SDKs in favour of more accessible APIs.
@Chew
Copy link

Chew commented Jan 30, 2023

Completely agree. This is quite unfortunate. Hoping to have some activity from here again.

@levidurfee
Copy link
Contributor

@jgrahamc anything you can do?

If no one ends up responding to this request, I would be happy to fork this project and maintain the SDK if people wanted to contribute to it.

@ramsey
Copy link

ramsey commented Feb 8, 2023

I spoke to someone at Cloudflare, and they said they don't intend to update this SDK. They advised against using it and indicated that their current view of SDKs is that they don't provide a level of value that is equal to the amount of effort it takes to maintain them. They are focusing on making the APIs as easy as possible to use directly, and their recommendation is to use the APIs directly.

@Kovah
Copy link
Author

Kovah commented Feb 8, 2023

Thank you so much @ramsey for this information. Good to know the actual status.

I would prefer to have an appropriate notice in the repo then, but I guess this issue will provide enough insights for others.

@Chew
Copy link

Chew commented Feb 9, 2023

Ahh I suppose that's an understandable response 😄. If that is the case, I suppose this repo should at least be archived with a note like @Kovah says.

I guess that's quite an opinionated discussion, so I hope ones who believe SDKs are beneficial do find value in maintaining a fork.

@mxdpeep
Copy link

mxdpeep commented Apr 14, 2023

every good intention is punished as it deserves 👹

@phily245
Copy link
Contributor

Sorry, I missed this tag. When me and my team are contributing we are working on a Cloudflare partner integration and I've had to use contacts inside Cloudflare to get my commits merged, which still takes a while. Their future seems to lie in Terraform and not SDKs from what I've heard unfortunately.

@rickmills
Copy link

Given this isn't going to be updated or maintained anymore would anyone else agree that it would probably make sense to flag the package as abandoned in the composer.json file to avoid people unwittingly installing it not realising?

@mxdpeep
Copy link

mxdpeep commented Apr 17, 2023 via email

@Kovah
Copy link
Author

Kovah commented Apr 17, 2023

Given this isn't going to be updated or maintained anymore would anyone else agree that it would probably make sense to flag the package as abandoned in the composer.json file to avoid people unwittingly installing it not realising?

@phily245 would you be able to do that?

phily245 added a commit to phily245/cloudflare-php that referenced this issue Jun 15, 2023
This package is no longer supported by Cloudflare, as per @ramsey's comment: "I spoke to someone at Cloudflare, and they said they don't intend to update this SDK. They advised against using it and indicated that their current view of SDKs is that they don't provide a level of value that is equal to the amount of effort it takes to maintain them. They are focusing on making the APIs as easy as possible to use directly, and their recommendation is to use the APIs directly." (cloudflare#235 (comment))
@phily245
Copy link
Contributor

@Kovah I've added the MR above, but we need someone at Cloudflare to do this on packagist AFAIK, @ramsey could your contact help out? I can reach out to people I know too.

https://stackoverflow.com/questions/40946151/marking-a-packagist-package-as-abandoned-in-favor-of-a-new-location as reference as to how to do this.

@crisnao2
Copy link

@jgrahamc anything you can do?

If no one ends up responding to this request, I would be happy to fork this project and maintain the SDK if people wanted to contribute to it.

I also have open MR, if you create a fork it signals I'll be happy to contribute.

@DimaVIII
Copy link

The SDK works well beside few minor issues.
Is anyone planning to fork and maintain?
I'm willing to contribute.

@johnbburg
Copy link

"Cloudflare kind of abandoned the SDKs in favour of more accessible APIs"

Isn't that kind of the point of an SDK? to be a client to consume an API? So now everyone just has to roll their own API clients? My company services several Drupal websites that need updating to D10, the module that uses this library is sort of blocking that now.

@mxdpeep
Copy link

mxdpeep commented Sep 28, 2023

that's the trouble with companies like Cloudflare

AutisticShark added a commit to The-NeXT-Project/NeXT-Panel that referenced this issue Nov 10, 2023
@phily245
Copy link
Contributor

phily245 commented Dec 4, 2023

I have stumbled across the documentation for this on Cloudflare, confirming this as deprecated: https://developers.cloudflare.com/support/cloudflare-client-api/cloudflare-php-api-binding/

@RoSk0
Copy link

RoSk0 commented Mar 11, 2024

Thanks @phily245 , but even that page is now gone and redirects to https://developers.cloudflare.com/api/ . Wayback machine still has the copy though https://web.archive.org/web/20231126221026/https://developers.cloudflare.com/support/cloudflare-client-api/cloudflare-php-api-binding/ ...

It's such a shame that the decision to abandon this library was not made publicly visible via this repository.

@SergkeiM
Copy link

Hi,I'm currently working on creating PHP client for CloudFlare API, ofc is far away for first release, but trying to add the most used (on my opinion) endpoints.

https://github.com/SergkeiM/php-cloudflare-api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests