wechat playground
1.0.0
현재 테스트 체험 버전으로 기능이 아직 완벽하지 않습니다. 피드백(버그, 기능...)을 환영합니다.
$ composer require mingyoung/wechat-playground:^1.0@dev
설치 후 프런트엔드 파일 게시
$ php artisan vendor:publish --tag=wechat-playground-assets --force
use WeChatPlayground Playground ;
use Illuminate Http Request ;
use EasyWeChat Factory ;
Playground:: use ( function ( Request $ request ) {
return Factory:: officialAccount ([
' app_id ' => ' wx13123456789e20 ' ,
' secret ' => ' d88e35627234289348743ba9590c32 ' ,
]);
});
그런 다음 URL http://example.com/wechat-playground를 엽니다.
WECHAT_PLAYGROUND_PATH=awesome