PHP Preloading Example This example uses Slim 3 to show how you can preload a framework's code on PHP startup for better performance. This example requires PHP 7.4 and the opcache.preload setting in your php.ini to be pointed at the project's preload.php file.