Download the PHP package abhimanyu/hive without Composer
On this page you can find all versions of the php package abhimanyu/hive. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abhimanyu/hive
More information about abhimanyu/hive
Files in abhimanyu/hive
Package hive
Short Description Hive is a lightweight yet powerful Laravel package designed to track and log user activities across your application. Whether it's page views, logins, form submissions, or custom events, Hive provides real-time insights into user behavior, helping you enhance analytics, improve debugging, and ensure security auditing.With an intuitive dashboard, exportable logs, and actionable analytics, Hive empowers developers to make informed decisions while adhering to global privacy standards.
License MIT
Informations about the package hive
Laravel User Activity Package Installation Guide
This document provides detailed steps for installing and configuring the Laravel User Activity package, along with guidelines for setting up the package repository for Git.
1. Installation
Step 1: Install via Composer
Run the following command to install the package via Composer:
2. Configuration
Step 2.1: Publish Configuration File
Run the following command to publish the package's configuration file:
This will create a file config/user_activity.php
. Customize the configuration according to your requirements.
Step 2.2: Publish Migrations
Publish the database migration files using the command:
Run the migrations to create the necessary database table:
Step 2.3: Add Middleware
To enable activity tracking globally, register the middleware in app/Http/Kernel.php
:
Step 2.4: Load Routes (Optional)
The package automatically loads its routes. To customize them, include the routes manually in your routes/web.php
:
3. Usage
Log User Activity
You can log custom user activities using the ActivityLogger
service:
4. Publishing Assets
To publish the views for customization, run:
5. Git Repository Setup
Step 5.1: Initialize Git Repository
Initialize the Git repository in the package directory:
Step 5.2: Create .gitignore
Add a .gitignore
file in the root directory with the following content:
Step 5.3: Add All Files
Stage all files for the initial commit:
Step 5.4: Commit Changes
Create an initial commit:
Step 5.5: Add Remote Repository
Add your Git remote repository:
Step 5.6: Push Code
Push your code to the remote repository:
All versions of hive with dependencies
ext-json Version *
laravel/framework Version ^8.37|^9.0|^10.0|^11.0
symfony/console Version ^5.3|^6.0|^7.0
symfony/var-dumper Version ^5.0|^6.0|^7.0