PHP code example of vbot / find-movies
1. Go to this page and download the library: Download vbot/find-movies 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/ */
vbot / find-movies example snippets
// ...
'extension' => [
'find_movies' => [
'limit' => 5,
'msg' => '抱歉,没有找到和 "{keyword}" 相关的电影。',
'render' => function ($movies){return '自定义消息';}
]
],