
Closed
Posted
Paid on delivery
I need a compact PHP module that can be dropped into both my web and mobile back-ends. When a user triggers an OTP request, the script should: • check our MySQL user table to confirm the sender is registered and active • create a time-bound, cryptographically secure numeric OTP • log the request (user ID, channel, timestamp, IP) • send the code simultaneously by SMS and Email, using gateways I can configure (Twilio and Mailgun are what I use today, but leave the classes abstract so I can swap providers later) Please expose one clean function—requestOtp($usernameOrPhone)—that returns a JSON response with success / failure messages the apps can consume. OTP validity, retry limits, and error handling should be configurable at the top of the script. Acceptance criteria 1. Verified users receive the same code via both channels within two seconds in my staging environment. 2. Invalid or unregistered requests return a descriptive error and are logged. 3. All sensitive data is parameterised (no credentials hard-coded). 4. Code passes a quick security scan (no SQL injection, proper prepared statements, rate-limit to thwart brute force). Hand over the PHP file(s), a README with setup steps, and a Postman collection for quick testing.
Project ID: 40391907
43 proposals
Remote project
Active 6 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
43 freelancers are bidding on average $36 USD for this job

Hello, This is not just OTP generation, it’s about secure delivery, rate-limiting, and clean integration across both web and mobile, and I can build this as a compact, reusable PHP module. I will create a single requestOtp($usernameOrPhone) entry point with secure OTP generation, MySQL validation via prepared statements, logging (IP, timestamp, channel), and abstracted SMS/Email classes (Twilio/Mailgun-ready but swappable). I would also implement retry limits and expiry handling centrally, plus async-style dispatch to ensure both channels deliver within seconds. Quick question: Do you want OTP stored hashed or plain (hashed is safer for production)? The Bid amount is subject to change and will be finalized after a complete project discussion. If this fits, let’s connect, and I will deliver a secure, drop-in solution with docs and Postman tests. Regards, Smile Mittal
$150 USD in 5 days
8.1
8.1

Hi there, I can build a clean, secure, and drop-in PHP OTP module exactly as specified—designed for both web and mobile backends with flexibility for future providers. What you’ll get: Single function: requestOtp($usernameOrPhone) returning structured JSON Secure OTP generation (crypto-safe, time-bound) MySQL validation using prepared statements (no SQL injection risk) Dual delivery (SMS + Email) with abstract gateway classes (Twilio/Mailgun ready, easily swappable) Logging system (user ID, channel, timestamp, IP) Configurable limits (expiry, retries, rate limiting) Clean error handling for all edge cases Extras included: README with setup instructions Postman collection for quick testing Secure, well-commented, production-ready code Availability: Immediate This will be lightweight, secure, and easy to integrate into your existing system. Best Regards, Sachin
$70 USD in 7 days
7.5
7.5

HI! I am an expert web programmer. I have a lot of work experience in Laravel, Codeigniter, PHP, Wordpress, JavaScript, HTML, Vuejs, Reactjs, React Native, and MySQL. I can start right away. I want to discuss this project in detail. Please contact me to discuss more regarding this project. For more details Chat with me
$30 USD in 7 days
7.6
7.6

Hello, I'm Abu Gosia I'm interested in your project very well. I'm good in C#, .Net Core, MVC, ASP.NET, Angular.js, Yii2, PHP, Laravel, Codeigneter, Wordpress, Prestashop, Open Cart. I m quite well experienced in these jobs. Let's go ahead with me. Thanks
$75 USD in 3 days
7.3
7.3

Hi, I can create a PHP module with a requestOTP() function that takes a username or phone number as input and returns a JSON response with success or failure messages. I am a professional developer with extensive experience building secure login systems, including those with OTP functionality. For this project, I will need the schema of your MySQL user table to write the code for retrieving user details. If you would like to log the request details in a database table, please provide the schema for that table as well. Alternatively, if you use a file for logging requests, please share the format of that file so I can code the behavior accordingly. Additionally, I will need your credentials for Twilio and Mailgun services to write and test the code for sending SMS and emails via those platforms. I am familiar with both Twilio and Mailgun and have worked with them before. What you will receive: - Fully commented code that explains every functionality to help you understand and modify it if necessary. - A .env file containing your Twilio, Mailgun, and script configuration details, which you can place outside your web server's public folder to prevent access by malicious users. - A guarantee that the code will not contain any SQL injection vulnerabilities. - All the files will be provided in a zip archive. I hope you will consider me for your project. I look forward to discussing it with you.
$80 USD in 7 days
6.8
6.8

