title: Permission denied creating package in laravel 5.4
body: <p>I'm creating a cms package that I will be using. The problem that I'm having is that after I published my package I can't get it to work. I'm getting this error</p>
  
  <blockquote>
    <p>ErrorException in CmsServiceProvider.php line 35: include(C:\wamp\www\laravel_package\packages\testing\cms\src\Modules): failed to open stream: Permission denied</p>
  </blockquote>
  
  <p>This is my CmsServiceProvider</p>
  
  <pre><code>&lt;?php
  
  namespace Testing\Cms;
  
  use Illuminate\Support\ServiceProvider;
  
  class CmsServiceProvider extends ServiceProvider
  {
      /**
       * Bootstrap the application services.
       *
       * @return void
       */
      public function boot()
      {
  
          $this-&gt;publishes([
              __DIR__.'/Modules' =&gt; base_path('app/Modules'),
          ]);
  
      }
  
      /**
       * Register the application services.
       *
       * @return void
       */
      public function register()
      {
  
          include __DIR__.'/Modules';
      }
  }
  </code></pre>
  
  <p>Line 35 is</p>
  
  <pre><code>include __DIR__.'/Modules';
  </code></pre>
  
  <p>If there is anything else that I need to give in order to help me with my problem please let me know. I wasn't sure on all the info I needed to give.</p>