Skip to content

Commit 9b61490

Browse files
committed
Merge branch '1.x' of https://github.com/binafy/laravel-user-monitoring into add-turn-off-guest-mode
2 parents d23d7d5 + 0e547b2 commit 9b61490

7 files changed

+62
-6
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- name: Dependabot metadata
1515
id: metadata
16-
uses: dependabot/fetch-metadata@v2.3.0
16+
uses: dependabot/fetch-metadata@v2.4.0
1717
with:
1818
github-token: "${{ secrets.GITHUB_TOKEN }}"
1919
compat-lookup: true

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## v1.2.2 - 2025-05-16
2+
3+
### What's Changed
4+
5+
* Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by [@dependabot](https://github.com/dependabot) in https://github.com/binafy/laravel-user-monitoring/pull/58
6+
* Fix breaking for `user_guard` column by [@milwad-dev](https://github.com/milwad-dev) in https://github.com/binafy/laravel-user-monitoring/pull/60
7+
8+
**Full Changelog**: https://github.com/binafy/laravel-user-monitoring/compare/v1.2.1...v1.2.2
9+
110
## v1.2.1 - 2025-03-08
211

312
### What's Changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![Total Downloads](https://img.shields.io/packagist/dt/binafy/laravel-user-monitoring.svg?style=flat-square)](https://packagist.org/packages/binafy/laravel-user-monitoring)
88
[![License](https://img.shields.io/packagist/l/binafy/laravel-user-monitoring)](https://packagist.org/packages/binafy/laravel-user-monitoring)
99
[![Passed Tests](https://github.com/binafy/laravel-user-monitoring/actions/workflows/tests.yml/badge.svg)](https://github.com/binafy/laravel-user-monitoring/actions/workflows/tests.yml)
10+
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/binafy/laravel-user-monitoring)
1011

1112
- [Introduction](#introduction)
1213
- [Installation](#installation)
@@ -39,15 +40,20 @@
3940

4041
Welcome to the world of enhanced user monitoring with the groundbreaking `Laravel User Monitoring` package! Developed by the brilliant minds at `Binafy`, this innovative open-source solution is designed to empower Laravel developers and website administrators with invaluable insights into user activities.
4142

42-
Tracking user behavior and interactions is now made effortless, allowing you to gain a deeper understanding of your users' engagement, preferences, and pain points. With its seamless integration into Laravel projects, this package opens up a realm of possibilities, enabling you to optimize user experiences, detect bottlenecks, and make data-driven decisions for your platform's success.
43+
Tracking user behavior and interactions is now made effortless, allowing you to understand better your users' engagement, preferences, and pain points. With its seamless integration into Laravel projects, this package opens up a realm of possibilities, enabling you to optimize user experiences, detect bottlenecks, and make data-driven decisions for your platform's success.
4344

44-
Experience real-time monitoring like never before, as you access comprehensive analytics and visualize user interactions with ease. Rest assured, your users' data is handled securely, respecting privacy while giving you the tools to improve your application's performance and user satisfaction.
45+
Experience real-time monitoring like never before, as you access comprehensive analytics and visualize user interactions with ease. Please don't worry, your users' data is handled securely, respecting privacy while giving you the tools to improve your application's performance and user satisfaction.
4546

4647
Whether you are building a new project or looking to enhance an existing one, "Laravel User Monitoring" is the missing piece to elevate your web applications to new heights. So, why wait? Dive into the world of intelligent user monitoring and witness the transformation of your Laravel-powered application today!
4748

49+
[AI Documentation](https://deepwiki.com/binafy/laravel-user-monitoring)
50+
4851
<a name="installation"></a>
4952
## Installation
5053

54+
- ```PHP >= 8.0```
55+
- ```Laravel >= 9.0```
56+
5157
You can install the package with Composer.
5258

5359
```bash

database/migrations/2023_07_22_230401_create_visits_monitoring_table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public function up(): void
2121
$table->string('platform');
2222
$table->string('device');
2323
$table->string('ip');
24-
$table->string('user_guard')->nullable();
2524
$table->text('page');
2625

2726
$table->timestamps();

database/migrations/2023_07_23_145723_create_actions_monitoring_table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public function up(): void
2424
$table->string('platform');
2525
$table->string('device');
2626
$table->string('ip');
27-
$table->string('user_guard')->nullable();
2827
$table->text('page');
2928

3029
$table->timestamps();

database/migrations/2023_07_25_132642_create_authentications_monitoring_table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public function up(): void
4141
$table->string('platform');
4242
$table->string('device');
4343
$table->string('ip');
44-
$table->string('user_guard')->nullable();
4544
$table->text('page');
4645

4746
$table->timestamps();
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*/
12+
public function up(): void
13+
{
14+
Schema::table(config('user-monitoring.visit_monitoring.table'), function (Blueprint $table) {
15+
$table->string('user_guard')->nullable();
16+
});
17+
18+
Schema::table(config('user-monitoring.action_monitoring.table'), function (Blueprint $table) {
19+
$table->string('user_guard')->nullable();
20+
});
21+
22+
Schema::table(config('user-monitoring.authentication_monitoring.table'), function (Blueprint $table) {
23+
$table->string('user_guard')->nullable();
24+
});
25+
}
26+
27+
/**
28+
* Reverse the migrations.
29+
*/
30+
public function down(): void
31+
{
32+
Schema::table(config('user-monitoring.visit_monitoring.table'), function (Blueprint $table) {
33+
$table->dropColumn('user_guard');
34+
});
35+
36+
Schema::table(config('user-monitoring.action_monitoring.table'), function (Blueprint $table) {
37+
$table->dropColumn('user_guard');
38+
});
39+
40+
Schema::table(config('user-monitoring.authentication_monitoring.table'), function (Blueprint $table) {
41+
$table->dropColumn('user_guard');
42+
});
43+
}
44+
};

0 commit comments

Comments
 (0)