Download the PHP package tsitsishvili/elastic-audit without Composer

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

Elastic Audit

Laravel package that logs third-party HTTP traffic and actor/model activity to a dedicated Elasticsearch cluster.

Elastic Audit is intended for internal applications that need a consistent audit/debug trail for provider calls, callbacks, latency, status codes, entity context, sanitized payload previews, and domain activity. The package has two independent subsystems that share one Elasticsearch connection:

Each subsystem has its own config, Elasticsearch index/aliases, queue, console commands, and optional dashboard, so an application can enable only what it needs. Both document types include the configured application identity and a snapshotted execution origin (HTTP route/controller, queue job, Artisan command, or an explicit manual origin).

Guides

Screenshots

Quick Start

  1. Install the stable v4 release from Packagist:

  2. Publish the config files and enum stubs (see Publish Configuration):

  3. Give every application a stable, unique APP_NAME, configure Elasticsearch, and enable the subsystem you need in .env (see Environment Variables and Register Application Enums).
  4. Install the lifecycle policy, then create the Elasticsearch indices and aliases (Activity):

  5. Run a queue worker for the configured logs queue (see Queues):

For usage, see logging outgoing requests, logging incoming callbacks, and recording activity.

ActivityLoggable observes Eloquent lifecycle events only. Raw SQL and query-builder writes must call ActivityLog::record() explicitly with their meaningful before/after values; the package does not install a database query listener.

Permanent retention is supported independently for documents and indexes. Use a subsystem's retain_forever setting or a context's retainForever: true for documents, and disable log_elasticsearch.lifecycle.delete_enabled to keep rolled-over indexes. See Lifecycle, Rollover, and Health.

HTTP capture is bounded to 1 MB by default; larger bodies are headers-only, and bodies that cannot be key-redacted (such as XML or plain text) default to hash-only metadata. Successful incoming callbacks are queued after the response is sent, while activity jobs wait for the surrounding database transaction to commit. Review the upgrade guide before moving an existing installation to this release line.

Requirements

AI Agents

Elastic Audit ships package-owned agent resources that teach coding agents how to configure the package, use its HTTP and activity APIs, preserve trusted audit metadata, apply redaction, and verify queued logging without a live Elasticsearch cluster. They work with or without Laravel Boost.

Resource Purpose
resources/boost/guidelines/core.blade.php Always-on rules, injected by Boost
resources/boost/skills/elastic-audit-development Agent Skill loaded on demand for integration work
AGENTS.md Standalone guide for agents, no tooling required

With Laravel Boost

Boost is optional and is not a runtime dependency. In a consuming Laravel application, install it normally:

Boost discovers the package's guidelines and skill automatically and writes them to the application's configured coding-agent files. If Boost was installed before Elastic Audit, pick up the newly available resources with:

Select tsitsishvili/elastic-audit (guidelines, skills) when prompted.

Discovery requires tsitsishvili/elastic-audit to be a direct entry in the application's composer.json. Boost does not scan transitive dependencies.

Without Laravel Boost

Every agent resource is plain Markdown, so no tooling is required. Either point the agent at the guide in place:

…or copy the resources into the application so they sit alongside its own agent configuration:

This publishes:

Published files are copies. Re-run the command with --force after upgrading the package to refresh them.

If the application later adopts Laravel Boost, Boost treats .ai/skills/elastic-audit-development as a user-owned skill and prefers it over the package's own copy. Either keep the published copy refreshed with --force, or delete it and let Boost read the skill straight from the package.

Project Documents

Internal Versioning

Use Git tags as Composer versions.

Recommended policy:

Applications should depend on stable tags:

Avoid using dev-main in production applications.


All versions of elastic-audit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^12.0 || ^13.0
elasticsearch/elasticsearch Version ^8.5 || ^9.0
guzzlehttp/guzzle Version ^7.15.2
guzzlehttp/promises Version ^2.0
psr/http-message Version ^1.1 || ^2.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 tsitsishvili/elastic-audit contains the following files

Loading the files please wait ...