Download the PHP package grazulex/laravel-snapshot without Composer
On this page you can find all versions of the php package grazulex/laravel-snapshot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download grazulex/laravel-snapshot
More information about grazulex/laravel-snapshot
Files in grazulex/laravel-snapshot
Package laravel-snapshot
Short Description A powerful Laravel package for tracking, storing and comparing snapshots of your Eloquent models โ cleanly and safely.
License MIT
Homepage https://github.com/grazulex/laravel-snapshot
Informations about the package laravel-snapshot
Laravel Snapshot
Advanced model versioning and snapshot system for Laravel applications. Track model changes, create point-in-time snapshots, and restore previous states with comprehensive diff analysis.
๐ Table of Contents
- Overview
- โจ Features
- ๐ฆ Installation
- ๐ Quick Start
- ๐ธ Creating Snapshots
- ๐ Restoring Data
- ๐ Diff Analysis
- โ๏ธ Configuration
- ๐ Documentation
- ๐ก Examples
- ๐งช Testing
- ๐ง Requirements
- ๐ Performance
- ๐ค Contributing
- ๐ Security
- ๐ License
Overview
Laravel Snapshot is an advanced model versioning and snapshot system that provides comprehensive change tracking, point-in-time snapshots, and restoration capabilities for Laravel applications. Perfect for audit trails, data recovery, and version control of your Eloquent models.
Perfect for financial applications, content management systems, and any application requiring detailed audit trails and data recovery.
๐ฏ Use Cases
Laravel Snapshot is perfect for:
- Financial Systems - Transaction history and audit trails
- Content Management - Version control for articles and pages
- E-commerce - Product and order history tracking
- Data Recovery - Point-in-time data restoration
- Compliance - Regulatory audit trail requirements
โจ Features
- ๐ Automatic Snapshots - Automatic model state capturing on changes
- ๐ธ Manual Snapshots - Create snapshots at specific points in time
- ๐ Easy Restoration - Restore models to any previous state
- ๐ Diff Analysis - Detailed comparison between model versions
- ๐ฏ Selective Tracking - Track only specific model attributes
- ๐ Metadata Support - Store additional context with snapshots
- ๐ Advanced Querying - Query snapshots by date, user, or criteria
- ๐จ Relationship Tracking - Track changes in model relationships
- โ Validation - Validate snapshot integrity and consistency
- ๐ Performance Optimized - Efficient storage and retrieval
- ๐งช Testing Support - Built-in testing utilities
- โก Batch Operations - Handle bulk snapshot operations
๐ฆ Installation
Install the package via Composer:
๐ก Auto-Discovery
The service provider will be automatically registered thanks to Laravel's package auto-discovery.
Publish configuration:
Publish migrations:
๐ Quick Start
1. Add the Trait to Your Model
2. Configure Automatic Snapshots
3. Create and Manage Snapshots
4. Restore Previous States
๐ธ Creating Snapshots
Laravel Snapshot provides flexible snapshot creation options:
๐ Restoring Data
Comprehensive data restoration capabilities:
๐ Diff Analysis
Detailed comparison and analysis tools:
โ๏ธ Configuration
Laravel Snapshot provides extensive configuration options:
๐ Documentation
For detailed documentation, examples, and advanced usage:
- ๐ Full Documentation
- ๐ฏ Examples
- ๐ง Configuration
- ๐งช Testing
- ๐ Diff Analysis
๐ก Examples
Advanced Snapshot Management
Audit Trail Implementation
Data Recovery Workflow
Check out the examples directory for more examples.
๐งช Testing
Laravel Snapshot includes comprehensive testing utilities:
๐ง Requirements
- PHP: ^8.3
- Laravel: ^12.0
- Carbon: ^3.10
๐ Performance
Laravel Snapshot is optimized for performance:
- Efficient Storage: Optimized snapshot data compression
- Smart Caching: Intelligent snapshot caching strategies
- Batch Operations: Efficient bulk snapshot processing
- Query Optimization: Optimized database queries for large datasets
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
๐ Security
If you discover a security vulnerability, please review our Security Policy before disclosing it.
๐ License
Laravel Snapshot is open-sourced software licensed under the MIT license.
Made with โค๏ธ for the Laravel community
Resources
- ๐ Documentation
- ๐ฌ Discussions
- ๐ Issue Tracker
- ๐ฆ Packagist
Community Links
- CODE_OF_CONDUCT.md - Our code of conduct
- CONTRIBUTING.md - How to contribute
- SECURITY.md - Security policy
- RELEASES.md - Release notes and changelog
All versions of laravel-snapshot with dependencies
illuminate/support Version ^12.19
nesbot/carbon Version ^3.10
illuminate/contracts Version ^12.0
symfony/yaml Version ^7.3