Skip to content

๐Ÿƒ In short, it's like Tailwind CSS, but for the PHP command-line applications.

License

Notifications You must be signed in to change notification settings

lam0819/termwind

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

87 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Termwind logo

Termwind

TailCli example

GitHub Workflow Status (master) Total Downloads Latest Version License


Termwind allows you to build unique and beautiful PHP command-line applications, using the Tailwind CSS API. In short, it's like Tailwind CSS, but for the PHP command-line applications.

Installation & Usage

Requires PHP 8.0+

Require Termwind using Composer:

composer require nunomaduro/termwind --dev

Get Started

use function Termwind\{line, render};

// Render one line...
line($message)->uppercase()->pl2()->pr2()->fontBold()->textColor('white')->bg('blue')->render();

// Render multiple lines...
render([
    line(),
    line()->width(20)->bg('red'),
    line(),
]);

TODO...

Termwind is an open-sourced software licensed under the MIT license.

About

๐Ÿƒ In short, it's like Tailwind CSS, but for the PHP command-line applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%