Skip to content

Add ActivityLog module with configuration, migration, and views - #57

Merged
nasirkhan merged 4 commits into
mainfrom
dev
Jul 17, 2026
Merged

Add ActivityLog module with configuration, migration, and views#57
nasirkhan merged 4 commits into
mainfrom
dev

Conversation

@nasirkhan

Copy link
Copy Markdown
Owner

This pull request introduces version 7.0.0 of the nasirkhan/module-manager package, focusing on improved dependency management and the addition of a modular activity logging system. The most significant changes are the addition of the spatie/laravel-activitylog and intervention/image-laravel packages as direct dependencies, the creation of a new Activity Log module, and related code and documentation updates.

Dependency Management and Breaking Changes:

  • Added spatie/laravel-activitylog (for activity logging) and intervention/image-laravel (for image manipulation) as direct dependencies in composer.json. Applications using these can now remove them from their own composer.json files. (composer.json, CHANGELOG.md, UPGRADE.md) [1] [2] [3]
  • Updated the upgrade guide and changelog to document these breaking changes and provide migration steps for users. (UPGRADE.md, CHANGELOG.md) [1] [2]

Activity Log Module Addition:

  • Introduced a new ActivityLog module, including service provider, configuration, migration, views, and module manifest. This module integrates spatie/laravel-activitylog for tracking model changes. (src/Modules/ActivityLog/*) [1] [2] [3] [4] [5]
  • Registered the ActivityLog module as enabled by default in the module manager. (src/ModuleManagerServiceProvider.php)

Code Quality and Maintenance:

  • Updated the Post model to use the correct traits and methods from spatie/laravel-activitylog, reflecting changes in the dependency's API. (src/Modules/Post/Models/Post.php) [1] [2]
  • Minor code improvements such as using the new PHP exception syntax. (src/ModuleManagerServiceProvider.php)

These changes streamline dependency management, introduce modular activity logging, and improve maintainability for future development.

- Introduced ActivityLog module for activity logging using spatie/laravel-activitylog.
- Added configuration file for ActivityLog settings.
- Created migration for activity_log table.
- Implemented ActivityLogServiceProvider to handle module bootstrapping.
- Added views for displaying activity logs in the backend.
- Updated ModuleManagerServiceProvider to include default module status for ActivityLog.
- Updated Post model to use new LogOptions method.
- Added changelog and upgrade guide for version 7.0.0.
- Add intervention/image 4.2.0 to lock file
- Update nasirkhan/laravel-jodit from v1.7.0 to v2.0.0
- Add spatie/laravel-activitylog 5.0.0 to lock file
@nasirkhan
nasirkhan merged commit 7171952 into main Jul 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants