1. Go to this page and download the library: Download mane-olawale/superban 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/ */
mane-olawale / superban example snippets
Route::middleware(['superban:100,3,2880'])->group(function () {
Route::post('/audio', function () {
// ...
});
Route::post('/video', function () {
// ...
});
});
Route::middleware(['superban_route:100,3,2880'])->group(function () {
Route::post('/audio', function () {
// ...
});
Route::post('/video', function () {
// ...
});
});
Route::post('/audio', function () {
// ...
})->middleware(['superban_route:100,3,2880']);
Route::post('/video', function () {
// ...
})->middleware(['superban_route:100,3,2880']);