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 (17 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
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.

Picture of Roman Kozin
  Performance   Level  
Name: Roman Kozin <contact>
Classes: 9 packages by
Country: Ukraine Ukraine
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

  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

  Files folder image Files (10)  /  src  
File Role Description
Files folder imageconfig (1 file)
Files folder imagedatabase (1 directory)
Files folder imageMemento (1 file, 1 directory)
Files folder imageModels (1 file)
Files folder imageObservers (1 file)
Files folder imageProviders (1 file)

  Files folder image Files (10)  /  src  /  config  
File Role Description
  Accessible without login Plain text file memento.php Conf. Configuration script

  Files folder image Files (10)  /  src  /  database  
File Role Description
Files folder imagemigrations (1 file)

  Files folder image Files (10)  /  src  /  database  /  migrations  
File Role Description
  Plain text file 2021_09_07_130000_...e_memento_table.php Class Class source

  Files folder image Files (10)  /  src  /  Memento  
File Role Description
Files folder imageTraits (2 files)
  Plain text file Constants.php Class Class source

  Files folder image Files (10)  /  src  /  Memento  /  Traits  
File Role Description
  Plain text file HasMemento.php Class Class source
  Plain text file MementoCheckerTrait.php Class Class source

  Files folder image Files (10)  /  src  /  Models  
File Role Description
  Plain text file Memento.php Class Class source

  Files folder image Files (10)  /  src  /  Observers  
File Role Description
  Plain text file ModelMementoObserver.php Class Class source

  Files folder image Files (10)  /  src  /  Providers  
File Role Description
  Plain text file MementoServiceProvider.php Class Class source

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  
 100%
Total:0
This week:0