title: Undefined class OneSignal
body: <p>I use Laravel 5.2 and want to use berkayk/laravel-onesignal package, and I installed this package step by step according to Guide on <a href="https://github.com/berkayk/laravel-onesignal" rel="nofollow noreferrer">github</a>.</p>
  <p>But when I want to use this package I get &quot;Undefined class OneSignal&quot;, also I run this artisan command in the terminal:</p>
  <pre><code>php artisan config:clear
  php artisan config:cache
  </code></pre>
  <p>I try this code in controller</p>
  <pre><code>namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  
  use OneSignal;
  use App\Http\Requests;
  
  class SignalController extends Controller
  {
  
      public function index()
      {
          OneSignal::sendNotificationToAll(&quot;Some Message&quot;);
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/8Yj4D.png" rel="nofollow noreferrer">I get this error</a></p>