Exemple #1
0
 public function testRoutePost()
 {
     Route::post('testing', ['uses' => 'myController@testing']);
 }
Exemple #2
0
<?php

require_once 'vendor/autoload.php';
use Kep\Routing\Route;
Route::group('v1', function () {
    Route::post('testing', ['uses' => 'MyController@testing']);
    Route::post('gettingstarted', function () {
        // Coding
    });
});