Question

I want to make a modular CMS in Zend Framework 2 . Like News module , Gallery module and etc... How to make independent module in zf2 ? My biggest challenge in this case is configuring other modules like Zfcadmin and BjyAuthorize modules. How Can I set all configurations in my own module ? Is it possible ?

Was it helpful?

Solution

You can config other modules in your module. For example you can add child route of ZfcAdmin in your news module . There is no obligation to configure each module in its module.config.php file. Remember modules are just namespaces

OTHER TIPS

You should definitely have a look at ensemble if you want to develop your own CMS. Ensemble is built on top of ZfcAdmin so you can hook into both if you want to.

Disclaimer: I am the author of both Ensemble and ZfcAdmin

With regard to the configuration of ZfcAdmin, you should definitely start with the documentation. It's provided in the repository of ZfcAdmin. There is also a single page document about BjyAuthorize how to configure the module.

If you are not familiar with ZF2 and modules of ZF2 in general, I suggest to follow the user guide first.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top