tyesty/phpitbar

Library for creating bitbar plugins with php

dev-master 2019-03-23 22:22 UTC

This package is auto-updated.

Last update: 2024-04-24 09:33:35 UTC


README

Library for creating bitbar plugins with php

Usage

Installation

{
  "require": {
    "tyesty/phpitbar": "^1.0"
  }
}

or if you prefer, via command line:

$ composer require tyesty/phpitbar

Structure

Due to the fact that Bitbar is executing every file in the plugins directory, you will have to move all your composer stuff (and other files beside the main executable php file) to a subdirectory. This could look something like this:

.
├── yourplugin/
│   ├── src/
│   ├── composer.json
│   └── vendor/
└── test.5m.php

Example