I've recently started developing a macOS application and I'm using PHP for the backend. However, I'm not quite sure how to integrate macOS-specific technologies like Core Data and the Apple Push Notification Service (APNs) into my PHP code.
I understand that Core Data is a powerful framework for managing the model layer of my application, but I'm not sure how to interact with it using PHP. I would like to be able to fetch and store data in my Core Data models from my PHP scripts.
Similarly, I would also like to implement push notifications in my macOS application using Apple's APNs. I know that APNs requires a specific API for sending push notifications, but I'm not sure how to incorporate this into my PHP code.
I'm hoping that someone can provide some guidance on how to integrate these macOS-specific technologies with PHP. Are there any specific libraries or SDKs that I need to use? How can I connect my PHP code with Core Data and APNs?
Any help or suggestions would be greatly appreciated. Thanks in advance!