PHP Classes

How to Use a PHP Idempotency Key to Avoid Processing the Same HTTP Request Multiple Times Using the Package Idempotency Laravel: Avoid executing of the same process multiple times

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-04-12 (7 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
idempotency-laravel 1.0The PHP License7HTTP, Libraries, Design Patterns, PHP 7
Description 

Author

This package can avoid executing of the same process multiple times.

It provides a Laravel service class that can act as middleware and prevent that the same process is executed multiple pages when the same request is handled by the current application more than once.

The package can check if the HTTP header Idempotency-Key is sent as part of the current HTTP request and determines if the current request can be handled if the Idempotency-Key header is present and is valid.

Picture of Edward Paul
  Performance   Level  
Name: Edward Paul <contact>
Classes: 21 packages by
Country: Nigeria Nigeria
Innovation award
Innovation award
Nominee: 13x

Winner: 1x

  Files folder image Files (12)  
File Role Description
Files folder imagesrc (1 file, 5 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 (12)  /  src  
File Role Description
Files folder imageconfig (1 file)
Files folder imageEvents (1 file)
Files folder imageLogging (3 files)
Files folder imageMiddleware (1 file)
Files folder imageTelemetry (2 files, 1 directory)
  Plain text file IdempotencyServiceProvider.php Class Class source

  Files folder image Files (12)  /  src  /  config  
File Role Description
  Accessible without login Plain text file idempotency.php Aux. Configuration script

  Files folder image Files (12)  /  src  /  Events  
File Role Description
  Plain text file IdempotencyAlertFired.php Class Class source

  Files folder image Files (12)  /  src  /  Logging  
File Role Description
  Plain text file AlertDispatcher.php Class Class source
  Plain text file EventType.php Class Class source
  Plain text file LogFormatter.php Class Class source

  Files folder image Files (12)  /  src  /  Middleware  
File Role Description
  Plain text file IdempotencyMiddleware.php Class Class source

  Files folder image Files (12)  /  src  /  Telemetry  
File Role Description
Files folder imageDrivers (1 file)
  Plain text file TelemetryDriver.php Class Class source
  Plain text file TelemetryManager.php Class Class source

  Files folder image Files (12)  /  src  /  Telemetry  /  Drivers  
File Role Description
  Plain text file InspectorTelemetryDriver.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