laminas-modulemanager icon indicating copy to clipboard operation
laminas-modulemanager copied to clipboard

Generate module configuration cache via command line

Open weierophinney opened this issue 5 years ago • 5 comments

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

weierophinney avatar Dec 31 '19 21:12 weierophinney

Could you point to a code fragment (absolute URI) please?

Ocramius avatar Aug 02 '21 21:08 Ocramius

https://github.com/laminas/laminas-mail/blob/ee318f54ca9d9d475acfea074e8077e56c5198bc/src/Protocol/AbstractProtocol.php#L310-L321

froschdesign avatar Aug 02 '21 21:08 froschdesign