{"action":"created","issue":{"url":"https://api.github.com/repos/atyagi/elasticache-laravel/issues/5","labels_url":"https://api.github.com/repos/atyagi/elasticache-laravel/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/atyagi/elasticache-laravel/issues/5/comments","events_url":"https://api.github.com/repos/atyagi/elasticache-laravel/issues/5/events","html_url":"https://github.com/atyagi/elasticache-laravel/pull/5","id":55819989,"number":5,"title":"Checking for memcached extension","user":{"login":"garethtdavies","id":135382,"avatar_url":"https://avatars.githubusercontent.com/u/135382?v=3","gravatar_id":"","url":"https://api.github.com/users/garethtdavies","html_url":"https://github.com/garethtdavies","followers_url":"https://api.github.com/users/garethtdavies/followers","following_url":"https://api.github.com/users/garethtdavies/following{/other_user}","gists_url":"https://api.github.com/users/garethtdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/garethtdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethtdavies/subscriptions","organizations_url":"https://api.github.com/users/garethtdavies/orgs","repos_url":"https://api.github.com/users/garethtdavies/repos","events_url":"https://api.github.com/users/garethtdavies/events{/privacy}","received_events_url":"https://api.github.com/users/garethtdavies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-28T21:42:07Z","updated_at":"2015-01-28T23:06:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atyagi/elasticache-laravel/pulls/5","html_url":"https://github.com/atyagi/elasticache-laravel/pull/5","diff_url":"https://github.com/atyagi/elasticache-laravel/pull/5.diff","patch_url":"https://github.com/atyagi/elasticache-laravel/pull/5.patch"},"body":"Hi,\r\n\r\nFirstly thanks for this package, it works great in production for me,\r\n\r\nI have an issue where on my local environment which is Windows I get a 'Class Memcached Not Found'. This breaks the entire application as the error occurs in the service provider. It's not possible to install the Memcached.dll extension on Windows but as I am not using the memcached driver in this environment (it's set to file) I don't want my application to fall over due to a missing driver that I'm not using.\r\n\r\nI've patched this bug with the following simple check to test for the extension. There might be a better way of doing it but this works for me!"},"comment":{"url":"https://api.github.com/repos/atyagi/elasticache-laravel/issues/comments/71936003","html_url":"https://github.com/atyagi/elasticache-laravel/pull/5#issuecomment-71936003","issue_url":"https://api.github.com/repos/atyagi/elasticache-laravel/issues/5","id":71936003,"user":{"login":"atyagi","id":1316495,"avatar_url":"https://avatars.githubusercontent.com/u/1316495?v=3","gravatar_id":"","url":"https://api.github.com/users/atyagi","html_url":"https://github.com/atyagi","followers_url":"https://api.github.com/users/atyagi/followers","following_url":"https://api.github.com/users/atyagi/following{/other_user}","gists_url":"https://api.github.com/users/atyagi/gists{/gist_id}","starred_url":"https://api.github.com/users/atyagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atyagi/subscriptions","organizations_url":"https://api.github.com/users/atyagi/orgs","repos_url":"https://api.github.com/users/atyagi/repos","events_url":"https://api.github.com/users/atyagi/events{/privacy}","received_events_url":"https://api.github.com/users/atyagi/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T23:06:01Z","updated_at":"2015-01-28T23:06:01Z","body":"Hey @garethtdavies , I agree with that - I think because of the session extension it needs to boot by default on every request.\r\n\r\nThe best approach would probably be to go with your approach on the ElasticacheConnecter, but in the Service Provider run a check based on what the connecter returns to do the actual bindings. \r\n\r\nThanks for all the help! Much appreciated!"}}