PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 277 All time: 7,647 This week: 78Up
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: 40
All time rank: 133921 in Ukraine Ukraine
Week rank: 180 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 (12)  
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 (12)  /  docs  
File Role Description
Files folder imageuml (2 files)

  Files folder image Files (12)  /  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 (12)  /  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 (12)  /  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 (12)  /  src  /  ProcessManager  /  Process  
File Role Description
  Plain text file ProcessInterface.php Class Change file location.

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:277
This week:0
All time:7,647
This week:78Up