{"action":"created","issue":{"url":"https://api.github.com/repos/caffeinated/modules/issues/18","labels_url":"https://api.github.com/repos/caffeinated/modules/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/caffeinated/modules/issues/18/comments","events_url":"https://api.github.com/repos/caffeinated/modules/issues/18/events","html_url":"https://github.com/caffeinated/modules/issues/18","id":54687233,"number":18,"title":"Different Folder, modules not working","user":{"login":"developernaren","id":3628468,"avatar_url":"https://avatars.githubusercontent.com/u/3628468?v=3","gravatar_id":"","url":"https://api.github.com/users/developernaren","html_url":"https://github.com/developernaren","followers_url":"https://api.github.com/users/developernaren/followers","following_url":"https://api.github.com/users/developernaren/following{/other_user}","gists_url":"https://api.github.com/users/developernaren/gists{/gist_id}","starred_url":"https://api.github.com/users/developernaren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developernaren/subscriptions","organizations_url":"https://api.github.com/users/developernaren/orgs","repos_url":"https://api.github.com/users/developernaren/repos","events_url":"https://api.github.com/users/developernaren/events{/privacy}","received_events_url":"https://api.github.com/users/developernaren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-18T05:51:37Z","updated_at":"2015-01-21T09:16:06Z","closed_at":"2015-01-21T08:20:48Z","body":"I created a modules with `modules:make` but I defined the path in the config as \r\nI created the config file in `config/caffeinated/modules.php`. I looked around in the code and seemed config needed to be there.\r\n\r\nThis is my config file. The creation worked and the module is created as expected in the defined folder.\r\n\r\n```php    \r\n<?php\r\nreturn [\r\n    'path'      => './components/modules',\r\n    'namespace' => 'App\\Modules\\\\'\r\n];\r\n```\r\n\r\nthe module was created in the right path but when I do `module:list` it says not modules defined \r\n`Your application doesn't have any modules.`\r\nand the routes.php inside the folder is not being read. the route defined in the default routes.php in the newly created module is not working.\r\n\r\nI thought may be the files are not being loaded so I added `components/modules` in the autoload in composer.json file but that is not also working.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/caffeinated/modules/issues/comments/70806172","html_url":"https://github.com/caffeinated/modules/issues/18#issuecomment-70806172","issue_url":"https://api.github.com/repos/caffeinated/modules/issues/18","id":70806172,"user":{"login":"developernaren","id":3628468,"avatar_url":"https://avatars.githubusercontent.com/u/3628468?v=3","gravatar_id":"","url":"https://api.github.com/users/developernaren","html_url":"https://github.com/developernaren","followers_url":"https://api.github.com/users/developernaren/followers","following_url":"https://api.github.com/users/developernaren/following{/other_user}","gists_url":"https://api.github.com/users/developernaren/gists{/gist_id}","starred_url":"https://api.github.com/users/developernaren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developernaren/subscriptions","organizations_url":"https://api.github.com/users/developernaren/orgs","repos_url":"https://api.github.com/users/developernaren/repos","events_url":"https://api.github.com/users/developernaren/events{/privacy}","received_events_url":"https://api.github.com/users/developernaren/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T09:16:06Z","updated_at":"2015-01-21T09:16:06Z","body":"Tried and working like a charm.. \r\n\r\nthanks for the help..there is one thing though that I would like to see as a feature. If there was a way that I could define multiples paths and multiple namespaces to group the modules themselves as part of a bigger package that would be awesome."}}