{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/13367","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/13367/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/13367/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/13367/events","html_url":"https://github.com/laravel/framework/pull/13367","id":151765005,"number":13367,"title":"[5.3] Allow multiple folders for migrations","user":{"login":"alexbowers","id":842974,"avatar_url":"https://avatars.githubusercontent.com/u/842974?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbowers","html_url":"https://github.com/alexbowers","followers_url":"https://api.github.com/users/alexbowers/followers","following_url":"https://api.github.com/users/alexbowers/following{/other_user}","gists_url":"https://api.github.com/users/alexbowers/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbowers/subscriptions","organizations_url":"https://api.github.com/users/alexbowers/orgs","repos_url":"https://api.github.com/users/alexbowers/repos","events_url":"https://api.github.com/users/alexbowers/events{/privacy}","received_events_url":"https://api.github.com/users/alexbowers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-04-28T23:24:00Z","updated_at":"2016-05-08T16:30:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/13367","html_url":"https://github.com/laravel/framework/pull/13367","diff_url":"https://github.com/laravel/framework/pull/13367.diff","patch_url":"https://github.com/laravel/framework/pull/13367.patch"},"body":"Currently the tests are broken. Most should be simple to fix, I'll get onto this tomorrow."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/217731099","html_url":"https://github.com/laravel/framework/pull/13367#issuecomment-217731099","issue_url":"https://api.github.com/repos/laravel/framework/issues/13367","id":217731099,"user":{"login":"alexbowers","id":842974,"avatar_url":"https://avatars.githubusercontent.com/u/842974?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbowers","html_url":"https://github.com/alexbowers","followers_url":"https://api.github.com/users/alexbowers/followers","following_url":"https://api.github.com/users/alexbowers/following{/other_user}","gists_url":"https://api.github.com/users/alexbowers/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbowers/subscriptions","organizations_url":"https://api.github.com/users/alexbowers/orgs","repos_url":"https://api.github.com/users/alexbowers/repos","events_url":"https://api.github.com/users/alexbowers/events{/privacy}","received_events_url":"https://api.github.com/users/alexbowers/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T16:30:14Z","updated_at":"2016-05-08T16:30:14Z","body":"@Modelizer With this current PR, you would have to have it defined somewhere in your code. For me, I put these inside of a service provider (ModulesServiceProvider). This would then work in the CLI as is.\r\n\r\n```php\r\n<?php\r\n\r\nnamespace App\\Providers;\r\n\r\nuse Illuminate\\Support\\ServiceProvider;\r\n\r\nclass ModulesServiceProvider extends ServiceProvider\r\n{\r\n    /**\r\n     * Bootstrap any application services.\r\n     *\r\n     * @return void\r\n     */\r\n    public function boot()\r\n    {\r\n        app('migrator')->path('/path/to/migrations');\r\n    }\r\n\r\n    /**\r\n     * Register any application services.\r\n     *\r\n     * @return void\r\n     */\r\n    public function register()\r\n    {\r\n        //\r\n    }\r\n}\r\n\r\n```\r\n\r\nI think in its current state, it would be better for the CLI interaction to be a separate feature / PR. What you want is more 'tagging' than modules.\r\n\r\n@taylorotwell Thoughts?"}}