title: Can I use a facade in Blade template?
body: <p>I've installed the package <a href="https://github.com/ElForastero/Transliterate" rel="nofollow noreferrer">https://github.com/ElForastero/Transliterate</a>. 
  I've done all steps from the guide. </p>
  
  <p>My <code>aliases</code>  is</p>
  
  <pre><code>'aliases' =&gt; [
  
      'App' =&gt; Illuminate\Support\Facades\App::class,
      'Artisan' =&gt; Illuminate\Support\Facades\Artisan::class,
      'Auth' =&gt; Illuminate\Support\Facades\Auth::class,
      'Blade' =&gt; Illuminate\Support\Facades\Blade::class,
      'Broadcast' =&gt; Illuminate\Support\Facades\Broadcast::class,
      'Bus' =&gt; Illuminate\Support\Facades\Bus::class,
      'Cache' =&gt; Illuminate\Support\Facades\Cache::class,
      'Config' =&gt; Illuminate\Support\Facades\Config::class,
      'Cookie' =&gt; Illuminate\Support\Facades\Cookie::class,
      'Crypt' =&gt; Illuminate\Support\Facades\Crypt::class,
      'DB' =&gt; Illuminate\Support\Facades\DB::class,
      'Eloquent' =&gt; Illuminate\Database\Eloquent\Model::class,
      'Event' =&gt; Illuminate\Support\Facades\Event::class,
      'File' =&gt; Illuminate\Support\Facades\File::class,
      'Gate' =&gt; Illuminate\Support\Facades\Gate::class,
      'Hash' =&gt; Illuminate\Support\Facades\Hash::class,
      'Lang' =&gt; Illuminate\Support\Facades\Lang::class,
      'Log' =&gt; Illuminate\Support\Facades\Log::class,
      'Mail' =&gt; Illuminate\Support\Facades\Mail::class,
      'Notification' =&gt; Illuminate\Support\Facades\Notification::class,
      'Password' =&gt; Illuminate\Support\Facades\Password::class,
      'Queue' =&gt; Illuminate\Support\Facades\Queue::class,
      'Redirect' =&gt; Illuminate\Support\Facades\Redirect::class,
      'Redis' =&gt; Illuminate\Support\Facades\Redis::class,
      'Request' =&gt; Illuminate\Support\Facades\Request::class,
      'Response' =&gt; Illuminate\Support\Facades\Response::class,
      'Route' =&gt; Illuminate\Support\Facades\Route::class,
      'Schema' =&gt; Illuminate\Support\Facades\Schema::class,
      'Session' =&gt; Illuminate\Support\Facades\Session::class,
      'Storage' =&gt; Illuminate\Support\Facades\Storage::class,
      'URL' =&gt; Illuminate\Support\Facades\URL::class,
      'Validator' =&gt; Illuminate\Support\Facades\Validator::class,
      'View' =&gt; Illuminate\Support\Facades\View::class,
      'Transliterate' =&gt; ElForastero\Transliterate\Facade::class,
  
  ],
  </code></pre>
  
  <p>My <code>providers</code> is</p>
  
  <pre><code>'providers' =&gt; [
  
      /*
       * Laravel Framework Service Providers...
       */
      Illuminate\Auth\AuthServiceProvider::class,
      Illuminate\Broadcasting\BroadcastServiceProvider::class,
      Illuminate\Bus\BusServiceProvider::class,
      Illuminate\Cache\CacheServiceProvider::class,
      Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
      Illuminate\Cookie\CookieServiceProvider::class,
      Illuminate\Database\DatabaseServiceProvider::class,
      Illuminate\Encryption\EncryptionServiceProvider::class,
      Illuminate\Filesystem\FilesystemServiceProvider::class,
      Illuminate\Foundation\Providers\FoundationServiceProvider::class,
      Illuminate\Hashing\HashServiceProvider::class,
      Illuminate\Mail\MailServiceProvider::class,
      Illuminate\Notifications\NotificationServiceProvider::class,
      Illuminate\Pagination\PaginationServiceProvider::class,
      Illuminate\Pipeline\PipelineServiceProvider::class,
      Illuminate\Queue\QueueServiceProvider::class,
      Illuminate\Redis\RedisServiceProvider::class,
      Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
      Illuminate\Session\SessionServiceProvider::class,
      Illuminate\Translation\TranslationServiceProvider::class,
      Illuminate\Validation\ValidationServiceProvider::class,
      Illuminate\View\ViewServiceProvider::class,
  
      /*
       * Package Service Providers...
       */
      ElForastero\Transliterate\ServiceProvider::class,
  
      /*
       * Application Service Providers...
       */
      App\Providers\AppServiceProvider::class,
      App\Providers\AuthServiceProvider::class,
      // App\Providers\BroadcastServiceProvider::class,
      App\Providers\EventServiceProvider::class,
      App\Providers\RouteServiceProvider::class,
  
  ],
  </code></pre>
  
  <p>I would like to write something like this in my Blade template:</p>
  
  <pre><code>     @foreach($services as $service)
              &lt;div class="content" data-content="{{ Transliterate::slugify($service-&gt;tag) }}"&gt;
                  &lt;div class="list-previews-cases -closed"&gt;
                      &lt;div class="cases"&gt;
                          @foreach($service-&gt;cases as $case)
                          &lt;div class="case"&gt;
                              &lt;img
                                  src="{{ $case-&gt;preview_img }}"
                                  class="img"
                                  alt=""&gt;
                              &lt;div class="title"&gt;{{ $case-&gt;title }}&lt;/div&gt;
                              &lt;div class="description"&gt;{{ $case-&gt;description }}&lt;/div&gt;
                              &lt;a href="/" class="link -blue"&gt;#{{ $service-&gt;tag }}&lt;/a&gt;
                          &lt;/div&gt;
                          @endforeach
                      &lt;/div&gt;
                      @if($service-&gt;cases-&gt;count() &gt; 1)
                      &lt;span class="spoiler"&gt;More...&lt;/span&gt;
                      @endif
                  &lt;/div&gt;
              &lt;/div&gt;
              @endforeach
  </code></pre>
  
  <p>But as the result I see the following:</p>
  
  <p><a href="https://i.stack.imgur.com/QVkrj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QVkrj.png" alt="enter image description here"></a></p>
  
  <p>What is wrong? Can I use Facade in my Blade template?</p>