PHP code example of laravel-dev-common / union-middleware
1. Go to this page and download the library: Download laravel-dev-common/union-middleware 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/ */
laravel-dev-common / union-middleware example snippets
`
return [
'mid'=>[
'excepturl'=>[
// 'test/mid'
],
'sign'=>[
'secret'=>[
'android'=>[
'first'=>'11111111111111111111',
'second'=>'22222222222222222222'
],
'ios'=>[
'first'=>'33333333333333333333',
'second'=>'44444444444444444444'
]
],
'headers'=>[
'uid'
]
]
]
];