Skip to main content

用到的composer组件

"require": {
"php": ">= 5.3.0",
"filp/whoops": "*",
"symfony/var-dumper": "*",
"catfan/medoo": "*",
"twig/twig": "*"
}

filp/whoops 报错的作用 需要创建对象

$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();

symfony/var-dumper dump这个作用 laravel 有一个 beyondcode/laravel-dump-server 类似


catfan/medoo 轻量级的PHP数据库框架 网址: https://medoo.lvtao.net/


twig/twig 模板引擎 网址: https://twig.symfony.com/doc/2.x/


fzaninotto/faker 生成假数据 https://github.com/fzaninotto/Faker


nunomaduro/collision 命令行里的报错扩展