Download .zip |
Info | Documentation | View files (180) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-04-12 (1 month ago) | 78% | Total: 190 This week: 8 | All time: 8,018 This week: 88 |
Version | License | PHP version | Categories | |||
simplepush 1.0.0 | GNU General Publi... | 5 | Email, PHP 5, Wireless and Mobile |
Description | Author | ||||||||
This package can send email messages or to Android and iOS devices. Recommendations What is the best PHP push notification for web class? |
|
use SimplePush;
$aConfigs = array(
'method' => smtp //or mail
'host' => smtp.gmail.com
'user' => hello@fwebshop.com
'password' => hellopass
'authenticate' => tls // or ssl
'port' => 587
);
$aMessage = array(
'subject' => "Hello Mail"
'content' => "Mail content"
'from' => hello@fwebshop.com
);
$oInstance = new SimplePush\Mail($aConfigs);
$oInstance->message($aMessage);
$oInstance->to("nicetomeetyou@fwebshop.com");
$oInstance->send();
$mResults = $oInstance->getResults();
$aTmpError = $oInstance->getErrors();
use SimplePush;
$aConfigs = array(
'app_mode' => "production" //or development
'api_access_key' => "Project API Key got from Google"
);
$aMessage = array(
'command' => '2',
'message' => 'Hello Android',
'your_param' => 'your_value'
);
$oInstance = new SimplePush\Android($aConfigs);
$oInstance->message($aMessage);
$oInstance->to("device_token_id");
$oInstance->send();
$mResults = $oInstance->getResults();
$aTmpError = $oInstance->getErrors();
use SimplePush;
$aConfigs = array(
'app_mode' => "production" //or development
'certification_file' => "Link to pem file"
'password' => "" // passphrase for certificated file.
);
$aMessage = array(
'aps' => array(
'alert' => 'Hello iOS',
'sound' => 'default'
)
);
$oInstance = new SimplePush\IOS($aConfigs);
$oInstance->message($aMessage);
$oInstance->to("device_token_id");
$oInstance->send();
$mResults = $oInstance->getResults();
$aTmpError = $oInstance->getErrors();
Files |
File | Role | Description | ||
---|---|---|---|---|
.settings (2 files) | ||||
lib (1 directory) | ||||
.buildpath | Data | Auxiliary data | ||
.project | Data | Auxiliary data | ||
Android.php | Class | Class source | ||
IOS.php | Class | Class source | ||
Mail.php | Class | Class source | ||
Provider.php | Class | Class source | ||
README.md | Doc. | Documentation |
Files | / | .settings |
File | Role | Description |
---|---|---|
org.eclipse.php.core.prefs | Data | Auxiliary data |
org.eclipse.wst.co...ject.facet.core.xml | Data | Auxiliary data |
Files | / | lib | / | swiftmailer | / | lib |
File | Role | Description | ||
---|---|---|---|---|
classes (1 file, 1 directory) | ||||
dependency_maps (4 files) | ||||
mime_types.php | Aux. | Auxiliary script | ||
preferences.php | Example | Example script | ||
swiftmailer_generate_mimes_config.php | Example | Example script | ||
swift_init.php | Aux. | Auxiliary script | ||
swift_required.php | Aux. | Auxiliary script | ||
swift_required_pear.php | Aux. | Auxiliary script |
Files | / | lib | / | swiftmailer | / | lib | / | classes |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift |
File | Role | Description | ||
---|---|---|---|---|
ByteStream (4 files) | ||||
CharacterReader (3 files) | ||||
CharacterReaderFactory (1 file) | ||||
CharacterStream (2 files) | ||||
Encoder (3 files) | ||||
Events (15 files) | ||||
KeyCache (5 files) | ||||
Mailer (2 files) | ||||
Mime (18 files, 3 directories) | ||||
Plugins (14 files, 4 directories) | ||||
Signers (6 files) | ||||
StreamFilters (3 files) | ||||
Transport (14 files, 1 directory) | ||||
Attachment.php | Class | Class source | ||
CharacterReader.php | Class | Class source | ||
CharacterReaderFactory.php | Class | Class source | ||
CharacterStream.php | Class | Class source | ||
ConfigurableSpool.php | Class | Class source | ||
DependencyContainer.php | Class | Class source | ||
DependencyException.php | Class | Class source | ||
EmbeddedFile.php | Class | Class source | ||
Encoder.php | Class | Class source | ||
Encoding.php | Class | Class source | ||
FailoverTransport.php | Class | Class source | ||
FileSpool.php | Class | Class source | ||
FileStream.php | Class | Class source | ||
Filterable.php | Class | Class source | ||
Image.php | Class | Class source | ||
InputByteStream.php | Class | Class source | ||
IoException.php | Class | Class source | ||
KeyCache.php | Class | Class source | ||
LoadBalancedTransport.php | Class | Class source | ||
Mailer.php | Class | Class source | ||
MailTransport.php | Class | Class source | ||
MemorySpool.php | Class | Class source | ||
Message.php | Class | Class source | ||
MimePart.php | Class | Class source | ||
NullTransport.php | Class | Class source | ||
OutputByteStream.php | Class | Class source | ||
Preferences.php | Class | Class source | ||
ReplacementFilterFactory.php | Class | Class source | ||
RfcComplianceException.php | Class | Class source | ||
SendmailTransport.php | Class | Class source | ||
SignedMessage.php | Class | Class source | ||
Signer.php | Class | Class source | ||
SmtpTransport.php | Class | Class source | ||
Spool.php | Class | Class source | ||
SpoolTransport.php | Class | Class source | ||
StreamFilter.php | Class | Class source | ||
SwiftException.php | Class | Class source | ||
Transport.php | Class | Class source | ||
TransportException.php | Class | Class source | ||
Validate.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | ByteStream |
File | Role | Description |
---|---|---|
AbstractFilterableInputStream.php | Class | Class source |
ArrayByteStream.php | Class | Class source |
FileByteStream.php | Class | Class source |
TemporaryFileByteStream.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | CharacterReader |
File | Role | Description |
---|---|---|
GenericFixedWidthReader.php | Class | Class source |
UsAsciiReader.php | Class | Class source |
Utf8Reader.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | CharacterReaderFactory |
File | Role | Description |
---|---|---|
SimpleCharacterReaderFactory.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | CharacterStream |
File | Role | Description |
---|---|---|
ArrayCharacterStream.php | Class | Class source |
NgCharacterStream.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Encoder |
File | Role | Description |
---|---|---|
Base64Encoder.php | Class | Class source |
QpEncoder.php | Class | Class source |
Rfc2231Encoder.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Events |
File | Role | Description |
---|---|---|
CommandEvent.php | Class | Class source |
CommandListener.php | Class | Class source |
Event.php | Class | Class source |
EventDispatcher.php | Class | Class source |
EventListener.php | Class | Class source |
EventObject.php | Class | Class source |
ResponseEvent.php | Class | Class source |
ResponseListener.php | Class | Class source |
SendEvent.php | Class | Class source |
SendListener.php | Class | Class source |
SimpleEventDispatcher.php | Class | Class source |
TransportChangeEvent.php | Class | Class source |
TransportChangeListener.php | Class | Class source |
TransportExceptionEvent.php | Class | Class source |
TransportExceptionListener.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | KeyCache |
File | Role | Description |
---|---|---|
ArrayKeyCache.php | Class | Class source |
DiskKeyCache.php | Class | Class source |
KeyCacheInputStream.php | Class | Class source |
NullKeyCache.php | Class | Class source |
SimpleKeyCacheInputStream.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Mailer |
File | Role | Description |
---|---|---|
ArrayRecipientIterator.php | Class | Class source |
RecipientIterator.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Mime |
File | Role | Description | ||
---|---|---|---|---|
ContentEncoder (6 files) | ||||
HeaderEncoder (2 files) | ||||
Headers (8 files) | ||||
Attachment.php | Class | Class source | ||
CharsetObserver.php | Class | Class source | ||
ContentEncoder.php | Class | Class source | ||
EmbeddedFile.php | Class | Class source | ||
EncodingObserver.php | Class | Class source | ||
Grammar.php | Class | Class source | ||
Header.php | Class | Class source | ||
HeaderEncoder.php | Class | Class source | ||
HeaderFactory.php | Class | Class source | ||
HeaderSet.php | Class | Class source | ||
Message.php | Class | Class source | ||
MimeEntity.php | Class | Class source | ||
MimePart.php | Class | Class source | ||
ParameterizedHeader.php | Class | Class source | ||
SimpleHeaderFactory.php | Class | Class source | ||
SimpleHeaderSet.php | Class | Class source | ||
SimpleMessage.php | Class | Class source | ||
SimpleMimeEntity.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Mime | / | ContentEncoder |
File | Role | Description |
---|---|---|
Base64ContentEncoder.php | Class | Class source |
NativeQpContentEncoder.php | Class | Class source |
PlainContentEncoder.php | Class | Class source |
QpContentEncoder.php | Class | Class source |
QpContentEncoderProxy.php | Class | Class source |
RawContentEncoder.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Mime | / | HeaderEncoder |
File | Role | Description |
---|---|---|
Base64HeaderEncoder.php | Class | Class source |
QpHeaderEncoder.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Mime | / | Headers |
File | Role | Description |
---|---|---|
AbstractHeader.php | Class | Class source |
DateHeader.php | Class | Class source |
IdentificationHeader.php | Class | Class source |
MailboxHeader.php | Class | Class source |
OpenDKIMHeader.php | Class | Class source |
ParameterizedHeader.php | Class | Class source |
PathHeader.php | Class | Class source |
UnstructuredHeader.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Plugins |
File | Role | Description | ||
---|---|---|---|---|
Decorator (1 file) | ||||
Loggers (2 files) | ||||
Pop (2 files) | ||||
Reporters (2 files) | ||||
AntiFloodPlugin.php | Class | Class source | ||
BandwidthMonitorPlugin.php | Class | Class source | ||
DecoratorPlugin.php | Class | Class source | ||
ImpersonatePlugin.php | Class | Class source | ||
Logger.php | Class | Class source | ||
LoggerPlugin.php | Class | Class source | ||
MessageLogger.php | Class | Class source | ||
PopBeforeSmtpPlugin.php | Class | Class source | ||
RedirectingPlugin.php | Class | Class source | ||
Reporter.php | Class | Class source | ||
ReporterPlugin.php | Class | Class source | ||
Sleeper.php | Class | Class source | ||
ThrottlerPlugin.php | Class | Class source | ||
Timer.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Plugins | / | Decorator |
File | Role | Description |
---|---|---|
Replacements.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Plugins | / | Loggers |
File | Role | Description |
---|---|---|
ArrayLogger.php | Class | Class source |
EchoLogger.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Plugins | / | Pop |
File | Role | Description |
---|---|---|
Pop3Connection.php | Class | Class source |
Pop3Exception.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Plugins | / | Reporters |
File | Role | Description |
---|---|---|
HitReporter.php | Class | Class source |
HtmlReporter.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Signers |
File | Role | Description |
---|---|---|
BodySigner.php | Class | Class source |
DKIMSigner.php | Class | Class source |
DomainKeySigner.php | Class | Class source |
HeaderSigner.php | Class | Class source |
OpenDKIMSigner.php | Class | Class source |
SMimeSigner.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | StreamFilters |
File | Role | Description |
---|---|---|
ByteArrayReplacementFilter.php | Class | Class source |
StringReplacementFilter.php | Class | Class source |
StringReplacementFilterFactory.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Transport |
File | Role | Description | ||
---|---|---|---|---|
Esmtp (2 files, 1 directory) | ||||
AbstractSmtpTransport.php | Class | Class source | ||
EsmtpHandler.php | Class | Class source | ||
EsmtpTransport.php | Class | Class source | ||
FailoverTransport.php | Class | Class source | ||
IoBuffer.php | Class | Class source | ||
LoadBalancedTransport.php | Class | Class source | ||
MailInvoker.php | Class | Class source | ||
MailTransport.php | Class | Class source | ||
NullTransport.php | Class | Class source | ||
SendmailTransport.php | Class | Class source | ||
SimpleMailInvoker.php | Class | Class source | ||
SmtpAgent.php | Class | Class source | ||
SpoolTransport.php | Class | Class source | ||
StreamBuffer.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Transport | / | Esmtp |
File | Role | Description | ||
---|---|---|---|---|
Auth (5 files) | ||||
Authenticator.php | Class | Class source | ||
AuthHandler.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | classes | / | Swift | / | Transport | / | Esmtp | / | Auth |
File | Role | Description |
---|---|---|
CramMd5Authenticator.php | Class | Class source |
LoginAuthenticator.php | Class | Class source |
NTLMAuthenticator.php | Class | Class source |
PlainAuthenticator.php | Class | Class source |
XOAuth2Authenticator.php | Class | Class source |
Files | / | lib | / | swiftmailer | / | lib | / | dependency_maps |
File | Role | Description |
---|---|---|
cache_deps.php | Example | Example script |
message_deps.php | Example | Example script |
mime_deps.php | Example | Example script |
transport_deps.php | Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | |||||||||||||||||||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.