Download the PHP package me-shaon/laravel-request-analytics without Composer

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

Laravel Request Analytics

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Laravel request analytics

Overview

Laravel Request Analytics is a comprehensive web analytics solution designed specifically for Laravel applications. It allows you to track traffic, understand your audience, and monitor performance through a clean dashboard, without sending data to third parties.

What You Get

For full details, see the sections below.

Installation

Requirements

Quick Installation (Recommended) ✨

Get up and running in just two commands:

This interactive installer will:

After running the installer, your analytics dashboard will be ready at /analytics!

Package Installation Guideline Video Banner

Manual Setup (Advanced)

For users who prefer manual control over the installation process or need custom configurations:

Database Setup

Publish and run the migrations:

Configuration

Publish the configuration file:

The configuration file will be published to config/request-analytics.php with the following options:

Publish Assets & Views

Publish dashboard assets:

Optionally, publish the views for customization:

Publishing Options

The package supports granular publishing of individual components:

Automated Data Pruning

The package includes automatic data cleanup to manage database size. Configure pruning in your scheduler:

Laravel 11+

Add to routes/console.php:

Or in bootstrap/app.php:

Laravel 10 and below

Add to app/Console/Kernel.php:

Key Features

Analytics & Reporting

Privacy & Compliance

Intelligence & Detection

Performance & Integration

Usage

Getting Started

After installation, the package automatically starts tracking requests based on your configuration. Here's what happens next:

  1. Dashboard Access: Visit /analytics (or your configured pathname) to view the analytics dashboard
  2. Automatic Tracking: Request data is captured automatically for web and API routes

Quick Commands

Configuration Options

Route Configuration

Data Capture Settings

Queue Processing

Path Filtering

IP and Referrer Filtering

Filter out unwanted traffic to improve data quality and protect privacy by excluding specific IP addresses and referrer domains from analytics tracking.

Data Retention

Geolocation Services

The package supports multiple geolocation providers:

IP-API (Default - Free)

IPGeolocation

MaxMind

Privacy & Compliance

Bot Detection

Advanced bot detection includes:

Dashboard Access & Usage

Dashboard Access

The analytics dashboard is available at /analytics by default. Access the dashboard through your configured route after authentication.

Access Control

Implement the CanAccessAnalyticsDashboard interface in your User model to control dashboard access:

Dashboard Features

API Documentation

The package provides a comprehensive REST API for programmatic access to analytics data.

Endpoints

GET /api/v1/analytics/overview

Retrieve comprehensive analytics overview with summary statistics and chart data.

Parameters:

Response:

GET /api/v1/analytics/visitors

Get paginated visitor data with detailed information.

Parameters:

Response:

GET /api/v1/analytics/page-views

Retrieve paginated page view data with performance metrics.

Parameters:

Response:

Error Handling

API responses follow consistent error format:

Common HTTP Status Codes:

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of laravel-request-analytics with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 | ^8.2 | ^8.3 | ^8.4 | ^8.5
illuminate/contracts Version ^10.0 | ^11.0 | ^12.0 | ^13.0
spatie/laravel-package-tools Version ^1.16.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 me-shaon/laravel-request-analytics contains the following files

Loading the files please wait ...