Authyo Docs
Web SDKs
Copy Page
Authyo Docs
🐶 Walk through Authyo
Error Codes
About Pricing
APIs
Send OTP
GET
Send OTP
POST
Verify OTP
GET
Web SDKs
JavaScript
PHP
AngularJS Examples
TypeScript Examples
React JS
Vue JS Examples
Web SDKs
Copy Page
PHP
PHP
#
In PHP, you can't directly use JavaScript functions like authyo.sendOtp because PHP runs on the server-side. However, you can embed the CDN script into the HTML output and execute the JavaScript in the client's browser.
PHP (Server-Side)
Add the hosted script URL to the
script
tag:
php
Modified at
2025-02-11 07:27:06
Previous
JavaScript
Next
AngularJS Examples