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

There There Cli Laravel Package

spatie/there-there-cli

A command-line tool for There There that lets you interact with the There There API from your terminal. Install it globally with Composer, log in per workspace profile, and manage tickets—list, show, reply, forward, and update—right from the CLI. Full docs at there-there.app.

View on GitHub
Deep Wiki
Context7
0.8.2

download-attachment now saves a usable file

there-there download-attachment --media=MEDIA_ULID > screenshot.png

Previously the response body came out behind a Response is not JSON (...) line, with a trailing newline and with any <...> bytes eaten by the console formatter, so the saved file was corrupt. Fixed upstream in spatie/laravel-openapi-cli 1.5.0, which writes non-JSON bodies through untouched.

Get the media ULID from the url or download_url of an entry in a message's attachments[] or inline_images[] in show-ticket.

0.8.1

Rebuilds the binary. 0.8.0 was tagged on the spec resync but shipped the PHAR built for 0.7.1, so it still carried the old API spec: show-ticket was missing and get-tickets-ticket was still there. If you installed 0.8.0, update.

Everything in 0.8.0 now actually ships:

  • Command names come from the API spec's operationIds, so they match the documented ones. show-ticket rather than get-tickets-ticket, list-tickets rather than get-tickets, and so on across every command.
  • Eight endpoints the CLI never exposed: companies, custom fields, ticket import, ticket channel, ticket custom fields, and attachment upload and download.
  • Attachment and inline image URLs returned by the API are now fetchable with your API token. Previously they pointed at routes that only accept a session cookie, so fetching one saved the login page instead of the file.

patch-company is gone; use update-company.

0.8.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/there-there-cli/compare/0.7.1...0.8.0

0.7.1

What's new

  • there-there login now links to the correct API token page. The printed URL pointed at /app/settings/user/api-tokens, which returned a 404. It now points at /settings/account/api-tokens.
  • Failed logins surface the real error. Any non-2xx response previously printed Invalid API token., even when the token was valid and the server returned a different error. Genuine 401s still say Invalid API token.; everything else now shows the server's status and message.
0.6.0

What's new

  • show-ticket now returns inline_images[] on each message. These are images embedded inside the email body (typically bug screenshots customers paste in). Each item exposes id, name, mime_type, size, content_id, url (matches the <img src> in body_html), and download_url. The bytes can be fetched with the same Bearer token the CLI uses; the skill docs include a curl recipe.
  • OpenAPI spec sync: picked up the trigger_type enum on automation rules (on_new_ticket, on_inbound_message) which had drifted from the API.
0.5.0

What's Changed

  • API alignment: updated to the new data-wrapped response format used by the There There API (single resources are now returned under a data key).
  • Multi-workspace tokens: the CLI now stores a workspace id per profile and attaches an X-Workspace-Id header to every request, so tokens scoped to multiple workspaces work correctly.
  • Expanded command set: the bundled OpenAPI spec now covers all current endpoints (contacts CUD, tags CRUD, teams, members invite/remove, quick replies, saved views, workflows, brains, brain articles, etc.).
  • TLS security: certificate verification is now enabled by default for remote hosts. It's only disabled for local development (localhost, 127.0.0.1, ::1, and *.test). Previous versions disabled verification unconditionally.
  • Credential file permissions: ~/.there-there/config.json is now written with 0600 permissions since it contains API tokens.
  • Internal cleanup: simpler CredentialStore, a shared Pest helper, and extra tests covering the new behaviors.
0.4.0

What's new

Profile support for multiple workspaces

You can now store credentials for multiple workspaces using named profiles.

# Log in to multiple workspaces
there-there login --profile=spatie
there-there login --profile=ohdear

# List all profiles
there-there profiles

# Switch the default profile
there-there use spatie

# Run a command against a specific profile
there-there list-tickets --profile=ohdear

When logging in without --profile, the profile is automatically named after the workspace.

New commands

  • there-there profiles lists all configured profiles
  • there-there use {profile} switches the default profile

Updated commands

  • login accepts --profile to name the profile
  • logout accepts --profile to remove a specific profile, or --all to remove all
  • All commands accept --profile to override the active profile for that invocation
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels