PHP code example of sergiusd / composer-warmup
1. Go to this page and download the library: Download sergiusd/composer-warmup library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sergiusd / composer-warmup example snippets
bash
$ composer global
ini
; /etc/php/7.0/cli/conf.d/10-opcache.ini
zend_extension=opcache.so
opcache.enable_cli=1
opcache.file_cache='/tmp/opcache'
; recommanded
opcache.file_update_protection=0
opcache.validate_timestamps=0