phoneauth/breeze

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

v1.0.0 2021-12-07 07:31 UTC

This package is auto-updated.

Last update: 2024-04-16 11:05:45 UTC


README

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.