https://github.com/rayiumir/vordia
Vordia Mobile Authentication Laravel
https://github.com/rayiumir/vordia
authentication mobile mobile-authentication mobile-authentication-laravel mobile-package otp otp-laravel otp-verification otpauth
Last synced: over 1 year ago
JSON representation
Vordia Mobile Authentication Laravel
- Host: GitHub
- URL: https://github.com/rayiumir/vordia
- Owner: Rayiumir
- License: mit
- Created: 2025-01-07T13:06:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-10T13:13:56.000Z (over 1 year ago)
- Last Synced: 2025-03-10T14:25:23.070Z (over 1 year ago)
- Topics: authentication, mobile, mobile-authentication, mobile-authentication-laravel, mobile-package, otp, otp-laravel, otp-verification, otpauth
- Language: PHP
- Homepage: https://packagist.org/packages/rayiumir/vordia
- Size: 1.93 MB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vordia
A simple and lightweight mobile authentication package for Laravel And it has a default admin panel.
# How to use
Install Package :
```bash
composer require rayiumir/vordia
```
After Publish Config Files:
```bash
php artisan vendor:publish --provider="Rayiumir\\Vordia\\ServiceProvider\\VordiaServiceProvider"
```
And Migration Database:
```bash
php artisan migrate
```
Add Fields in Model user.php :
```php
protected $fillable = [
'name',
'email',
'password',
'mobile',
'otp',
'login_token'
];
```
# List of SMS Operator
SMS Operator
Link
SMSIR
https://sms.ir/
# SMS API KEY
Add this code to `.env`
```bash
SMSIR_API_KEY= Add API KEY
SMSIR_OTP_TEMPLATE_ID= ADD OTP TEMPLATE ID
```
# Screenshots
Login Mobile
Check OTP Login Mobile