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 Example #23

Closed
rizhenkov opened this issue Feb 2, 2018 · 4 comments
Closed

PHP Example #23

rizhenkov opened this issue Feb 2, 2018 · 4 comments

Comments

@rizhenkov
Copy link

Please write little simple PHP example for easy starting up. Thank you!

@vladislav-yashin
Copy link
Contributor

Since PHP doesn't support C-bindings itself, I think that you should go with writing your own native php extension in C.

@yaroslavche
Copy link

I really don't know if there is any sense in this extension in PHP. In any case, see here - simple (and ugly) implementation of td_json_client with example.
I'm not even sure what I did it right. Just for fun =)

@danog
Copy link
Contributor

danog commented Feb 27, 2018

Or you could use my client, which is a native PHP implementation of MTProto.

@levlam
Copy link
Contributor

levlam commented Sep 4, 2018

You can use TDLib from PHP through phptdlib (already mentioned there) or PIF-TDPony extensions.

@levlam levlam closed this as completed Sep 4, 2018
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

5 participants