{"action":"created","issue":{"url":"https://api.github.com/repos/zelenin/yii2-summernote-widget/issues/1","labels_url":"https://api.github.com/repos/zelenin/yii2-summernote-widget/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zelenin/yii2-summernote-widget/issues/1/comments","events_url":"https://api.github.com/repos/zelenin/yii2-summernote-widget/issues/1/events","html_url":"https://github.com/zelenin/yii2-summernote-widget/issues/1","id":40193671,"number":1,"title":"Class 'Summernote' not found","user":{"login":"stratigos","id":3875361,"avatar_url":"https://avatars.githubusercontent.com/u/3875361?v=3","gravatar_id":"","url":"https://api.github.com/users/stratigos","html_url":"https://github.com/stratigos","followers_url":"https://api.github.com/users/stratigos/followers","following_url":"https://api.github.com/users/stratigos/following{/other_user}","gists_url":"https://api.github.com/users/stratigos/gists{/gist_id}","starred_url":"https://api.github.com/users/stratigos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stratigos/subscriptions","organizations_url":"https://api.github.com/users/stratigos/orgs","repos_url":"https://api.github.com/users/stratigos/repos","events_url":"https://api.github.com/users/stratigos/events{/privacy}","received_events_url":"https://api.github.com/users/stratigos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-08-13T20:07:26Z","updated_at":"2015-09-18T18:01:57Z","closed_at":"2014-08-13T22:23:55Z","body":"Hello Aleksandr Zelenin,\r\n\r\nTYSM for creating this widget for Yii2. Im trying to use this in a Yii2 application I am currently building, and cant seem to get the namespacing correct.\r\n\r\nI have the yii2-summernote-widget installed via composer as reccomended in the readme.md. When I use the example code, I get the following error:\r\n\r\n    PHP Fatal Error – yii\\base\\ErrorException\r\n    Class 'Summernote' not found\r\n\r\nIve tried adding the following:\r\n\r\n    <?php use Zelenin\\yii\\widgets\\Summernote; ?>\r\n\r\nwhich is defined in my vendor/yiisoft/extensions.php file, but I just get a \"Class 'Zelenin\\yii\\widgets\\Summernote' not found\" error instead.\r\n\r\nIve also typed out the namespace as \"vendor/zelenin/yii2-summernote-widget/Summernote.php\" as well, though this is an invalid namespace. \r\n\r\nCould you please help me understand what Im doing wrong? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zelenin/yii2-summernote-widget/issues/comments/141521016","html_url":"https://github.com/zelenin/yii2-summernote-widget/issues/1#issuecomment-141521016","issue_url":"https://api.github.com/repos/zelenin/yii2-summernote-widget/issues/1","id":141521016,"user":{"login":"JakubSzczesniak","id":7271228,"avatar_url":"https://avatars.githubusercontent.com/u/7271228?v=3","gravatar_id":"","url":"https://api.github.com/users/JakubSzczesniak","html_url":"https://github.com/JakubSzczesniak","followers_url":"https://api.github.com/users/JakubSzczesniak/followers","following_url":"https://api.github.com/users/JakubSzczesniak/following{/other_user}","gists_url":"https://api.github.com/users/JakubSzczesniak/gists{/gist_id}","starred_url":"https://api.github.com/users/JakubSzczesniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakubSzczesniak/subscriptions","organizations_url":"https://api.github.com/users/JakubSzczesniak/orgs","repos_url":"https://api.github.com/users/JakubSzczesniak/repos","events_url":"https://api.github.com/users/JakubSzczesniak/events{/privacy}","received_events_url":"https://api.github.com/users/JakubSzczesniak/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T18:01:57Z","updated_at":"2015-09-18T18:01:57Z","body":"haha, yes You are right. I have 2 composer.json and i wrote in wrong file. "}}