title: Laravel Package cannot access session
body: <p>I am working on a laravel package for a cms system. I originally built it in laravel 5.1 and it was working fine but now I have tried using it on 5.2 and am getting issues with session data.</p>
  
  <p>The issue I am facing is that for some reason session data is not accesible by the controllers inside my package.</p>
  
  <p>The package is included using composer psr4.</p>
  
  <p>Here is the boot method on my service provider loading my package routes:</p>
  
  <pre><code>// Include routes
  if (!$this-&gt;app-&gt;routesAreCached()) {
      require __DIR__ . DIRECTORY_SEPARATOR . 'coreRoutes.php';
  }
  </code></pre>
  
  <p>This is one of the routes I am testing:</p>
  
  <pre><code>Route::get('manager', [
      'as' =&gt; 'manager',
      'uses' =&gt; 'Cms\Controllers\CmsController@administrationPanel',
  ]);
  </code></pre>
  
  <p>This is the administrationPanel method inside the controller:</p>
  
  <pre><code>public function administrationPanel()
  {
      var_dump(\Session::all());
      return view('Cms::front');
  }
  </code></pre>
  
  <p>So with this var_dump I get an empty array. however if I var_dump inside one of the app controllers I get a populated array.</p>
  
  <p>Does anyone know why the package controller cannot access the session data which a normal app controller can?</p>
  
  <p>Am I loading things in the wrong order?</p>