From 61943f3946e53ac583187effe6e64da5a32d246c Mon Sep 17 00:00:00 2001 From: TheNorthMemory Date: Sat, 13 Jun 2015 15:21:23 +0800 Subject: [PATCH] =?UTF-8?q?update=20installation.md=20and=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installation.md | 4 ++-- 安装.md | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/installation.md b/installation.md index c714d5e..c919b8e 100644 --- a/installation.md +++ b/installation.md @@ -1,8 +1,8 @@ -## Requirements +## Environments - PHP >= 5.3.0 - [PHP cURL extension](http://php.net/manual/en/book.curl.php) -- [PHP Mcrypt extension](http://php.net/manual/en/book.mcrypt.php){{fn(optional, required while enable the encrypt transfer feature)}} +- [PHP Mcrypt extension](http://php.net/manual/en/book.mcrypt.php) optional required while enable the encrypt transfer feature [Laravel 5 SDK wrapper](https://github.com/overtrue/laravel-wechat) diff --git a/安装.md b/安装.md index c5922d7..27a3196 100644 --- a/安装.md +++ b/安装.md @@ -1,7 +1,13 @@ -环境要求: PHP >= 5.3.0 +## 环境要求 +- PHP >= 5.3.0 +- [PHP cURL 扩展](http://php.net/manual/en/book.curl.php) +- [PHP Mcrypt 扩展](http://php.net/manual/en/book.mcrypt.php) 当启用加密消息时必选 + [Laravel 5 拓展包: overtrue/laravel-wechat](https://github.com/overtrue/laravel-wechat) +## 安装 + 1. 使用 [composer](http://getcomposer.org/): ```shell @@ -10,14 +16,14 @@ 2. 手动安装 - 下载 [最新版zip包](https://github.com/overtrue/wechat/archive/master.zip) 或者下载指定版本: https://github.com/overtrue/wechat/releases + - 下载 [最新版zip包](https://github.com/overtrue/wechat/archive/master.zip) + - 或者下载 [指定版本](https://github.com/overtrue/wechat/releases) 然后引入根目录的 `autoload.php` 即可: ```php