From c26b14b7a0fe950bd7eb4ab2c6416204bfe71e7e Mon Sep 17 00:00:00 2001 From: TheNorthMemory Date: Sat, 13 Jun 2015 15:16:14 +0800 Subject: [PATCH] add installation.md --- installation.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 installation.md diff --git a/installation.md b/installation.md new file mode 100644 index 0000000..c714d5e --- /dev/null +++ b/installation.md @@ -0,0 +1,28 @@ +## Requirements + +- 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)}} + +[Laravel 5 SDK wrapper](https://github.com/overtrue/laravel-wechat) + +## Installations +1. By [composer](http://getcomposer.org/): + + ```shell + composer require overtrue/wechat + ``` + +2. By Downlads + + - [download the lastest version zip package](https://github.com/overtrue/wechat/archive/master.zip) + - [or the archived version](https://github.com/overtrue/wechat/releases) + + and then point-out the package `autoload.php` file such as: + + ```php +