Download the PHP package harvv/laravel without Composer

On this page you can find all versions of the php package harvv/laravel. 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 laravel

harvv/laravel

Behavioral UX analytics for Laravel. Detects rage clicks, dead clicks, form abandonment, scroll friction, and Core Web Vitals issues across every page. Server-side context (route name, hashed user ID, request ID) means each detected issue lands in your dashboard tied to the Laravel route + user that hit it — not just /checkout.

v0.1.0 — early access. Stable for production traffic; API may still shift before v1.0. See the bake criteria at the bottom of this README.

Full developer docs at docs.harvv.com/laravel — this README is the install summary; the docs site has troubleshooting, manual paths, verify procedures, and the broader Harvv overview.

Quick install — pre-Packagist (today)

Packagist publish is in progress. Until the listing lands, install via Composer's VCS repository in one line:

That's the entire install. The harvv:install command prompts for your site key, generates an HMAC secret, writes both to .env, and offers to register the HarvvContext middleware automatically. Re-running is safe (idempotent — skips already-done steps).

dev-main tracks the main branch; tag releases (v0.1.0, v0.1.1, …) will land as semver becomes meaningful. Pin to a tag in production:

Once harvv/laravel is live on Packagist, the VCS step disappears — the install reduces to composer require harvv/laravel then php artisan harvv:install.

Quickstart (2 minutes)

Once Packagist publish completes, this is the only install path you need. Until then, see Quick install — pre-Packagist.

Grab your site key from your site's Settings → Install panel (Studio dashboard, or read the install doc). The harvv:install command prompts you for it and writes HARVV_SITE_KEY (plus HARVV_HMAC_SECRET, HARVV_ENABLED=true) to your .env.

Then drop the pixel into your layout — either Blade directive:

Or component syntax:

Both render the same <script async src="..."> tag. The pixel is ~15.6KB gzipped and loads in parallel with your page.

Server-side context (the wedge)

Out of the box, the pixel captures behavior client-side. Add the optional middleware to send the Laravel context Harvv needs to make issues actionable:

The install command offers to do this for you with a "Recommended — adds server-side context to your Harvv issues. Add now? [Y/n]" prompt.

What you get with the middleware:

Without: "Rage click on /checkout" With: "Rage click on checkout.show route, user <hashed>, on third attempt this session"

User IDs are SHA-256 hashed with your site key by default — Harvv never sees your primary keys. Override with HARVV_CONTEXT_UNHASHED=true only if your user IDs aren't sensitive AND you've reviewed the implications (the install command prints a warning when it detects this flag).

Compatibility

Laravel PHP Status
13.x 8.3, 8.4 ✅ Supported (current)
12.x 8.2, 8.3 ✅ Supported
11.x 8.2, 8.3 ✅ Supported (security-only — upgrade recommended)
10.x 8.1, 8.2 ⚠️ Use the generic JS snippet instead

The CI matrix runs every PR against every valid combination above. See /.github/workflows/tests.yml.

What this is NOT

Verifying your install

That's the whole checklist. It validates every required + optional piece (site key, HMAC secret, enabled flag, @harvv directive, middleware), prints the exact pixel URL to grep for in View Source, and exits non-zero on any required failure so you can gate CI deploys on it.

Troubleshooting

Full troubleshooting at docs.harvv.com/laravel#troubleshooting. Top hits:

Uninstall

Then remove HARVV_SITE_KEY, HARVV_HMAC_SECRET, and any HARVV_* lines from .env. If you registered the middleware manually, remove it from bootstrap/app.php or Kernel.php.

License

MIT. See LICENSE.

Pre-v1.0 bake criteria

This package is v0.1.0 until ALL four are true:

Track progress at harvv.com/laravel/status.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/view Version ^11.0|^12.0|^13.0
illuminate/console Version ^11.0|^12.0|^13.0
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 harvv/laravel contains the following files

Loading the files please wait ...