Popularity
2.0
Growing
Activity
0.0
Stable
63
6
5
Description
A few classes to help you executing complicated tasks (like sending mails) later.
Code Quality Rank:
L5
Programming language: PHP
License: MIT License
Tags:
Miscellaneous
Latest version: v0.8.0
Procrastinator alternatives and similar libraries
Based on the "Miscellaneous" category.
Alternatively, view Procrastinator alternatives based on common mentions on social networks and blogs.
-
Country List
:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats. -
Essence
Extracts information about web pages, like youtube videos, twitter statuses or blog articles. -
sabre/vobject
:date: The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects -
Lodash-PHP
Easy to use utility functions for everyday PHP projects. This is a port of the Lodash JS library to PHP -
Embera
A Oembed consumer library, that gives you information about urls. It helps you replace urls to youtube or vimeo for example, with their html embed code. It has advanced features like offline support, responsive embeds and caching support. -
ClassPreloader
Optimizes class loading performance by generating a single PHP file containing all of the autoloaded files. -
Metrics
Simple library that abstracts different metrics collectors. I find this necessary to have a consistent and simple metrics (functional) API that doesn't cause vendor lock-in. -
Cake Utility
[READ-ONLY] CakePHP Utility classes such as Inflector, Text, Hash, Security and Xml. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp -
RedisSessionHandler
An alternative Redis session handler for PHP featuring per-session locking and session fixation protection -
Yell
PHP package to make your objects strict and throw exception when you try to access or set some undefined property in your objects.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Promo
www.saashub.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Procrastinator or a related project?
README
Procrastinator for PHP: do stuff later
A few classes to help you executing complicated tasks (like sending mails) later.
Example using fastcgi_finish_request() to finish request before executing tasks
<?php
$procrastinator = new \Procrastinator\DeferralManager(
new \Procrastinator\Scheduler\OnRegisterShutdownScheduler(),
new \Procrastinator\Executor\Decorator\PhpFpmExecutorDecorator(
new \Procrastinator\Executor\SingleThreadExecutor()
)
);
// The rough way
$procrastinator->register(
new \Procrastinator\Deferred\CallbackDeferred(
'some name',
function() {sleep(10);}
)
);
// Or use the more convenient builder interface
$procrastinator->register(
$procrastinator
->newDeferred()
->name('some other name')
->call(function() {sleep(10);}
->build()
);
$procrastinator->schedule();