Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mohammad-fouladgar
Created February 18, 2022 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohammad-fouladgar/ef375de0cbacad659e542b50c31f0f80 to your computer and use it in GitHub Desktop.
Save mohammad-fouladgar/ef375de0cbacad659e542b50c31f0f80 to your computer and use it in GitHub Desktop.
<?php
use App\Http\Controllers\AuthController;
use Illuminate\Support\Facades\Route;
Route::controller(AuthController::class)->group(function () {
Route::post('/send-otp', 'sendOTP');
Route::post('/validate-otp', 'verifyOTPAndLogin');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment