在没找到好用的Laravel Opcache界面包而开发的
composer
php composer.phar require aping/laravel-opcache-gui
或
"require": {
"aping/laravel-opcache-gui": "dev-master"
}
Add Service Provider to config/app.php in providers section
Aping\LaravelOpcacheGui\OpcacheServiceProvider::class,
Add a route in your web routes file
Route::get('opcache', '\Aping\LaravelOpcacheGui\Controllers\OpcacheController@index');
Go to http://myapp/opcache or some other route
- opcache flush & tests