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

how to integrate phptdlib in laravel #80

Closed
sheko016 opened this issue Mar 25, 2021 · 1 comment
Closed

how to integrate phptdlib in laravel #80

sheko016 opened this issue Mar 25, 2021 · 1 comment

Comments

@sheko016
Copy link

Hello dear, I hope this is very good.

This is to ask if the phptdlib library can be integrated with laravel.

since I have been doing full tests with laravel commands but it always tells me that the class 'TDApi \ LogConfiguration' not found

It should be noted that the .php file that contains the configuration of the API_ID and HAS of telegram when I run it directly in the console if it gives me a successful connection.

but when I do a test from the laravel command it tells me class 'TDApi \ LogConfiguration' not found

Regards.

@yaroslavche
Copy link
Owner

yaroslavche commented Mar 29, 2021

phptdlib is a PHP extension and would work with any SAPI where it was enabled. It provides functions and classes, and if you faced "class not found" issue, then please check your SAPI config.
Issues section isn't a forum. If you have some troubles with make extension work - then feel free to ask. If you want to know how tdlib API works or how to use extensions in PHP - please google that. I'm closing this issue.

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

2 participants