PHPackages                             abdullahfaqeir/laravel-otp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. abdullahfaqeir/laravel-otp

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

abdullahfaqeir/laravel-otp
==========================

v5.0.0(2y ago)111MITPHPPHP ^8.2

Since Mar 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/AbdullahFaqeir/laravel-otp)[ Packagist](https://packagist.org/packages/abdullahfaqeir/laravel-otp)[ RSS](/packages/abdullahfaqeir-laravel-otp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (5)Used By (0)

Laravel OTP(One-Time Password)
==============================

[](#laravel-otpone-time-password)

[![Test Status](https://camo.githubusercontent.com/a6f29d5d6d155e428d9fd33fcce56c4e3ff0c61869cfdcb7cf614c2e70eb93ee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616264756c6c61686661716569722f6c61726176656c2d6f74702f72756e2d74657374733f6c6162656c3d7465737473)](https://camo.githubusercontent.com/a6f29d5d6d155e428d9fd33fcce56c4e3ff0c61869cfdcb7cf614c2e70eb93ee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616264756c6c61686661716569722f6c61726176656c2d6f74702f72756e2d74657374733f6c6162656c3d7465737473)[![Latest Stable Version](https://camo.githubusercontent.com/84f8e62782bd08f116d4eea07d963790241fdd100b08fecf0732b3664667e2b1/687474703a2f2f706f7365722e707567782e6f72672f616264756c6c61686661716569722f6c61726176656c2d6f74702f76)](https://packagist.org/packages/abdullahfaqeir/laravel-otp)[![Total Downloads](https://camo.githubusercontent.com/ddf35f285aa5852ef5202cf6cd54944ccbd002fc58d7e6b9cf93c5e9841c57ce/687474703a2f2f706f7365722e707567782e6f72672f616264756c6c61686661716569722f6c61726176656c2d6f74702f646f776e6c6f616473)](https://packagist.org/packages/abdullahfaqeir/laravel-otp)[![Code Style Status](https://github.com/abdullahfaqeir/laravel-otp/actions/workflows/php-cs-fixer.yml/badge.svg?branch=master)](https://github.com/abdullahfaqeir/laravel-otp/actions/workflows/php-cs-fixer.yml)

Introduction
------------

[](#introduction)

Most web applications need an OTP(one-time password) or secure code to validate their users. This package allows you to send/resend and validate OTP for users authentication with user-friendly methods.

Version Compatibility
---------------------

[](#version-compatibility)

LaravelLaravel-OTP11.0.x5.0.x10.0.x4.0.x9.0.x3.0.x6.0.x to 8.0.x1.0.xBasic Usage:
------------

[](#basic-usage)

```
