0

Was it just me, or is there a wider need for a PHP implementation of Apple's iCloud JS library? Specifically the parts needed for server-to-server integration with iCloud not relying on Javascript on the server.

As my recent research and experiences have shown, it has become impossible to do a third party implementation of the server-to-server iCloud web-service based on Apple's documentation, examples and most of what had been written about it at (CloudKit Server-to-Server authentication and not in the most upvoted answers either, shockingly).

Despite being a raw PHP noob (C and Erlang are my languages,) I have managed to put together a few classes that successfully authenticates with an iCloud container using server-to-server keys registered in that container through the iCloud dashboard.

If anyone wants to use the code, or preferably take it a bit further into an actual library that brings the server-to-server parts of iCloud JS to the PHP server environment, I'd be happy to share. I'm just a little shy about my ineptitude with the new language, so you'd need to work around that.

  • 3
    Is there an actual question or are you just talking about a library you've developed? – Nigel Ren Nov 18 '18 at 18:21
  • It's nice that you had wrote a piece of code that you want to share, but I don't think StackOverflow questions is the right place to do that. GitHub is the place to do that. If code is too small for a separate repo, GitHub Gists is the place. – p0358 Nov 18 '18 at 23:14
  • Is it relevant to anyone but me? That is the question. I don't need to develop it into a library or even a gist that needs to be looked after. – Marthin Laubscher Nov 19 '18 at 06:39
  • The gist can be found here https://gist.github.com/MarthinL/2ac00dd42b8ebaeb3e8b9998b827c338 – Marthin Laubscher Nov 19 '18 at 15:56

0 Answers0