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

Php 5 compatibility #6

Closed
Gonzalo1987 opened this issue Jan 30, 2017 · 4 comments
Closed

Php 5 compatibility #6

Gonzalo1987 opened this issue Jan 30, 2017 · 4 comments
Labels

Comments

@Gonzalo1987
Copy link

Hello,
I haven't seen other library for send the new APNs Apple push notifications in PHP, but my server have installed PHP 5.3+, and I would like to know what part of the code fails for the compatibility of PHP 5 (for try to solve, or try to found a workaround)

Thank you very much for this library!

@edamov
Copy link
Owner

edamov commented Jan 31, 2017

Hi @Gonzalo1987,

I use in library only some PHP 7 features such as "return type declarations" and "scalar type hints".
If your project not so big I recommend you try to switch to PHP 7 :)

@bengotow
Copy link

bengotow commented Mar 7, 2017

(Just a drive-by comment—I'm investigating using this library because a client wants to use the new HTTP/2 JWT interface for APNS, but our application is on PHP 5.5 and we can't afford to move to PHP 7 and QA everything. :-( Would it be fairly easy to remove the type hints and return type declarations to add PHP 5 support?

@Gonzalo1987
Copy link
Author

I could not do that because of its dependencies

@edamov
Copy link
Owner

edamov commented Jun 14, 2017

It can take more time to support library, specific CURL errors etc, and I even don't have enough time to support current version. So sorry guys but I'm not going to support PHP 5.

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

No branches or pull requests

3 participants