PHP code example of ocornejo / conekta-laravel

1. Go to this page and download the library: Download ocornejo/conekta-laravel 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/ */

    

ocornejo / conekta-laravel example snippets


'providers' => [
    ...,
    Ocornejo\Conekta\ConektaServiceProvider::class,
]

Route::post('conekta/webhook', 'ConektaController@webhook');

$ php artisan vendor:publish --provider="Ocornejo\Conekta\ConektaServiceProvider"