Created
March 19, 2022 09:54
-
-
Save ManiruzzamanAkash/74269dc2f5cc79d14e81d701e22af558 to your computer and use it in GitHub Desktop.
Laravel + Twilio SMS integration routes file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Http\Controllers\HomeController; | |
use Illuminate\Support\Facades\Route; | |
/* | |
|-------------------------------------------------------------------------- | |
| Web Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register web routes for your application. These | |
| routes are loaded by the RouteServiceProvider within a group which | |
| contains the "web" middleware group. Now create something great! | |
| | |
*/ | |
Route::get('/', [HomeController::class, 'show'])->name('home'); | |
Route::post('/', [HomeController::class, 'storePhoneNumber']); | |
Route::post('/custom', [HomeController::class, 'sendCustomMessage']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment