Download the PHP package jeffersongoncalves/banners-cli without Composer
On this page you can find all versions of the php package jeffersongoncalves/banners-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/banners-cli
More information about jeffersongoncalves/banners-cli
Files in jeffersongoncalves/banners-cli
Package banners-cli
Short Description CLI tool to generate banner images using beyondcode/banners service. Built with Laravel Zero.
License MIT
Homepage https://github.com/jeffersongoncalves/banners-cli
Informations about the package banners-cli
Banners CLI
CLI tool to generate banner images using the beyondcode/banners service. Configure default parameters and generate banners with a single command.
Requirements
- PHP >= 8.2
Installation
Download PHAR (recommended)
Download the latest banners.phar from the Releases page:
Via Composer (global)
Usage
Generate a banner
With options
Available options
| Option | Values | Default |
|---|---|---|
--theme |
light, dark |
light |
--style |
style_1, style_2 |
style_1 |
--pattern |
90+ hero-patterns (e.g. texture, topography, circuitBoard) |
circuitBoard |
--fontSize |
CSS size (e.g. 96px, 72px) |
96px |
--packageManager |
Any text | (empty) |
--packageName |
Any text | (empty) |
--description |
Any text | (empty) |
--md |
Flag (enable markdown) | false |
--showWatermark |
Flag | false |
--images |
Image URL or heroicon name | (empty) |
--fileType |
png, jpeg |
png |
Configuration
Save default values so you don't have to pass them every time.
Interactive wizard
The wizard configures: theme, style, pattern, fontSize, markdown rendering, watermark, and file type.
Set individual values
View current config
Configuration is stored in ~/.banners-cli/config.json. Command-line options always override config values.
Development
License
Banners CLI is open-source software licensed under the MIT license.