mirror of
https://github.com/w7corp/easywechat.git
synced 2025-01-22 11:32:08 +00:00
add installation.md
parent
cb33d8eff1
commit
c26b14b7a0
28
installation.md
Normal file
28
installation.md
Normal file
@ -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
|
||||
<?php
|
||||
|
||||
require __DIR__ . "/wechat/autoload.php";
|
||||
...
|
||||
```
|
Loading…
Reference in New Issue
Block a user