{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/7825","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/7825/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/7825/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/7825/events","html_url":"https://github.com/grpc/grpc/issues/7825","id":172526756,"number":7825,"title":"[PHP] Fatal error: Class 'Grpc\\ChannelCredentials' not found","user":{"login":"mcos","id":330871,"avatar_url":"https://avatars.githubusercontent.com/u/330871?v=3","gravatar_id":"","url":"https://api.github.com/users/mcos","html_url":"https://github.com/mcos","followers_url":"https://api.github.com/users/mcos/followers","following_url":"https://api.github.com/users/mcos/following{/other_user}","gists_url":"https://api.github.com/users/mcos/gists{/gist_id}","starred_url":"https://api.github.com/users/mcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcos/subscriptions","organizations_url":"https://api.github.com/users/mcos/orgs","repos_url":"https://api.github.com/users/mcos/repos","events_url":"https://api.github.com/users/mcos/events{/privacy}","received_events_url":"https://api.github.com/users/mcos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grpc/grpc/labels/php","name":"php","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"stanley-cheung","id":11674202,"avatar_url":"https://avatars.githubusercontent.com/u/11674202?v=3","gravatar_id":"","url":"https://api.github.com/users/stanley-cheung","html_url":"https://github.com/stanley-cheung","followers_url":"https://api.github.com/users/stanley-cheung/followers","following_url":"https://api.github.com/users/stanley-cheung/following{/other_user}","gists_url":"https://api.github.com/users/stanley-cheung/gists{/gist_id}","starred_url":"https://api.github.com/users/stanley-cheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanley-cheung/subscriptions","organizations_url":"https://api.github.com/users/stanley-cheung/orgs","repos_url":"https://api.github.com/users/stanley-cheung/repos","events_url":"https://api.github.com/users/stanley-cheung/events{/privacy}","received_events_url":"https://api.github.com/users/stanley-cheung/received_events","type":"User","site_admin":false},"assignees":[{"login":"stanley-cheung","id":11674202,"avatar_url":"https://avatars.githubusercontent.com/u/11674202?v=3","gravatar_id":"","url":"https://api.github.com/users/stanley-cheung","html_url":"https://github.com/stanley-cheung","followers_url":"https://api.github.com/users/stanley-cheung/followers","following_url":"https://api.github.com/users/stanley-cheung/following{/other_user}","gists_url":"https://api.github.com/users/stanley-cheung/gists{/gist_id}","starred_url":"https://api.github.com/users/stanley-cheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanley-cheung/subscriptions","organizations_url":"https://api.github.com/users/stanley-cheung/orgs","repos_url":"https://api.github.com/users/stanley-cheung/repos","events_url":"https://api.github.com/users/stanley-cheung/events{/privacy}","received_events_url":"https://api.github.com/users/stanley-cheung/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-08-22T18:53:13Z","updated_at":"2016-08-25T17:15:47Z","closed_at":null,"body":"After installing using `composer` (via `composer require grpc/grpc`), I get the following error when trying to create channel credentials:\r\n\r\n```\r\nFatal error: Class 'Grpc\\ChannelCredentials' not found in vendor/grpc/grpc/src/php/lib/Grpc/BaseStub.php on line 61\r\n```\r\n\r\nThe offending line:\r\n```php\r\n$channel_credentials = \\Grpc\\ChannelCredentials::createInsecure();\r\n```\r\n\r\nMy PHP version:\r\n\r\n```\r\nPHP 5.6.24 (cli) (built: Jul 22 2016 02:41:22) \r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n```\r\n\r\nIs there any guidance for this? I also get this line after installing the `PECL` extension.\r\n\r\ncc/ @stanley-cheung for his support on this."},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/242469349","html_url":"https://github.com/grpc/grpc/issues/7825#issuecomment-242469349","issue_url":"https://api.github.com/repos/grpc/grpc/issues/7825","id":242469349,"user":{"login":"stanley-cheung","id":11674202,"avatar_url":"https://avatars.githubusercontent.com/u/11674202?v=3","gravatar_id":"","url":"https://api.github.com/users/stanley-cheung","html_url":"https://github.com/stanley-cheung","followers_url":"https://api.github.com/users/stanley-cheung/followers","following_url":"https://api.github.com/users/stanley-cheung/following{/other_user}","gists_url":"https://api.github.com/users/stanley-cheung/gists{/gist_id}","starred_url":"https://api.github.com/users/stanley-cheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanley-cheung/subscriptions","organizations_url":"https://api.github.com/users/stanley-cheung/orgs","repos_url":"https://api.github.com/users/stanley-cheung/repos","events_url":"https://api.github.com/users/stanley-cheung/events{/privacy}","received_events_url":"https://api.github.com/users/stanley-cheung/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T17:15:47Z","updated_at":"2016-08-25T17:15:47Z","body":"@mcos, what's the timestamp issue?"}}
{"actor":{"display_login":"stanley-cheung"}}