laminas-modulemanager
laminas-modulemanager copied to clipboard
Generate module configuration cache via command line
Related to PR https://github.com/zendframework/zend-modulemanager/pull/53.
On a production running website one would ideally have the module-config-cache.php
file generated before launching a new version. It would help if a command line utility would exist for this. This could work like the autoloader could be generated beforehand: https://framework.zend.com/manual/2.2/en/modules/zend.loader.classmap-generator.html.
Any thoughts on this?
Originally posted by @roelvanduijnhoven at https://github.com/zendframework/zend-modulemanager/issues/54
Could you point to a code fragment (absolute URI) please?
https://github.com/laminas/laminas-mail/blob/ee318f54ca9d9d475acfea074e8077e56c5198bc/src/Protocol/AbstractProtocol.php#L310-L321