PHP code example of oscar-rey / laravel-wompi
1. Go to this page and download the library: Download oscar-rey/laravel-wompi library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
oscar-rey / laravel-wompi example snippets
use LaravelWompi\Http\Middleware\CheckWompiWebHookMiddleware;
Route::post('/bancolombia/wompi/webhook', function () {
//
})->middleware(CheckWompiWebHookMiddleware::class);