With over a decade of experience, I am confident in delivering the compact PHP module that meets your project needs. I am well-versed in PHP, MySQL, and JavaScript, which makes me highly proficient to develop a script that robustly checks a user's registration status, creates cryptographically secure OTPs, logs request details, and sends codes via both SMS and Email promptly. My skills extend to developing APIs too - which should facilitate quick integration with Twilio and Mailgun or any other messaging providers you decide to use in the future. Another key value I bring to the table is long-term support. Beyond just delivering the project files and README, I'm always ready to provide assistance down the road if you encounter any challenges or seek an update. Given my extensive experience in website development (in React, Laravel, WordPress etc.), mobile app development (including Flutter for cross-platform efficiency), AI automation، e-commerce development (esp WooCommerce), design، SEO and digital marketing—I am confident this project is right up my alley. Embracing a solutions-oriented approach—I will deploy scalable and secure solutions that ultimately contribute to helping your business grow comfortably. Thank you for considering me as your developer; I’m excited about potentially actualizing your vision!
$99 USD in 7 days
6.3
6.3

Hi, I have a questions: - Do you already have messages to send by SMS and Email or should I make them? - How long do you want one time passwords to be good for and how times can someone try to guess? - Should we try to send one time passwords by Email if sending by SMS does not work? - Can I make some small changes, to your database to make it easier to keep track of one time passwords? I can make an safe PHP module for sending one time passwords that works well with your website and mobile app backends.I have made systems that send one time passwords by SMS and Email before. I made sure they are fast, secure and easy to switch to providers like Twilio or Mailgun. What I will give you: - A simple function to ask for a one time password: `requestOtp($usernameOrPhone)` - A safe way to make one time passwords that're only good for a little while and hard to guess - A way to check one time passwords in a MySQL database that's safe from hackers - A way to limit how times someone can try to guess a one time password - Easy to use classes to send one time passwords by SMS or Email - A way to keep track of who asks for one time passwords, when and how
$20 USD in 7 days
6.4
6.4

Hi, I have 5+ years’ experience and can build a secure PHP OTP module with SMS/Email & MySQL. Let’s discuss. Thanks.
$120 USD in 7 days
6.1
6.1

Hello, I can build a compact, secure PHP OTP module that plugs into both your web and mobile backends. I will implement a single function requestOtp returning a clean JSON response. The script will verify users from MySQL using prepared statements to prevent SQL injection. A cryptographically secure numeric OTP will be generated with configurable expiry and retry limits. Requests will be logged with user ID, channel, timestamp, and IP for tracking and security. I will design abstract SMS and Email classes so you can use Twilio, Mailgun, or swap providers easily. Both SMS and Email delivery will be triggered simultaneously to meet the 2-second requirement. Rate limiting and error handling will be included to prevent abuse and ensure stability. All sensitive configs will be parameterized and stored securely. You will receive PHP files, setup README, and a ready-to-use Postman collection for testing. Ready to start immediately.
$20 USD in 7 days
5.4
5.4

As an accomplished Full Stack Developer with more than six years of background, I'm confident I can effectively provide you with the PHP OTP Verification Script you need. My expertise in PHP and MySQL, among other relevant skills, makes me uniquely suitable for this project. Over my career, I've seamlessly integrated various payment gateways and optimized database performance, two key requirements for your script. Moreover, my deep familiarity with RESTful APIs will ensure that all sensitive data is properly parameterized and your script does not suffer from vulnerabilities such as SQL injections. Also, given that you'd like to swap providers in the future, it's essential that your classes remain abstract. This fits perfectly with my skills; I prioritize writing clean and maintainable code that ensures efficiency and scalability for the long term. In a sphere where seconds matter, the ability for verified users to receive their OTP codes within 2 seconds is crucial for your staging environment. With my experience in building scalable and high-performance web applications, I am confident this will not be a hurdle. By entrusting me with this project, you are guaranteeing yourself thorough project documentation including handover of Postman collection for quick testing and detailed README setup steps; assuring successful implementation of acceptance criteria 1-4.
$20 USD in 7 days
5.0
5.0

Hi I am php mysql developer and i have worked on such otp module before in another project of mine for grocery app using twilio and email sending software. I can surely write code for your above php software. Thank you.
$30 USD in 2 days
5.5
5.5

With a decade in web development and an unwavering passion for constructing high-performance and secure applications, I guarantee your project will be handled with the utmost diligence. My extensive knowledge in PHP, JavaScript and MySQL makes this OTP verification script an ideal undertaking for me. My expertise allows me to build agile, scalable and sophisticated systems that meet stringent security standards, giving you no reason to worry about SQL injection vulnerabilities and other security breaches. Handling sensitive user information is a task I'm well-acquainted with, fostering its robust protection via parameterization rather than vulnerable hard-coding. This means you can expect all credentials, even those for your current providers, like Twilio and Mailgun, to be programmatically interchangeable according to your future requirements. My commitment to quality aligns perfectly with your project's acceptance criteria. I fully comprehend the significance of delivering verified codes within two seconds. Additionally,user error handling is paramount; communicating errors accurately while employing rate-limits to fortify against brute forcing. Lastly, I will provide easy setup instructions in the README along with handy Postman collection further facilitating testing. With this pitch full of proven skills demonstrated through years of versatility, confidence permeates my promise of surpassing your expectations through diligent work ethic. Let's get started!
$30 USD in 1 day
4.9
4.9

Got it. I’ll build a standalone PHP class to handle the DB securely, with abstract classes for your SMS/Email gateways so you can swap them later. It will include the rate limiting, logging, and the single `requestOtp` function you requested. I'll deliver the code, a README, and the Postman collection.
$30 USD in 1 day
4.5
4.5

As an experienced web and app developer with specialization in PHP and JavaScript, I'm confident that I can create an effective, high-performing PHP OTP Verification Script for your project. My proficiency in MySQL and software architecture equips me with the necessary skills to efficiently handle the intricate requirements of your script. With over six years of experience behind me, I have a good grasp on not only what needs to be done but how it should be executed. I understand that efficiency is key so rest assured, your verified users will receive their OTP codes simultaneously within two seconds through SMS and Email, using the gateways you prefer. I will also ensure that all sensitive data is parameterized, leaving no room for any hard-coded credentials or security breaches. My previous works testify my focus on both functionality and security. Moreover, I am flexible and receptive to specific client preferences - from using Twilio and Mailgun at present- to incorporating new providers in the future. As per your request, you will receive not only a cleanly-handwritten PHP file(s), but also a comprehensive README with setup steps and a Postman collection for quick testing. It would be a pleasure to leverage my skillset and knowledge to help you accomplish this project just the way you envision it.
$20 USD in 7 days
3.8
3.8

Hello, I checked your project "PHP OTP Verification Script" and I already have a clear idea how to deliver this efficiently. I have solid experience in PHP, JavaScript, Software Architecture, Cryptography, MySQL, Email Marketing, JSON, Security, Twilio, API Development, and I’ve worked on similar projects where I delivered high-quality, scalable, and clean solutions. Why choose me? • Strong expertise in PHP, JavaScript, Software Architecture, Cryptography, MySQL, Email Marketing, JSON, Security, Twilio, API Development • Clean, optimized, and scalable code • Fast communication and daily updates • 100% focus on delivering results, not just code If needed, I can also suggest improvements to make your project even better. Let’s connect I’m ready to start right away. Best regards, Umer
$20 USD in 1 day
3.2
3.2

