title: Laravel Facade error: Non-static method should not be called statically
body: <p>I have a simple modal having an index method to get data from DB</p>
  
  <p><strong>Modal:</strong> Nation</p>
  
  <pre><code>namespace App\Models;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Nation extends Model{
    function index(){
       Nation::where(['visible'=&gt;1])-&gt;get();
    }
  }
  </code></pre>
  
  <p>Now I want to call this function from a controller:</p>
  
  <p><strong>Controller</strong>:</p>
  
  <blockquote>
  <pre><code> $nations = Nation::index();
  </code></pre>
  </blockquote>
  
  <p>To make this I created a Facade in this way:</p>
  
  <ol>
  <li>Created a Provider </li>
  <li>Registered the provider in config/app.php</li>
  <li>Created the Facade</li>
  <li>Registered the Alias in config/app.php</li>
  </ol>
  
  <p><strong>Step 1 - Provider</strong>:</p>
  
  <blockquote>
    <p>php artisan make:provider NationServiceProvider</p>
  </blockquote>
  
  <pre><code>public function register()    {
      $this-&gt;app-&gt;bind('nation',function(){
          return new Nation();
      });
  }
  </code></pre>
  
  <p><strong>Step 2</strong>:  Register the provider in config/app.php</p>
  
  <p>In providers array: </p>
  
  <blockquote>
  <pre><code>    App\Providers\NationServiceProvider::class,
  </code></pre>
  </blockquote>
  
  <p><strong>Step 3</strong> Create the Facade</p>
  
  <p>I created a folder App/Facades/ and inside the file <strong>NationFacade.php</strong></p>
  
  <pre><code>namespace App\Facades;
  use Illuminate\Support\Facades\Facade;
  
  class NationFacade extends Facade{
  protected static function getFacadeAccessor(){
      return 'nation';
     }
  }
  </code></pre>
  
  <p><strong>Step 4</strong>:  Register the alias in config/app.php</p>
  
  <p>In Aliases array:</p>
  
  <blockquote>
  <pre><code>    'Nation' =&gt; App\Facades\NationFacade::class
  </code></pre>
  </blockquote>
  
  <p>But, when I run the controller I got the error:</p>
  
  <blockquote>
  <pre><code>"message": "Non-static method App\\Models\\Nation::index() should not be called statically",
  </code></pre>
  </blockquote>
  
  <p>I also tried to clear cache and composer dump. What I'm missing here?</p>
  
  <p>Thanks for any sugegstion!</p>