{"action":"created","issue":{"url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/18","labels_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/18/comments","events_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/18/events","html_url":"https://github.com/confirm/PhpZabbixApi/issues/18","id":104270364,"number":18,"title":"Composer issues and class not found","user":{"login":"gboddin","id":4395092,"avatar_url":"https://avatars.githubusercontent.com/u/4395092?v=3","gravatar_id":"","url":"https://api.github.com/users/gboddin","html_url":"https://github.com/gboddin","followers_url":"https://api.github.com/users/gboddin/followers","following_url":"https://api.github.com/users/gboddin/following{/other_user}","gists_url":"https://api.github.com/users/gboddin/gists{/gist_id}","starred_url":"https://api.github.com/users/gboddin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gboddin/subscriptions","organizations_url":"https://api.github.com/users/gboddin/orgs","repos_url":"https://api.github.com/users/gboddin/repos","events_url":"https://api.github.com/users/gboddin/events{/privacy}","received_events_url":"https://api.github.com/users/gboddin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-01T13:46:18Z","updated_at":"2015-11-04T14:31:44Z","closed_at":null,"body":"I cannot get this library to work, steps to reproduce : \r\n\r\n* create a new project dir\r\n* run ```composer require 'confirm-it-solutions/php-zabbix-api:2.4.2'```\r\n* create test.php with the following content :\r\n\r\n```php\r\n<?php\r\nrequire 'vendor/autoload.php';\r\nuse ZabbixApi\\ZabbixApi;\r\n$test = new ZabbixApi();\r\n```\r\nor\r\n```php\r\n<?php\r\nrequire 'vendor/autoload.php';\r\n$test = new \\ZabbixApi\\ZabbixApi();\r\n```\r\n\r\nResult is :  \r\n```\r\nPHP Fatal error:  Class 'ZabbixApi\\ZabbixApi' not found in /home/boddigr/Projects/new/index.php on line 4\r\nPHP Stack trace:\r\nPHP   1. {main}() /home/boddigr/Projects/new/index.php:0\r\n```\r\n\r\nphp & composer info : \r\n\r\n```\r\nPHP 5.6.12-1 (cli) \r\nCopyright (c) 1997-2015 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies\r\n    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies\r\n    with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans\r\n\r\nComposer version 1.0-dev (afd98b74f13b9def1b2447f16fd0bfd4d96dff94) 2015-08-31 09:58:50\r\n```"},"comment":{"url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/comments/153743476","html_url":"https://github.com/confirm/PhpZabbixApi/issues/18#issuecomment-153743476","issue_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/18","id":153743476,"user":{"login":"narigua","id":1640360,"avatar_url":"https://avatars.githubusercontent.com/u/1640360?v=3","gravatar_id":"","url":"https://api.github.com/users/narigua","html_url":"https://github.com/narigua","followers_url":"https://api.github.com/users/narigua/followers","following_url":"https://api.github.com/users/narigua/following{/other_user}","gists_url":"https://api.github.com/users/narigua/gists{/gist_id}","starred_url":"https://api.github.com/users/narigua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narigua/subscriptions","organizations_url":"https://api.github.com/users/narigua/orgs","repos_url":"https://api.github.com/users/narigua/repos","events_url":"https://api.github.com/users/narigua/events{/privacy}","received_events_url":"https://api.github.com/users/narigua/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T14:31:44Z","updated_at":"2015-11-04T14:31:44Z","body":"Rectification !\r\nIt works with 2.4.x-dev.\r\nMaybe for next version ?"}}