PHP Classes

PHP Process Manager: Execute PHP code within time and memory limits

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 276 All time: 7,643 This week: 215Up
Version License PHP version Categories
process-manager 1.1.0BSD License5.3.0PHP 5, Language
Description 

Author

This class can execute PHP code within time and memory limits.

It runs code repeatedly while it does not exceed a given time or memory usage limits.

The class should be extended by a sub-class that actually executes the iteration code.

Picture of Sergii Pryz
  Performance   Level  
Name: Sergii Pryz <contact>
Classes: 10 packages by
Country: Ukraine Ukraine
Age: 39
All time rank: 134121 in Ukraine Ukraine
Week rank: 312 Up4 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 4x

Details

ProcessManager ============== Introduction ------------ ProcessManager is an module which helps run long time process as long as PHP limits allows it. The limits are memory and execution time. ### The areas of usage * Ajax handlers. Where process was splitted by Ajax. * Garbage collectors. Where user initiate to clear cache, logs, etc. * Core for crons. It is make crons more stable without time-limit or memory-limit errors. ### Example The example file can be found here: `/Example.php`

  Files folder image Files  
File Role Description
Files folder imagedocs (1 directory)
Files folder imagesrc (1 file, 1 directory)
Accessible without login Plain text file CHANGELOG.md Data Documentation
Accessible without login Plain text file Example.php Example Example script
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file README.md Data Documentation

  Files folder image Files  /  docs  
File Role Description
Files folder imageuml (2 files)

  Files folder image Files  /  docs  /  uml  
File Role Description
  Accessible without login Image file class.diagram.png Data Auxiliary data
  Accessible without login Plain text file class.diagram.xmi Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageProcessManager (4 files, 1 directory)
  Plain text file Autoload.php Class Updated autoload due new scripts location.

  Files folder image Files  /  src  /  ProcessManager  
File Role Description
Files folder imageProcess (1 file)
  Plain text file AbstractManager.php Class Change file location.
  Plain text file GeneralException.php Class Change file location.
  Plain text file Manager.php Class Change file location.
  Plain text file ManagerInterface.php Class Change file location.

  Files folder image Files  /  src  /  ProcessManager  /  Process  
File Role Description
  Plain text file ProcessInterface.php Class Change file location.

 Version Control Unique User Downloads Download Rankings  
 100%
Total:276
This week:0
All time:7,643
This week:215Up