Download the PHP package artisan-build/hone-client without Composer

On this page you can find all versions of the php package artisan-build/hone-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hone-client

hone-client

The send side of Hone. Install it in a Laravel app you want to monitor. It redirects that app's own laravel/nightwatch telemetry to your self-hosted Hone server.

Read-only mirror. This repository is a read-only split of the artisan-build/hone monorepo. Issues and pull requests are disabled here — please open them on the monorepo.

What it does

hone-client is thin by design — its only job is to redirect Nightwatch's output to your Hone app.

It does not do sampling (that lives in your Nightwatch config) and it adds no redaction layer (see Privacy).

Activation — by presence of config, no boolean

The rebind fires only when both HONE_URL and HONE_TOKEN are present and non-empty.

HONE_URL HONE_TOKEN Behavior
set set Active — telemetry ships to Hone.
unset unset Inert (the normal state for an app that isn't monitored).
only one set Inert, but logs a warning (half-configured).

The kill switch is removing or commenting the HONE_* values.

Installation

hone:install wires the app for tracking: it sets HONE_URL / HONE_TOKEN, pins hone-client at a caret constraint (^X), and confirms your Nightwatch setup will activate. It is idempotent and asks for consent before touching any file.

Setting up with a coding agent (skill)

This package ships a configuring-hone-client skill so a skill-aware coding agent (Claude Code, etc.) can do the whole setup for you. After composer require, it lives at:

Point your agent at that file (or copy the configuring-hone-client/ directory into your project's .claude/skills/) and ask it to "configure the Hone client." The skill walks through the prerequisites, hone:install, verifying the Nightwatch transport rebind is active (the step that actually proves it's working), setting the NIGHTWATCH_DEPLOY deploy dimension, confirming receipt on the Hone server over MCP, and the common "telemetry isn't arriving" failure modes.

Source-app environment

You do not need a NIGHTWATCH_TOKEN. Nightwatch's collection is gated by NIGHTWATCH_ENABLED (default true), not the token — and Hone never talks to Nightwatch's cloud, so no real Nightwatch credential is required.

On Laravel Cloud: do not enable the built-in Nightwatch toggle — it runs Cloud's managed agent and ships to Nightwatch's cloud, which conflicts with the rebind. Install laravel/nightwatch + hone-client and let the rebind own the transport. Set NIGHTWATCH_*_SAMPLE_RATE explicitly and high — storage is your only cost.

Keeping in sync — hone:update

After any major update, run:

It calls {HONE_URL}/capabilities, compares the hone-contracts major you have installed against the majors your Hone server supports, and either gives the all-clear or tells you to update your Hone app first. The canonical upgrade order is always: update Hone, then update your apps.

hone-client also emits a one-line local nudge when the installed hone-contracts major changes, reminding you to run hone:update. It's zero-network — just a reminder.

Client identity

hone-client carries artisan-build/bfc-client, which gives this installation a stable, opaque identity so the Hone server can attribute an ingest token to a specific install.

Privacy

Hone adds no redaction layer; redaction belongs in your Nightwatch config, before transmission, and hone-client ships its recommended defaults off:

Because stored telemetry is parameterized and pre-redacted upstream, it is safe to feed to an LLM. That is the point.

License

MIT. See LICENSE.


All versions of hone-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
artisan-build/bfc-client Version ^0.1 || ^0.2
artisan-build/hone-contracts Version ^1.0
illuminate/contracts Version ^13.0
illuminate/support Version ^13.0
laravel/nightwatch Version ^1.28
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package artisan-build/hone-client contains the following files

Loading the files please wait ...