Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Flare Cli Laravel Package

spatie/flare-cli

A command-line tool for interacting with the Flare API from your terminal. Log in via browser OAuth, device code, or API token, manage profiles and self-hosted servers, and securely store credentials for automation and CI workflows.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Incident triage and on-call ergonomics. The CLI maps one-to-one onto the Flare API surface — list projects, list errors and occurrences, fetch a single occurrence, resolve/unresolve/snooze. That supports a concrete product question: do we need to open a browser dashboard to acknowledge and close an incident at 2am, or can the responder stay in the terminal they're already in? Treat it as a workflow accelerant for the team already on Flare, not a new capability.
  • CI/CD and release gating. get-project-error-count and get-project-error-occurrence-count accept date ranges, and --token auth exists explicitly for automation. That is enough to prototype a post-deploy gate ("did error volume regress after this release?") or a nightly digest job. Decision it informs: build vs. buy on custom error-reporting integrations — if a gate is all we need, this is a day of scripting instead of a bespoke service.
  • Performance monitoring without the dashboard. get-monitoring-summary, list-monitoring-aggregations --type=routes, get-monitoring-time-series, get-trace take route/trace performance out of the UI. Useful for spot-checking p95 on a route after a release, or feeding a weekly perf report — a genuine product-velocity input if we currently only look at performance data reactively.
  • Agent-assisted engineering workflows. flare install-skill installs a coding-agent skill that teaches an agent to drive the CLI. This is the most strategically interesting line in the README: it positions error data as something our tooling (and our agents) can consume programmatically. Worth an explicit decision on whether agent-readable observability is a roadmap theme this half or not — the CLI makes it cheap to test.
  • Multi-environment operational model. Profiles are keyed by issuer + API base, so production, staging, and self-hosted credentials coexist and FLARE_BASE_URL can point at non-prod. That unblocks a standing policy question: can we test error-handling changes against staging without polluting production triage?
  • Build vs. buy on observability tooling. This is free (MIT) tooling for a commercial SaaS we presumably already pay for. Adoption is a near-zero-cost way to raise the ROI on the Flare subscription and defer any "should we build our own error tooling / switch vendors" conversation.

When to Consider This Package

Consider it when all of these hold:

  • We already pay for Flare and the Laravel SDK is the runtime error-capture path (the CLI is not an integration — runtime capture stays with the SDK; the CLI is triage, read/query, mutation, and pipeline gating).
  • There's a named owner for developer tooling and a path to distribute it (global Composer install, PATH check, one-page runbook). Without an owner it becomes an unsupported local script per engineer.
  • We need terminal-shaped access: incident response, CI gating, or agent workflows — not "a nicer UI for the same data."
  • We're comfortable with the auth posture: OAuth PKCE by default, --device for SSH/containers, --token for CI, 0600/0700 credential storage, remote revocation on logout. This is better than most CLIs of its size and is a real security-review talking point.

Look elsewhere — or wait — when:

  • Machine-readable output is a hard requirement. The README shows human-oriented commands; there's no documented JSON output contract. Any CI gate or agent integration must be validated on this before we commit. This is the single biggest gate on automation investment.
  • Reliability matters more than parity. The CLI builds against a remote Flare API spec (cached, per 1.0.0). That means upstream API changes can affect us; there's no vendor SLA behind a 3-star, 0-dependents MIT repo.
  • We need a library, not a binary. If the ask is "call Flare from inside our app," this is the wrong tool entirely.
  • Adoption signal is a proxy for durability. 3 stars and 0 dependents means effectively no community buffer. Pin a version, treat upgrades as deliberate, and don't put it on a critical path only one engineer understands.
  • We're not on Flare. Every command is Flare-specific. No portability.

How to Pitch It (Stakeholders)

For executives: This is low-cost, low-risk developer tooling that makes the Flare subscription we already pay for more useful. It lets engineers read errors, triage incidents, check route performance, and script release checks from the terminal and from CI — and it ships a way to teach our coding agents to do the same. It's MIT-licensed, installs globally with one Composer command, and never enters our application runtime, so there's no production blast radius. The realistic upside is faster triage and a cheap first experiment in automated release gating; the realistic downside is that one engineer spends a day on it and we retire it.

For engineering: Think of it as a terminal front door to the same API the dashboard uses — not a replacement for the Laravel SDK and not something you require into an app. Three auth paths map onto our environments cleanly: browser OAuth for laptops, --device for SSH and containers, --token for CI. Credentials are per-issuer profiles with 0700/0600 permissions and remote revocation on logout, so prod and staging don't collide. Every API endpoint has a corresponding command, including monitoring and trace lookups. Two things to prove before we build on it: whether the commands emit anything machine-readable for CI, and how much we care that it's pinned to a remote, cached API spec. Start with one owner, one runbook page, and one concrete use case — the post-deploy error-count check is the best candidate.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc