Termwind is now public! 🌿
A go package for building beautiful terminal interfaces with Tailwind-like syntax.
Stars ⭐ and PRs are welcome github.com/codiume/termwind#golang#opensource
No, but for now, a lot of the code is tied Symfony 5.4 because the LTS window for it is insane for some reason.
The runtime will probably move to Rust which means I can actually run even older PHP versions. 😅
I don't know for the CLI. The only thing I'm missing is termwind 🥲
Yeah. We're spoiled as Laravel devs with super clean failure messages from not only Laravel, but Collision and Termwind.
My quest is to tap into Mockery's exceptions and reprint them. I've added the context to improve the message. Just need to figure out how best to catch them.
Meet @enunomaduro — @laravel core team member & creator of @pestphp, laravel-zero, Collision, Larastan, Pint, @openai for PHP, Termwind & more. Educator.
Over 5,280 OS contributions in 2024 & 1,579 in 2025 to today!
A true force in the PHP world. A Hero.
Happy Birthday Nuno!
PHP: v8.4.2
Pest: 3.8
Error:
Termwind\ValueObjects\Node::__construct(): Argument #1 ($node) must be of type DOMNode, null given, called in /vendor/nunomaduro/termwind/src/HtmlRenderer.php on line 43
at vendor/nunomaduro/termwind/src/ValueObjects/Node.php:17
@enunomaduro#Pest
Laravel had a beautiful console screen using Termwind but now has a mess when printing Chinese or Japanese.
I am using Laravel's alert and two-column components. If I enter English it will work fine, but it breaks for Chinese and Japanese😅.
Here's @laravelphp running completely offline on PHP8.4 on my iPhone
No web servers were harmed during filming
Laravel on iOS, working completely offline, no web server
youtube.com/shorts/s9-UZ3QaN…
Building a CLI (console app) in PHP? 🚀
Here are some great tools:
- Symfony Console
- Termwind
- Laravel Prompt
What other libraries would you recommend?
Drop your suggestions! 💬 #PHP#CLI
Then after that, have Nuno on the show as well!! 🙌
The amount of packages for PHP and Laravel is insane!
Collision, Termwind, so many more.
Pest changed how we test PHP code 🔥
Thanks man, I appreciate it! Let me know how Termwind goes, I've dabbled with it but I've opted for more fine-grained control. Can't wait to see what you come up with!