Download the PHP package igclabs/tart without Composer

On this page you can find all versions of the php package igclabs/tart. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tart

TART

Tart Logo

Terminal Art for Artisan
A beautiful, expressive terminal UI toolkit for PHP console applications

Full Documentation


Why TART?

Transform boring CLI commands into beautiful, professional applications with styled output, themed blocks, automatic logo generation, and more. Make your terminal applications a joy to use and a work of art!

๐Ÿ“ธ Examples in Action

TART Example 1

TART Example 2

โœจ Features

Installation

Verify Installation

After requiring the package, you can confirm that Composer resolved the correct package by inspecting it:

Quick Start

Laravel

Example Usage

See the complete example in examples/laravel-example.php

Symfony Console

Need custom defaults outside Laravel? Pass overrides into the constructor:

Theme Configuration

TART ships with a default theme, but you can customize colors, highlight behavior, and layout width. The max_line_width setting is especially useful for matching the width of your terminal and for how blocks, progress bars, and banners wrap long text.

Theme Options

Example: Custom Theme via Config

Example: Fluent Theme Updates

Laravel Auto-Discovery & Demo Commands

Laravel 9+ automatically discovers the IGC\Tart\Laravel\TartServiceProvider, which registers several Artisan demo commands. After installing the package you can immediately preview different aspects of the styling toolkit:

Available Demo Commands

Need manual control? Add TART to Composer's dont-discover list and register the provider in config/app.php:

Publish Configuration

Publish the default configuration to tweak the base theme, logo colors, auto-answer behavior, and demo-command registration:

config/tart.php lets you point to a custom ThemeInterface implementation, adjust palette/width used by the bundled Theme class, and control register_demo_commands (defaults to false).

๐Ÿ“– Core Features

Basic Output

Block Messages

Recommended API Usage

TART supports both fluent APIs and the original, traditional methods. The fluent API is the preferred approach going forward because it is more expressive and easier to read. The traditional methods remain supported for backward compatibility.

Preferred (fluent)

Legacy (still supported)

If you're migrating existing code, you can adopt fluent methods incrementally while keeping the original APIs for older commands.

Logo Creation ๐ŸŽจ

Line Building & Columns

Layout

๐ŸŽจ Themes

Built-in Themes:

๐Ÿ“š Documentation

๐Ÿ’ป Examples

Check out the working examples in the examples/ directory:

Built-in Demo Command

Quick Demo Source

Comprehensive Demo

Laravel Integration

Try it yourself:

  1. Run php artisan tart:demo to see the built-in showcase
  2. Copy any example to your Laravel app/Console/Commands/ directory when you're ready to customize your own command

๐Ÿ’ก Use Cases

Application Branding

Progress Tracking

Status Reports

Themed Operations

๐Ÿ—๏ธ Architecture

TART uses a modular trait-based architecture:

Mix and match traits in your own classes for maximum flexibility.

๐Ÿงช Testing

Requirements

๐Ÿ“ฆ What's Included

๐Ÿค Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

๐Ÿ“„ License

MIT License - see LICENSE for details.

๐Ÿ™ Credits

Developed by the IGC team. Extracted from internal tooling and open-sourced for the community.

๐Ÿ”— Resources


Make your CLI applications beautiful with Terminal Art! ๐ŸŽจโœจ

Get Started โ€ข API Reference โ€ข Logos โ€ข Examples


All versions of tart with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
symfony/console Version ^5.0|^6.0|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package igclabs/tart contains the following files

Loading the files please wait ...