leila-akb/registration-platform

Registration platform with Sanctum.

dev-main 2024-04-21 08:23 UTC

This package is auto-updated.

Last update: 2025-04-21 10:41:27 UTC


README

leila.akbari1996@gmail.com

Registration and login by sending SMS.

This is a registration platform with sanctum.

Getting Started

step1:

composer require leila-akb/registration-platform:"dev-main"

step2:

Add provider and facade in config/app.php

'providers' => \Illuminate\Support\ServiceProvider::defaultProviders()->merge([ ... \Leila\RegistrationPlatform\AuthServiceProvider::class // <-- add this line at the end of provider array ])->toArray(),

'aliases' => [ ... 'Route' => \Illuminate\Support\Facades\Route::class, 'ReturnMessage' => \Leila\RegistrationPlatform\Facade\Message::class, // <-- add this line at the end of provider array "TransferFacade" => \Leila\RegistrationPlatform\Facade\Transfer::class ],

step3:

php artisan vendor:publish --tag

step4:

customize database settings in .env

setp5:

php artisan migrate