Skip to content

What is the status of the PHP SDK? #235

Open

Description

@Kovah

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.

Activity

  1. Chew commented on Jan 30, 2023

    @Chew

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

  2. levidurfee commented on Jan 31, 2023

    @levidurfee
    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.

  3. ramsey commented on Feb 8, 2023

    @ramsey

    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.

  4. Kovah commented on Feb 8, 2023

    @Kovah
    Author

    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.

  5. Chew commented on Feb 9, 2023

    @Chew

    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.

  6. mxdpeep commented on Apr 14, 2023

    @mxdpeep

    every good intention is punished as it deserves 👹

  7. phily245 commented on Apr 14, 2023

    @phily245
    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.

  8. rickmills commented on Apr 15, 2023

    @rickmills

    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?

  9. mxdpeep commented on Apr 17, 2023

    @mxdpeep
  10. Kovah commented on Apr 17, 2023

    @Kovah
    Author

    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?

  11. added a commit that references this issue on Jun 15, 2023
  12. phily245 commented on Jun 15, 2023

    @phily245
    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.

  13. crisnao2 commented on Jul 14, 2023

    @crisnao2

    @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.

  14. DimaVIII commented on Jul 20, 2023

    @DimaVIII

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

  15. johnbburg commented on Sep 12, 2023

    @johnbburg

    "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.

  16. mxdpeep commented on Sep 28, 2023

    @mxdpeep

    that's the trouble with companies like Cloudflare

  17. ghost added a commit that references this issue on Nov 10, 2023
  18. phily245 commented on Dec 4, 2023

    @phily245
    Contributor

    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/

  19. RoSk0 commented on Mar 11, 2024

    @RoSk0

    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.

  20. SergkeiM commented on Aug 13, 2024

    @SergkeiM

    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

  21. mxdpeep commented on Dec 26, 2024

    @mxdpeep

    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

    latest changes Aug 26 = dead again

  22. SergkeiM commented on Dec 26, 2024

    @SergkeiM

    Hi @mxdpeep

    Not yet :), just changed focus on another project, will continue next month.

  23. phily245 commented on Apr 25, 2025

    @phily245
    Contributor

    I've noticed a PR (#267) and release (https://github.com/cloudflare/cloudflare-php/releases/tag/1.4.0) (seemingly by Cloudflare) in December involving @jacobbednarz, @jafowler and @mgirouard, please can any of you confirm the status of this project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions