How to use Apigility with an existing ZF2 application?

穿精又带淫゛_ 提交于 2019-12-05 02:56:39

The Apigility config space you are referring to is the Apigility Admin which would be located at http://local.project/apigility/ui. Upon studying your configuration it appears you are missing two key modules; 'ZF\Apigility\Admin' and 'ZF\Configuration'. The ZF\Apigility\Admin module includes the AngularJS UI application for web service management, such as the code connected services you are trying to create. The ZF\Configuration module will allow Apigility to modify ZF2 configuration files.

Add 'ZF\Apigility\Admin' and 'ZF\Configuration' to your application.config.php module list and you should be able to access the admin.

WARNING: Do not load/include these modules in a production environment. You don't want random people messing around with your services.

You may want to look into the zfcampus/zf-development-mode module as it will allow you to easily manage loading modules within different environments such as development and production.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!