Download the PHP package ewilde-imperial/edp-superluminal without Composer
On this page you can find all versions of the php package ewilde-imperial/edp-superluminal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ewilde-imperial/edp-superluminal
More information about ewilde-imperial/edp-superluminal
Files in ewilde-imperial/edp-superluminal
Package edp-superluminal
Short Description Modification of https://github.com/EvanDotPro/EdpSuperluminal to work with Laminas
License BSD-3-Clause
Homepage https://github.com/ewilde-imperial/EdpSuperluminal
Informations about the package edp-superluminal
EdpSuperluminal
Introduction
EdpSuperluminal is a Laminas module that caches the Zend classes used by your application into a single file. Including this file greatly reduces the execution time of your application, as the calls to the standard autoloader are almost entirely eliminated.
Warning: After installing and enabling this module, it may seem as though your Laminas application is running faster than the speed of light (superluminal). Don't panic. This is just an illusion and no laws of physics are being violated.
Installation
- Clone this module into your
vendor/
directory and enableEdpSuperluminal
- Copy
vendor/.../config/edp-superluminal.config.php.dist
toapplication/config/autoload/edp-superluminal.config.php
and edit as required -
Add the following line in
public/index.php
immediately after thechdir()
call: - In your browser, go to http://yourapp/?EDPSUPERLUMINAL\_CACHE to build the initial class. You should do this for any page that is (a) dependency heavy, and/or (b) every page with a different dependency graph. Each call will append to the cache with any newly discovered classes. REQUESTS WHERE YOU ARE BUILDING THE CACHE WILL BE SLOW, THIS IS NORMAL.
- Once the cache is built, you can disable and delete EdpSuperluminal, leaving
line you added to
public/index.php
.
All versions of edp-superluminal with dependencies
laminas/laminas-code Version 3.*
laminas/laminas-dependency-plugin Version ^1.0