PHP code example of ibrand / laravel-miniprogram-poster
1. Go to this page and download the library: Download ibrand/laravel-miniprogram-poster 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/ */
ibrand / laravel-miniprogram-poster example snippets
Router::get('share/goods','ShareController@goods')->name('share.goods');
public function goods()
{
//你的业务逻辑代码,获取到相关数据
return view('share.goods',compact('data'));
}