{"action":"created","issue":{"url":"https://api.github.com/repos/koala-framework/koala-framework/issues/373","labels_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/373/comments","events_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/373/events","html_url":"https://github.com/koala-framework/koala-framework/issues/373","id":92267278,"number":373,"title":"KWF Autoloader can't load PHPExcel 1.9","user":{"login":"Sogl","id":7556290,"avatar_url":"https://avatars.githubusercontent.com/u/7556290?v=3","gravatar_id":"","url":"https://api.github.com/users/Sogl","html_url":"https://github.com/Sogl","followers_url":"https://api.github.com/users/Sogl/followers","following_url":"https://api.github.com/users/Sogl/following{/other_user}","gists_url":"https://api.github.com/users/Sogl/gists{/gist_id}","starred_url":"https://api.github.com/users/Sogl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sogl/subscriptions","organizations_url":"https://api.github.com/users/Sogl/orgs","repos_url":"https://api.github.com/users/Sogl/repos","events_url":"https://api.github.com/users/Sogl/events{/privacy}","received_events_url":"https://api.github.com/users/Sogl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T04:40:36Z","updated_at":"2015-07-01T06:46:26Z","closed_at":"2015-07-01T06:46:25Z","body":"Hi!\r\n\r\nToday I tried to use PHPExcel 1.9.\r\nMy composer:\r\n```javascript\r\n{\r\n    \"require\": {\r\n        \"koala-framework/koala-framework\": \"3.8.x-dev\",\r\n        \"phpoffice/phpexcel\": \"1.9.x-dev\"\r\n    },\r\n    \"minimum-stability\": \"dev\",\r\n    \"prefer-stable\": true\r\n}\r\n```\r\n\r\nUpdate process:\r\n```\r\nc:\\OpenServer\\domains\\aviashelf>composer update\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\n  - Removing phpoffice/phpexcel (1.8.0)\r\n  - Installing phpoffice/phpexcel (1.9.x-dev ed087dd)\r\n    Cloning ed087dd396a42da9c8deca6095c7e6c2b2815b75\r\n\r\nWriting lock file\r\nGenerating autoload files\r\n\r\ninstalling npm dependencies in 'C:\\OpenServer\\domains\\aviashelf/vendor/koala-framework/koala-framework'...\r\n\r\ninstalling bower dependencies...\r\n\r\nc:\\OpenServer\\domains\\aviashelf>php bootstrap.php clear-cache\r\n[ 1/10] clearing simpleCache... OK (18ms)\r\n[ 2/10] clearing model......... OK (36ms)\r\n[ 3/10] clearing simple........ OK (84ms)\r\n[ 4/10] clearing twig.......... OK (0ms)\r\n[ 5/10] clearing zend.......... OK (3ms)\r\n[ 6/10] clearing config........ OK (1ms)\r\n[ 7/10] clearing setup......... OK (0ms)\r\n[ 8/10] clearing assets........ OK (102ms)\r\n[9/10] refreshing config...... OK (63ms)\r\n[10/10] refreshing setup....... OK (181ms)\r\n\r\nc:\\OpenServer\\domains\\aviashelf>php bootstrap.php build\r\n[ 1/3] building trl...... OK (194ms)\r\n[ 2/3] building events... OK (320ms)\r\n[ 3/3] building assets...\r\ncalculating dependencies...\r\n100% [#####################] Maintenance printcss\r\ncompiling assets...\r\n100% [#####################] kwf/Kwf_js/Maintenance/Setup.css\r\ngenerating packages...\r\n100% [#####################] Maintenance printcss en url                       Frontend js size: 372 Bytes\r\nFrontend defer.js size: 125 Bytes\r\nFrontend css size: 124 Bytes, rules: 0\r\nAdmin js size: 344 KB\r\nAdmin defer.js size: 123 Bytes\r\nAdmin css size: 19 KB, rules: 1412\r\nMaintenance js size: 306 KB\r\nMaintenance defer.js size: 122 Bytes\r\nMaintenance css size: 14 KB, rules: 1089\r\nOK (31337ms)\r\n\r\nc:\\OpenServer\\domains\\aviashelf>\r\n```\r\n\r\nBut KWF not working with it:\r\n```\r\nFatal error:  Class 'PHPExcel' not found in C:\\OpenServer\\domains\\aviashelf\\controllers\\Exceluploads\r\n\\ExceluploadsController.php on line 135\r\n```\r\n\r\nLine 135:\r\n```php\r\n$xls = new PHPExcel();\r\n```"},"comment":{"url":"https://api.github.com/repos/koala-framework/koala-framework/issues/comments/117473996","html_url":"https://github.com/koala-framework/koala-framework/issues/373#issuecomment-117473996","issue_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/373","id":117473996,"user":{"login":"nsams","id":50764,"avatar_url":"https://avatars.githubusercontent.com/u/50764?v=3","gravatar_id":"","url":"https://api.github.com/users/nsams","html_url":"https://github.com/nsams","followers_url":"https://api.github.com/users/nsams/followers","following_url":"https://api.github.com/users/nsams/following{/other_user}","gists_url":"https://api.github.com/users/nsams/gists{/gist_id}","starred_url":"https://api.github.com/users/nsams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsams/subscriptions","organizations_url":"https://api.github.com/users/nsams/orgs","repos_url":"https://api.github.com/users/nsams/repos","events_url":"https://api.github.com/users/nsams/events{/privacy}","received_events_url":"https://api.github.com/users/nsams/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T06:46:25Z","updated_at":"2015-07-01T06:46:25Z","body":"PHPExcel 1.9 switched to namespaces. The class you are trying to instanciate doesn't exist.\r\n\r\nI would reommend to switch to a stable phpexcel version."}}