huddledigital / zendesk-laravel

Laravel wrapper for zendesk/zendesk_api_client_php package.
MIT License
104 stars 71 forks source link

Add null & log drivers #16

Closed imacrayon closed 4 years ago

imacrayon commented 4 years ago

Setting ZENDESK_DRIVER=null will disable this service. Setting ZENDESK_DRIVER=log will disable this service while logging any calls made to it.

This is helpful in testing where I might not want to make real API calls to Zendesk.

ZENDESK_DRIVER defaults to api and will just use the normal ZendeskService so there isn't any breaking changes.

harry-huddle commented 4 years ago

Thanks @imacrayon!