PHPackages                             lee-to/laravel-phone-auth - 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. lee-to/laravel-phone-auth

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

lee-to/laravel-phone-auth
=========================

Laravel+livewire phone auth module

0.5.1.6(4y ago)181816MITPHPPHP ^7.3|^8.0

Since Mar 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/lee-to/laravel-livewire-phone-auth)[ Packagist](https://packagist.org/packages/lee-to/laravel-phone-auth)[ Docs](https://github.com/lee-to/laravel-phone-auth)[ RSS](/packages/lee-to-laravel-phone-auth/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

laravel-phone-auth
==================

[](#laravel-phone-auth)

Important
---------

[](#important)

- Need laravel livewire package
- The default template uses tailwind classes (customize it if you want)

Install
-------

[](#install)

- install livewire
- install doctrine/dbal
- composer require lee-to/laravel-phone-auth
- php artisan vendor:publish --provider="Leeto\\PhoneAuth\\Providers\\PhoneAuthServiceProvider"
- configure config/phone\_auth.php

### Usage

[](#usage)

### User Model

[](#user-model)

- Add PhoneVerification Trait to User Model

```
use PhoneVerification;
```

- Add phone cast to User Model

```
protected $casts = [
    'phone' => PhoneCast::class
];
```

### Blade component

[](#blade-component)

#### Auth/Phone verification form

[](#authphone-verification-form)

- Simple

```
@livewire('phone-verification')
```

- Without form wrap

```
@livewire('phone-verification', ['formWrap' => false])
```

- Register new or login if phone verified and exist

```
@livewire('phone-verification', ['loginAndRegister' => true])
```

### Check phone confirmed

[](#check-phone-confirmed)

\\Leeto\\PhoneAuth\\Models\\ConfirmedPhone::confirmed($phone, $user\_id = null);

#### Components properties (override config)

[](#components-properties-override-config)

- stopEvents (bool) = turn off emitBefore, emitAfter
- customRedirectTo (bool|array) = redirect after success
- emptyCustomFields (bool) = disable custom fields
- customParams (array) = send custom properties to view

```

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Recently: every ~88 days

Total

6

Last Release

1522d ago

PHP version history (2 changes)0.5.1PHP ^7.3

0.5.1.6PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1861327?v=4)[Danil Shutsky](/maintainers/lee-to)[@lee-to](https://github.com/lee-to)

---

Top Contributors

[![lee-to](https://avatars.githubusercontent.com/u/1861327?v=4)](https://github.com/lee-to "lee-to (13 commits)")[![ValenokPC](https://avatars.githubusercontent.com/u/16735162?v=4)](https://github.com/ValenokPC "ValenokPC (1 commits)")

---

Tags

laravellivewirephone-authphone registerphone login

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lee-to-laravel-phone-auth/health.svg)

```
[![Health](https://phpackages.com/badges/lee-to-laravel-phone-auth/health.svg)](https://phpackages.com/packages/lee-to-laravel-phone-auth)
```

###  Alternatives

[dutchcodingcompany/livewire-recaptcha

Add Google Recaptcha V3 support to your Laravel Livewire components

2427.4k1](/packages/dutchcodingcompany-livewire-recaptcha)[tonystore/livewire-permission-manager

Package that provides a graphical interface to manage roles and permissions.

171.0k](/packages/tonystore-livewire-permission-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
