{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/193","labels_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/193/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/193/events","html_url":"https://github.com/elastic/elasticsearch-php/issues/193","id":59509150,"number":193,"title":"v2.0.0-beta1 Feedback","user":{"login":"polyfractal","id":1224228,"avatar_url":"https://avatars.githubusercontent.com/u/1224228?v=3","gravatar_id":"","url":"https://api.github.com/users/polyfractal","html_url":"https://github.com/polyfractal","followers_url":"https://api.github.com/users/polyfractal/followers","following_url":"https://api.github.com/users/polyfractal/following{/other_user}","gists_url":"https://api.github.com/users/polyfractal/gists{/gist_id}","starred_url":"https://api.github.com/users/polyfractal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polyfractal/subscriptions","organizations_url":"https://api.github.com/users/polyfractal/orgs","repos_url":"https://api.github.com/users/polyfractal/repos","events_url":"https://api.github.com/users/polyfractal/events{/privacy}","received_events_url":"https://api.github.com/users/polyfractal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch-php/labels/2.0","name":"2.0","color":"d4c5f9"},{"url":"https://api.github.com/repos/elastic/elasticsearch-php/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-02T16:58:30Z","updated_at":"2015-06-11T12:02:45Z","closed_at":null,"body":"Have you used v2.0.0-beta1?  Love it?  Hate it?  Questions how to use it?  This is the ticket for you!"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/comments/111107067","html_url":"https://github.com/elastic/elasticsearch-php/issues/193#issuecomment-111107067","issue_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/193","id":111107067,"user":{"login":"simplechris","id":520892,"avatar_url":"https://avatars.githubusercontent.com/u/520892?v=3","gravatar_id":"","url":"https://api.github.com/users/simplechris","html_url":"https://github.com/simplechris","followers_url":"https://api.github.com/users/simplechris/followers","following_url":"https://api.github.com/users/simplechris/following{/other_user}","gists_url":"https://api.github.com/users/simplechris/gists{/gist_id}","starred_url":"https://api.github.com/users/simplechris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplechris/subscriptions","organizations_url":"https://api.github.com/users/simplechris/orgs","repos_url":"https://api.github.com/users/simplechris/repos","events_url":"https://api.github.com/users/simplechris/events{/privacy}","received_events_url":"https://api.github.com/users/simplechris/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T12:02:45Z","updated_at":"2015-06-11T12:02:45Z","body":"@fractalf `ClientBuilder` refers to the `Elasticsearch\\ClientBuilder` class -[src/Elasticsearch/ClientBuilder.php](https://github.com/elastic/elasticsearch-php/blob/2.0/src/Elasticsearch/ClientBuilder.php)\r\n\r\nAs the class is in the `Elasticsearch` namespace, you will need to add a `use` statement, or reference the class via it's fully qualified name:\r\n\r\n```php\r\n<?php\r\n\r\nrequire 'vendor/autoload.php';\r\n\r\nuse Elasticsearch\\ClientBuilder;\r\n\r\n$client = ClientBuilder::create()->build();\r\n\r\n```\r\n\r\nor\r\n\r\n```php\r\n<?php\r\n\r\nrequire 'vendor/autoload.php';\r\n\r\n$client = \\Elasticsearch\\ClientBuilder::create()->build();\r\n```\r\n\r\n:+1: "}}