Download the PHP package spatie/flare-cli without Composer
On this page you can find all versions of the php package spatie/flare-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spatie/flare-cli
More information about spatie/flare-cli
Files in spatie/flare-cli
Package flare-cli
Short Description A standalone CLI tool for Flare error tracking and performance monitoring.
License MIT
Homepage https://flareapp.io
Informations about the package flare-cli
Flare CLI
A command-line tool for Flare — interact with the Flare API from your terminal.
Installation
Make sure Composer's global bin directory is in your PATH. You can find the path with:
Updating
Usage
Authentication
flare login discovers the active server's OAuth endpoints, opens your browser, and asks you to approve the requested scopes and team/project access. Each login creates an independent connection. The CLI refreshes access tokens transparently and flare logout revokes that connection remotely before removing its local credentials.
Credentials are stored as issuer and API-base profiles in ~/.flare/config.json. On macOS and Linux, the directory uses mode 0700 and the atomically replaced config file uses 0600. Production, staging, and self-hosted credentials can coexist.
Personal and legacy tokens remain supported through --token for scripts and CI. Create and manage personal tokens under Account → Access tokens.
Set FLARE_BASE_URL to point the CLI at a non-production environment (for example FLARE_BASE_URL=https://passport-oauth.test/api). An origin without a path defaults to /api; non-default paths remain distinct profiles. Set FLARE_OAUTH_CLIENT_ID to override the baked-in Flare CLI OAuth client UUID.
Commands
Every Flare API endpoint has a corresponding command. Run flare <command> --help for details on a specific command.
Agent Skill
This repository includes an agent skill that teaches coding agents how to use the Flare CLI.
Install
Testing
Releasing a new version
-
Build the PHAR:
This bakes the version into
builds/flare. If you omit--build-version, it will prompt you (defaulting to the latest git tag). -
Commit and push:
- Create a release in the GitHub UI — this creates the tag, triggers Packagist, and automatically updates the changelog.
Users install or update with composer global require spatie/flare-cli.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Alex Vanderbist
- All Contributors
License
The MIT License (MIT). Please see License File for more information.