Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
nunomaduro
/
termwind
/
src
/
Laravel
:
TermwindServiceProvider.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Termwind\Laravel; use Illuminate\Console\OutputStyle; use Illuminate\Support\ServiceProvider; use Termwind\Termwind; final class TermwindServiceProvider extends ServiceProvider { /** * Sets the correct renderer to be used. */ public function register(): void { $this->app->resolving(OutputStyle::class, function ($style): void { Termwind::renderUsing($style->getOutput()); }); } }