PHP Classes

What is the best PHP multithreading class?: How to implement threads in PHP

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP multithreading c...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP multithreading class?

Edit

Picture of stefanhorner by stefanhorner - 8 years ago (2016-01-16)

How to implement threads in PHP

This request is clear and relevant.
This request is not clear or is not relevant.

+4

I want to create threads in PHP.

Ask clarification

2 Recommendations

Process Fork Manager for PHP: Run parallel processes and manage their execution

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of nvb by nvb package author package author Reputation 55 - 8 years ago (2016-02-29) Comment

This free as in freedom component easy up process forking and observing in php. It is using the memory limit manager as well as the time limit manager and the event dispatcher component as robust base.


Multi-threading in PHP: Run emulated parallel threads with HTTP requests

This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Manuel Lemos by Manuel Lemos Reputation 23770 - 8 years ago (2016-01-19) Comment

If you want real threads you should use the pthreads extension. If this extension is not available in your PHP environment, you can use this class that emulates threads by sending HTTP requests to the same Web server, thus creating new instances of a script running in parallel.


Recommend package
: 
: