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