Download the PHP package vildanbina/hookshot without Composer

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

HookShot

Tests Latest Stable Version Total Downloads License PHP Version Require

A Laravel package for capturing and tracking HTTP requests with configurable storage drivers and filtering options.

Overview

HookShot provides middleware-based HTTP request tracking for Laravel applications. It captures request/response data and stores it using database, cache, or file storage drivers with configurable filtering and performance controls.

How it works: The middleware captures request data during the request lifecycle and stores the complete request/response information during Laravel's terminate phase, ensuring your application's response time is not affected by the logging process.

Why HookShot?

Requirements

Installation

Install via Composer:

Publish configuration:

Run migrations for database storage:

Usage

Middleware Registration

Manual Registration (Recommended)

Apply to specific routes:

Global Registration (Laravel 11+)

Add to bootstrap/app.php:

Retrieving Tracked Data

Event Integration

Listen to request capture events:

Features

Storage Drivers:

Filtering & Sampling:

Performance Controls:

Security:

Configuration

All configuration options with their purposes:

Commands

Cleanup Old Data

Remove old tracking data based on retention settings:

Storage Drivers

Database Driver

Cache Driver

File Driver

Custom Driver

You can create custom storage drivers to integrate with your own storage systems or services. Custom drivers must implement the StorageDriverContract.

Creating a Custom Driver

Configuring Your Custom Driver

Add your custom driver to the configuration file:

The via key tells HookShot which class to use for this driver. The entire config array (including the via key) is passed to your driver's constructor.

Captured Data Structure

Each tracked request includes:

Performance Tips

Contributing

See CONTRIBUTING for details.

Security Vulnerabilities

Please e-mail [email protected] to report any security vulnerabilities instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of hookshot with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/cache Version ^11.0|^12.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 vildanbina/hookshot contains the following files

Loading the files please wait ...