Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 246 | All time: 7,976 This week: 78 |
Version | License | PHP version | Categories | |||
angeldromelibs 1.0.0 | Freely Distributable | 7 | Email, PHP 5, Databases |
Description | Author | |||||||||||||||||||||||
This package can be used to queue email messages in a database to be delivered later. Innovation Award |
|
<?php |
A very minimal queuing system for asynchronous email sending and db write. Can be extended for logger among other similar IO and response delay operations.
This is very much in incubation as now. Am using SQLite for db as now and pretty much can be turned into anything that suits.
Code works, tested email sending and db writes and logger store. All went good.
Cron dependencies are there. such as 1. Please check src/Com/Angeldrome/Shells/Cron.php on how to use for email async. 2. DBResume.php can be used via cron as well (code is in src/Com/Angeldrome/Shells/ directory).
This is used in case the db write failed in an earlier instancelike timeout or anything.
Lib writes such records in a flat text file, and this Cron Shell can get the record and push to db.
Will improve this readme at a later time.
Files (47) |
File | Role | Description | ||
---|---|---|---|---|
private (1 file, 1 directory) | ||||
spec (1 directory) | ||||
src (1 directory) | ||||
templates (1 directory) | ||||
vendor (1 file) | ||||
.phpspec.yml | Data | Auxiliary data | ||
autoload.php | Aux. | Auxiliary script | ||
composer.json | Data | Auxiliary data | ||
error.php | Aux. | Auxiliary script | ||
feature-test-cli.php | Example | Example script | ||
index.php | Aux. | Auxiliary script | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Files (47) | / | spec | / | Com | / | Angeldrome |
Files (47) | / | spec | / | Com | / | Angeldrome | / | Base |
File | Role | Description |
---|---|---|
LibBaseExceptionSpec.php | Class | Class source |
LibBaseSpec.php | Class | Class source |
Files (47) | / | spec | / | Com | / | Angeldrome | / | Configs |
File | Role | Description |
---|---|---|
ConstantsSpec.php | Class | Class source |
MessagesSpec.php | Class | Class source |
SQLsSpec.php | Class | Class source |
Files (47) | / | spec | / | Com | / | Angeldrome | / | Exceptions |
File | Role | Description |
---|---|---|
CurlExceptionSpec.php | Class | Class source |
DBExceptionSpec.php | Class | Class source |
GenericExceptionSpec.php | Class | Class source |
Files (47) | / | spec | / | Com | / | Angeldrome | / | Libs |
File | Role | Description |
---|---|---|
CurlSpec.php | Class | Class source |
SQLite3Spec.php | Class | Class source |
Files (47) | / | spec | / | Com | / | Angeldrome | / | Shells |
File | Role | Description |
---|---|---|
CronSpec.php | Class | Class source |
DBResumeSpec.php | Class | Class source |
DBSaveSpec.php | Class | Class source |
Files (47) | / | spec | / | Com | / | Angeldrome | / | Utils |
File | Role | Description |
---|---|---|
EmailHandlerSpec.php | Class | Class source |
GeneralSpec.php | Class | Class source |
LoggerSpec.php | Class | Class source |
Files (47) | / | src | / | Com | / | Angeldrome |
Files (47) | / | src | / | Com | / | Angeldrome | / | Base |
File | Role | Description |
---|---|---|
LibBase.php | Class | Class source |
LibBaseException.php | Class | Class source |
Files (47) | / | src | / | Com | / | Angeldrome | / | Configs |
File | Role | Description |
---|---|---|
Constants.sample.php | Class | Class source |
Messages.php | Class | Class source |
SQLs.php | Class | Class source |
Files (47) | / | src | / | Com | / | Angeldrome | / | Examples |
File | Role | Description |
---|---|---|
Emailer.php | Class | Class source |
Logger.php | Class | Class source |
Files (47) | / | src | / | Com | / | Angeldrome | / | Exceptions |
File | Role | Description |
---|---|---|
CurlException.php | Class | Class source |
DBException.php | Class | Class source |
GenericException.php | Class | Class source |
Files (47) | / | src | / | Com | / | Angeldrome | / | Libs |
File | Role | Description |
---|---|---|
Curl.php | Class | Class source |
SQLite3.php | Class | Class source |
Files (47) | / | src | / | Com | / | Angeldrome | / | Shells |
File | Role | Description |
---|---|---|
Cron.php | Class | Class source |
DBResume.php | Class | Class source |
DBSave.php | Class | Class source |
Files (47) | / | src | / | Com | / | Angeldrome | / | Utils |
File | Role | Description |
---|---|---|
EmailHandler.php | Class | Class source |
General.php | Class | Class source |
Logger.php | Class | Class source |
Files (47) | / | templates | / |
File | Role | Description |
---|---|---|
default.tpl | Data | Auxiliary data |
errors.tpl | Data | Auxiliary data |
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 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.