0
votes

I want to extend the ZfcUser module, but i do not want to edit the original ZfcUser files. How can i extend files like the module.php, the view and form files? or is it even possible to extend the complete module?

1

1 Answers

2
votes

For what reason do you need to extend the ZfcUser\Module class? In most cases, you have the ability to do it in a custom user module class, say MyUser\Module.

For other features, check out my answer to the question ZF2, what's the best practice for working with Vendor Module's Form classes? and the blogpst I created based on that afterwards. The question on SO uses still the old mechanism of Zend\Di but my blog post is updated to use the Zend\ServiceManager approach.