PHP code example of sadekd / laravel-request-id
1. Go to this page and download the library: Download sadekd/laravel-request-id 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/ */
sadekd / laravel-request-id example snippets
protected $middleware = [
\SadekD\LaravelRequestId\Http\Middleware\RequestId::class,
// or just 'request-id',
];
bash
php artisan vendor:publish --provider="SadekD\LaravelRequestId\LaravelRequestIdServiceProvider"