This commit is contained in:
ghassan committed 2026-04-16 20:02:41 +03:00
1 parent eb0d79d503
commit b03c1d4619
12446 files changed
+1647557 -24

No files matched your search

@@ -0,0 +1,22 @@
<?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());
});
}
}