As an experienced Full-Stack Developer and DevOps Engineer, I have the deep PHP knowledge you need to deliver the high-performance OTP verification script you're looking for. What sets me apart is my ability to build solutions holistically; thinking about both the code that runs them, and the infrastructure they depend on. For your project, I would carefully ensure all credentials remain parameterized, API keys are abstracted for easy replacement with any other provider, and sensitive data remains secure from potential vulnerabilities like SQL injection. Moreover, my proficiency with MySQL and software architecture ensures that your needs with respect to verifying a user’s registration status as well as logging their activities effectively in the database will be fully met. On top of that, I've worked extensively with both Twilio and Mailgun in previous projects and can guarantee attention-to-detail in implementing them based on your specifications. Be it delivering a clean codebase or developing a product meant for production readiness, I always go that extra mile to bring satisfaction to my clients. I'm excited about this project and can't wait to live up to your expectations by delivering an efficient OTP verification script and all necessary documentation on time.
$15 USD in 1 day
3.3
3.3

Greetings I can surely help you for PHP OTP Verification Script I am in the IT industry since more than a decade and serve so many clients in building and rebuilding websites, software, and applications I have strong hands-on different cms like webflow, Wordpress, shopify, squarespace, wix and on different programming languages like PHP, Laravel, React, Node.js, HTML, CSS, And I did the migration from HTML to click funnels. I have made so many websites (E-commerce, WordPress, Classified admin, WooCommerce, etc.), bots, softwares, and Mobile applications (Android, IOS, and Huawei Play store) in my entire career. I have strong hands on both the front end and back end. Currently, I am part of the team who are dealing with miscellaneous tasks in dubizzle and Mzad Qatar including design and layouts and they both have more than 1 million users. I believe that you are looking for a web designer and for sure you will get your end desire result with plagiarism-free work and with better quality as I am assuring you this. Package deals can also be done for long-term collaboration as per the client's requirement. Kindly do come on chat so that we can discuss project details further more.
$10 USD in 2 days
3.2
3.2

I can build you a secure, provider-agnostic PHP OTP module that drops right into your existing backend. I’ll implement the logic using abstract classes for Twilio and Mailgun so you can swap providers later without touching the core validation engine. My approach ensures high security by using cryptographically secure numeric generation and prepared MySQL statements to prevent SQL injection. I’ll also build in the configurable rate-limiting and retry logic you requested to thwart brute-force attempts. As a bonus, I’ll include a simple helper function to verify the OTP once the user receives it, so the entire lifecycle is handled in one clean module. If you need any tweaks or related API work down the line, I can handle that too so you don’t have to go through the hiring process again. Let's hop on a quick chat and get this secured.
$10 USD in 2 days
2.3
2.3

Hi, there, I understand you need a compact PHP OTP verification module that can be integrated into both web and mobile back-ends. The script should validate registered users, generate secure time-bound OTPs, log all requests, and send codes via SMS and email with configurable providers. With strong experience in PHP, MySQL, Twilio, and Mailgun integration, I can create a single function requestOtp($usernameOrPhone) that handles OTP generation, multi-channel delivery, logging, retry limits, and error handling. The module will use prepared statements, cryptographically secure OTPs, and configurable security settings to prevent brute force attacks and SQL injection. My approach is to validate the user, generate and store the OTP securely, send it via SMS and email through abstracted gateway classes, and return a clean JSON response. I will provide the PHP file(s), a README with setup instructions, and a Postman collection for testing. The solution will be fast, secure, and fully configurable. To proceed, I will review your staging environment and API credentials to implement the OTP module ready for immediate testing and deployment. Thanks, Ihor
$30 USD in 2 days
1.9
1.9

With an extensive background of over 6 years in Full Stack Development, I possess the necessary skills and knowledge to build your PHP OTP Verification Script. Milking from my proficiency in JavaScript, MySQL and PHP; I assure you that I can create a compact, versatile module that seamlessly integrates not only with both your mobile and web back-ends but also with SMS and Email gateways of your liking.
$10 USD in 1 day
1.4
1.4

Delhi, India
Payment method verified
Member since Oct 20, 2013
$10-30 USD
$250-750 USD
₹1000-2000 INR
₹600-3000 INR
£250-750 GBP
$150-200 USD
$30-250 USD
₹750-1250 INR / hour
₹1500-12500 INR
₹1500-12500 INR
$10-5000 USD
$30-250 USD
₹600-1500 INR
₹12500-37500 INR
$15-25 AUD / hour
₹600-1500 INR
₹12500-37500 INR
min $50 USD / hour
₹1500-12500 INR
$30-250 SGD
€30-250 EUR