Skip to content

amir94rp/phoneauth-breeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About PhoneAuth

This package built on top of Laravel Breeze and changes laravel default email based authentication to phone number auth.

Install

First, you should create a new Laravel application, configure your database, and run your database migrations. Once you have created a new Laravel application, you may install PhoneAuth using Composer:

composer require phoneauth/breeze --dev

After Composer has installed the PhoneAuth package, you may run the phoneauth:install Artisan command. This command publishes the authentication views, routes, controllers, and other resources to your application.

php artisan phoneauth:install

npm install
npm run dev
php artisan migrate

SMS Channel

This package uses a custom channel to send SMS and you have to make changes in the following file for your own use

\App\Notifications\VerifyPhoneNumber

License

The Laravel package is open-sourced software licensed under the MIT license.