PHP Classes

How to Use a Memento PHP Implementation to Store and Restore the Internal State of an Object Using the Package Laravel Eloquent Memento: Save and load the internal state of an object

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-01-18 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 4 This week: 4All time: 11,538 This week: 14Up
Version License PHP version Categories
laravel-eloquent-mem 1.0The PHP License7.1.0Databases, Libraries, Design Patterns, P...
Description 

Author

This package can save and load the internal state of an object.

It provides traits that implement the Memento design pattern in objects that applications need to save to restore later when necessary.

The package uses Laravel model classes to store and restore the state of objects that use the Memento traits.

Innovation Award
PHP Programming Innovation award winner
January 2025
Winner
Memento is a design pattern that defines an object's internal state as one that can be saved and restored later when necessary.

This package implements the memento design pattern using PHP traits that can load and save the internal state of any object that uses the traits to store the object using Laravel model classes.

Manuel Lemos
Picture of Roman Kozin
  Performance   Level  
Innovation award
Innovation award
Nominee: 4x

Winner: 3x

 

  Files folder image Files (10)  
File Role Description
Files folder imagesrc (6 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:4
This week:4
All time:11,538
This week:14Up