title: How do I create Events/Listeners with artisan command at sub-directory level?
body: <p>So, I am fairly new to Laravel and working on huge laravel project. I need a way by which I can create Events and Listeners folders in my subdirectory with <code>php artisan event:generate</code> command or <code>php artisan make:event</code> and <code>php artisan make:listener</code> commands.</p>
  
  <p>I have tried running these commands but it creates Events and Listeners in root directory under app/Events and app/Listeners.</p>
  
  <p>We have a different directory structure where apart from the app we have <code>src/directory1/directroy2/directroy3</code>. And under directory3 we have Http controllers, Models, Providers, etc.</p>
  
  <p>I would like my new Events and Listeners to be created under directory3 using artisan command.</p>
  
  <p>Also, if I don't use artisan commands and create Events and Listeners folder manually, will it work? I know commands should be preferable methods for developers but what if I want to do manually?</p>
  
  <p>I tried following other threads mentioned in the comment section. It didn't help.</p>
  
  <p>I did <code>php artisan make:event src/directory1/directory2</code>. What happened is I got <code>src/directory1/directory2</code> under the Events folder in the app directory. What I want is I have an src directory at the same level where the app is. I want to do something under <code>src/directory1/directory2/directory3</code> directory structure. You can remove your flag as it didn't help</p>