PHPackages                             kenkioko/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. kenkioko/laravel-otp

ActiveLibrary

kenkioko/laravel-otp
====================

A simple package to generate and validate OTPs. \[forked from ichtrojan/laravel-otp\] (https://github.com/ichtrojan/laravel-otp)

2.0.0(4y ago)0176MITPHP

Since Nov 20Pushed 4y agoCompare

[ Source](https://github.com/kenkioko/laravel-otp)[ Packagist](https://packagist.org/packages/kenkioko/laravel-otp)[ RSS](/packages/kenkioko-laravel-otp/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (10)Used By (0)

Laravel OTP ▲
=============

[](#laravel-otp-)

Introduction 🖖
--------------

[](#introduction-)

This is a simple package to generate and validate OTPs (One Time Passwords). This can be implemented mostly in Authentication. This is a fork from [ichtrojan/laravel-otp](https://github.com/ichtrojan/laravel-otp). In this version the default `$identifier` type is `App\User` instead of `string` type.

Installation 💽
--------------

[](#installation-)

Install via composer

```
composer require kenkioko/laravel-otp
```

Add service provider to the `config/app.php` file

```
