Download the PHP package mohsen-mhm/laravel-tracking without Composer

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

Laravel Request Tracker

Introduction

The Laravel Request Tracker package provides an easy way to log incoming HTTP requests, including metadata like headers, body, user details, and responses. It supports dynamic configuration for themes, logging preferences, and route customization.

Features


Compatibility

Laravel Version Support

This package supports Laravel 9 and above.

We ensure compatibility with the latest Laravel versions while maintaining support for older versions starting from Laravel 9.

To install the package in your Laravel project, make sure you have PHP 8.0 or above and run:

For Laravel 9, the package ensures compatibility by leveraging doctrine/dbal version ^3.x. For Laravel 10 and 11, the package uses doctrine/dbal version ^4.x. These are dynamically managed based on your Laravel version.


Installation

  1. Install the package via Composer:

  2. Publish the configuration file:

  3. Publish the migrations:

  4. Run the migrations:

  5. Publish the views (optional):

Configuration

The configuration file (config/tracking.php) allows you to control the package's behavior:

Usage

Middleware

The TrackRequests middleware handles request logging. You can add it to your middleware stack:

Accessing the Logs

Visit the route defined in the configuration (route_url) to view the logs. For example:

Publishing Migrations

To customize the database schema for logging, publish and modify the migrations:

Customizing the Route

You can change the route URL in the configuration file:

Access the logs at:

Custom IP Resolution

You can define your own IP resolution logic by setting a callback in your config/tracking.php:

License

This package is open-source software licensed under the MIT license.


All versions of laravel-tracking with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
doctrine/dbal Version ^3.6 || ^4.2 || ^4.4
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 mohsen-mhm/laravel-tracking contains the following files

Loading the files please wait ...