PHP code example of hooklife / hyperf-aliyun-amqp
1. Go to this page and download the library: Download hooklife/hyperf-aliyun-amqp 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/ */
hooklife / hyperf-aliyun-amqp example snippets
return [
'default' => [
'endpoint' => env('AMQP_ENDPOINT', ''),
'owner_id' => env('AMQP_OWNER_ID'),
'access_key_id' => env('AMQP_AK_ID'),
'access_key_secret' => env('AMQP_AK_SECRET'),
],
];