PHPackages                             lstrojny/procrastinator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lstrojny/procrastinator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lstrojny/procrastinator
=======================

Do things as late as possible in a request. Don’t let your users wait

0.8.0(9y ago)6332.6k51MITPHPPHP &gt;=5.3.0

Since Sep 13Pushed 9y ago4 watchersCompare

[ Source](https://github.com/lstrojny/Procrastinator)[ Packagist](https://packagist.org/packages/lstrojny/procrastinator)[ RSS](/packages/lstrojny-procrastinator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (1)

Procrastinator for PHP: do stuff later
======================================

[](#procrastinator-for-php-do-stuff-later)

[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/lstrojny/Procrastinator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://camo.githubusercontent.com/7246a21df4d61a86b8a81b9fe630a763d12d06bb42cc927fa87aa1f7c774b67d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6c7374726f6a6e792f50726f6372617374696e61746f722e737667)](http://travis-ci.org/lstrojny/Procrastinator) [![Dependency Status](https://camo.githubusercontent.com/1ec217b4117132cd05c6c2c1b90c6b16762b8e5b7e6d90568e055bcdc6018179/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3532336564376530363332626163316230623030623236352f62616467652e706e67)](https://www.versioneye.com/user/projects/523ed7e0632bac1b0b00b265) [![Average time to resolve an issue](https://camo.githubusercontent.com/056e946d4e8d077ae6978cd0877b0e7e613239b6ec01feb8268d0018f05195be/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f6c7374726f6a6e792f70726f6372617374696e61746f722e737667)](http://isitmaintained.com/project/lstrojny/procrastinator "Average time to resolve an issue") [![Percentage of issues still open](https://camo.githubusercontent.com/7c2f71a0936310370985d3fd7dc2c242250bbefe48775a2022d0d77b94d5f2de/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f6c7374726f6a6e792f70726f6372617374696e61746f722e737667)](http://isitmaintained.com/project/lstrojny/procrastinator "Percentage of issues still open")

A few classes to help you executing complicated tasks (like sending mails) later.

### Example using fastcgi\_finish\_request() to finish request before executing tasks

[](#example-using-fastcgi_finish_request-to-finish-request-before-executing-tasks)

```
