OpCode Warmer (composer 插件) 通过预热 OpCode 来优化您的应用程序。 要求 - PHP =7.0 - Zend 扩展 Opcache - 扩展 Zend_OpCache
OpCode Warmer (composer 插件) 通过预热 OpCode 来优化您的应用程序。 要求 - PHP =7.0 - Zend 扩展 Opcache - 扩展 Zend_OpCache
Optimize your application by warming up OpCode.
$ composer global require "jderusse/composer-warmup"; /etc/php/7.0/cli/conf.d/10-opcache.ini
zend_extension=opcache.so
opcache.enable_cli=1
opcache.file_cache='/tmp/opcache'
; recommended
opcache.file_update_protection=0$ cd my-project
$ composer warmup-opcodeSince PHP 7.0, the OpCache extension is able to store the compiled OpCode into files.
This plugin adds the warmup-opcode command to
composer which triggers the compilation for every
PHP file discovered in the project.
When you start the application for the first time, PHP doesn't need to compile the files, which improve performance.
暂无开放 Issues,或尚未同步最近议题。