Download the PHP package lee-to/laravel-phone-auth without Composer
On this page you can find all versions of the php package lee-to/laravel-phone-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lee-to/laravel-phone-auth
More information about lee-to/laravel-phone-auth
Files in lee-to/laravel-phone-auth
Download lee-to/laravel-phone-auth
More information about lee-to/laravel-phone-auth
Files in lee-to/laravel-phone-auth
Vendor lee-to
Package laravel-phone-auth
Short Description Laravel+livewire phone auth module
License MIT
Homepage https://github.com/lee-to/laravel-phone-auth
Package laravel-phone-auth
Short Description Laravel+livewire phone auth module
License MIT
Homepage https://github.com/lee-to/laravel-phone-auth
Please rate this library. Is it a good library?
Informations about the package laravel-phone-auth
laravel-phone-auth
Important
- Need laravel livewire package
- The default template uses tailwind classes (customize it if you want)
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
User Model
-
Add PhoneVerification Trait to User Model
- Add phone cast to User Model
Blade component
Auth/Phone verification form
-
Simple
-
Without form wrap
- Register new or login if phone verified and exist
Check phone confirmed
\Leeto\PhoneAuth\Models\ConfirmedPhone::confirmed($phone, $user_id = null);
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
All versions of laravel-phone-auth with dependencies
PHP Build Version
Package Version
The package lee-to/laravel-phone-auth contains the following files
Loading the files please wait ....