PHP code example of liusir / wx-open-platform-for-laravel
1. Go to this page and download the library: Download liusir/wx-open-platform-for-laravel 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/ */
liusir / wx-open-platform-for-laravel example snippets
composer
'provider' => [
LiuDev\WxOpenPlatForm\WxOpenPlatformServiceProvider:class,
],
'aliases' => [
'OpenPlatform' => 'LiuDev\WxOpenPlatForm\Facades\OpenPlatForm',
],
php artisan vendor:publish --provider="LiuDev\WxOpenPlatForm\WxOpenPlatformServiceProvider"