Hi,
When you create REST-API then that API may consumed at Web or Mobile.
So, Its become important to capture the API information which was called from Web-User or Mobile-User.
API developer always want to know which method type, version, IP-Address and param used in consumed API.
So, I like to share the ZF2 Plugin that will help you to monitor the API calls.
You can download the plugin from git-hub:
https://github.com/tarun-singhal/AppLogger
OR
You can install the AppLogger plugin via composer.json file
Include the below line in your comoser.json file:
Then run the
It will install the AppLogger module in your ZF2 application.
After this please follow the Git-hub readme file at
https://github.com/tarun-singhal/AppLogger/blob/master/README.md
Once you setup the plugin in your application then your view will be:
Thanks
When you create REST-API then that API may consumed at Web or Mobile.
So, Its become important to capture the API information which was called from Web-User or Mobile-User.
API developer always want to know which method type, version, IP-Address and param used in consumed API.
So, I like to share the ZF2 Plugin that will help you to monitor the API calls.
You can download the plugin from git-hub:
https://github.com/tarun-singhal/AppLogger
OR
You can install the AppLogger plugin via composer.json file
Include the below line in your comoser.json file:
"tarun-singhal/applogger": "dev-master"Then run the
# php composer.phar updateIt will install the AppLogger module in your ZF2 application.
After this please follow the Git-hub readme file at
https://github.com/tarun-singhal/AppLogger/blob/master/README.md
Once you setup the plugin in your application then your view will be:
Thanks

No comments:
Post a Comment