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

ActiveLibrary

ert3e/laravel-phone-auth
========================

Laravel+livewire phone auth module

0.1(4y ago)010MITPHPPHP ^7.3|^8.0

Since Apr 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ert3e/laravel-livewire-phone-auth)[ Packagist](https://packagist.org/packages/ert3e/laravel-phone-auth)[ Docs](https://github.com/ert3e/laravel-phone-auth)[ RSS](/packages/ert3e-laravel-phone-auth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)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="Ert3e\\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)

\\Ert3e\\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

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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

Unknown

Total

1

Last Release

1486d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba2a44baba54235e5a2678450a98c7ba8ef63d00d1c9173daa0512a22c85ed1f?d=identicon)[ert3e](/maintainers/ert3e)

---

Top Contributors

[![ert3e](https://avatars.githubusercontent.com/u/15074869?v=4)](https://github.com/ert3e "ert3e (16 commits)")[![lee-to](https://avatars.githubusercontent.com/u/1861327?v=4)](https://github.com/lee-to "lee-to (12 commits)")

---

Tags

laravellivewirephone-authphone registerphone login

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tanthammar/livewire-window-size

Laravel blade directives and php helpers for serverside rendered content, based on browser window size WITHOUT css. Requires Livewire and AlpineJS

2321.0k](/packages/tanthammar-livewire-window-size)

PHPackages © 2026

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