使用Clockwork 来调试Laravel [转]

2017-02-28  本文已影响87人  洞房花猪

说明

Clockword 由两个部分组成:

安装

"require-dev": {
        ...
        "itsgoingd/clockwork": "~1.8",
    },
'providers' => [
    ...
    Clockwork\Support\Laravel\ClockworkServiceProvider::class,
]
protected $middleware = [
    \Clockwork\Support\Laravel\ClockworkMiddleware::class,
    ...
]
php artisan vendor:publish --provider='Clockwork\Support\Laravel\ClockworkServiceProvider'
'aliases' => [
    ...
    'Clockwork' => Clockwork\Support\Laravel\Facade::class,
]

上一篇下一篇

猜你喜欢

热点阅读