PHP Classes


Recommend this page to a friend!
  Classes of Joseluis Laso   Asynchronous Long Server Tasks   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Asynchronous Long Server Tasks
Start background tasks and query progress status
Author: By
Last change: adding new example to document second part
Date: 8 years ago
Size: 768 bytes


Class file image Download


A wrapper to implement asynchronous server taks in your PHP project

remember to run first `composer dumpautoload` in order to generate the appropriate autoload files

To run the example:

create a virtual a host with "your-local-name" in your development environment:

now, go to your browser and write http://your-local-name and you'll see a simple page with a button to start a new task and an area to see messages.

A little complex example

This example serves as a base to document the second part of the article on PHP Classes

Go in your browser to http://your-local-name/file-list.php