Download the PHP package idoneo/humano-version-control without Composer
On this page you can find all versions of the php package idoneo/humano-version-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download idoneo/humano-version-control
More information about idoneo/humano-version-control
Files in idoneo/humano-version-control
Package humano-version-control
Short Description Advanced version control and audit system with restoration capabilities
License AGPL-3.0
Homepage https://github.com/diego-mascarenhas/humano-version-control
Informations about the package humano-version-control
Humano Version Control
Advanced version control and audit system with restoration capabilities for Laravel applications. Built on top of spatie/laravel-activitylog.
Features
- ๐ Comprehensive Audit Trails: Track all changes across your models
- ๐ Data Restoration: Restore complete records or individual fields from any version
- ๐ค User Activity Tracking: View all activities by specific users
- ๐ Visual Comparisons: Side-by-side comparison of different versions
- ๐ก๏ธ Permission Control: Role-based access to restoration features
- ๐ Dashboard Analytics: Overview of system activity and statistics
- ๐๏ธ Model Filtering: Filter activities by model type, user, date range
- ๐พ Snapshot System: Optional full snapshots for complex restoration scenarios
Installation
Requirements
This package requires the following dependencies:
- PHP 8.1 or higher
- Laravel 10.0 or higher
spatie/laravel-activitylog^4.10 - For activity loggingspatie/laravel-permission^5.10|^6.0 - For role and permission managementyajra/laravel-datatables-oracle^10.11 - For DataTables functionality
Install via Composer
You can install the package via composer:
Publish Dependencies
If you haven't already installed the required dependencies, they will be installed automatically. However, you may need to configure them:
Package Setup
Publish and run the package migrations:
Optionally, publish the config file:
Configuration
The package automatically integrates with spatie/laravel-activitylog. Configure which models should have enhanced version control in the config file:
Usage
Basic Setup
Make sure your models use the LogsActivity trait from spatie/laravel-activitylog:
Accessing the Interface
- Dashboard:
/version-control- Overview and statistics - Audit Trail:
/version-control/audit- Complete activity log - User Activity:
/version-control/users/{id}/activity- Activities by specific user - Model History:
/version-control/audit/{model}/{id}- History for specific record
Restoration
The package provides several restoration options:
- Full Record Restoration: Restore all fields from a specific version
- Selective Field Restoration: Choose which fields to restore
- Preview Mode: See exactly what will change before restoring
API Endpoints
Commands
Permissions
Configure which roles can perform restorations:
UI Features
- Responsive DataTables: Sortable, filterable activity tables
- Advanced Filtering: Filter by model, user, date range
- Real-time Updates: Optional real-time activity updates
- Visual Indicators: Clear status indicators for changes
- Bulk Operations: Select multiple fields for restoration
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
- Diego Adriรกn Mascarenhas Goytรญa
- All Contributors
License
The GNU Affero General Public License (AGPL). Please see License File for more information.
All versions of humano-version-control with dependencies
illuminate/contracts Version ^10.0 || ^11.0 || ^12.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0
spatie/laravel-package-tools Version ^1.16
spatie/laravel-activitylog Version ^4.10
spatie/laravel-permission Version ^5.10 || ^6.0
yajra/laravel-datatables-oracle Version ^10.11 || ^11.0 || ^12.0