PHPackages                             ema-salas/otp-generator - 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. ema-salas/otp-generator

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

ema-salas/otp-generator
=======================

Generate OTP using a Trait into your Laravel models

1.0.0(2y ago)1141↓50%MITPHP

Since Oct 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ema-salas/otp-generator)[ Packagist](https://packagist.org/packages/ema-salas/otp-generator)[ RSS](/packages/ema-salas-otp-generator/feed)WikiDiscussions main Synced 1mo ago

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

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

[](#laravel-otp-)

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

[](#introduction)

This is a simple package for Laravel to generate and validate OTPs (One Time Passwords).

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

[](#installation-)

Install via composer

```
composer require ema-salas/otp-generator
```

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

```
