Download the PHP package hectorqin/hyperf-fastloader without Composer
On this page you can find all versions of the php package hectorqin/hyperf-fastloader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hectorqin/hyperf-fastloader
More information about hectorqin/hyperf-fastloader
Files in hectorqin/hyperf-fastloader
Informations about the package hyperf-fastloader
hyperf-fastloader
Make hyperf2.0 load faster by only caching file anotations in the vendor directory.
install
usage
This component only take effect when the configure scan_cache_vendor_only
is turned on and the configure scan_cacheable
is turned off.
-
Init composer classMap (Very important! If you delete PHP class file in the app dirctory or add/remove composer packages, you need to run this command again).
-
Replace
Hyperf\Di\ClassLoader::init();
withHector\FastLoader\ClassLoader::init();
-
Add the configure below to the config file
config/config.php
-
Add the configure below to the env file
.env
- Turn off
scan_cacheable