PHPackages                             aharabara/habarnam - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. aharabara/habarnam

ActiveLibrary[CLI &amp; Console](/categories/cli)

aharabara/habarnam
==================

Ncurses wrapper for fast TUI building

v0.4.7(6y ago)34291MITPHPCI failing

Since May 21Pushed 3y ago4 watchersCompare

[ Source](https://github.com/aharabara/habarnam)[ Packagist](https://packagist.org/packages/aharabara/habarnam)[ RSS](/packages/aharabara-habarnam/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (4)Versions (8)Used By (0)

### ⚡ Habarnam

[](#zap-habarnam)

> **Warning!** ⚠️
>
> This package is in early development, so don't use it until you know your risks.

Framework/wrapper for `ext-ncurses` that will allows you to write simple CLI applications using a little bit of XML and PHP.

Give a ⭐ if like it and write me if you don't and we will make it better.

Made with `habarnam`:

- [HTodo](https://github.com/aharabara/htodo)

Soon could be implemented:

- Chat (WIP)
- Redis or MySQL browser
- Reddit browser
- Ascii drawing tool

If you have some ideas, then create an issue and we will discuss it 🤘

Usage:

```
#go to you project directory and require it into your project
composer require aharabara/habarnam

# then install ext-ncurses with its patches, so it will work for php 7.*
# and add 'extension=ncurses.so' to your php.ini
./vendor/aharabara/habarnam/install.sh

touch ./index.php
mkdir ./src/
mkdir ./logs/
mkdir ./views/
mkdir ./assets/
touch ./views/surfaces.xml
touch ./views/main.xml
touch ./assets/styles.css
```

**index.php** content

```
