## ThinkPHP一个简单的项目
```
composer config -g repo.packagist composer https://packagist.phpcomposer.com
composer create-project topthink/think project-name --prefer-dist
cd project-name
npm install
composer require "overtrue/wechat"
cd public
php -S localhost:8888 router.php
php think make:controller admin/Index --plain //创建控制器
```
![mark](http://qiniu.newthink.cc/blog/180815/dh38f6LL6C.png)
教程
https://www.bilibili.com/video/av23313630/?p=2