Download the PHP package gavroche/sitesearch without Composer

On this page you can find all versions of the php package gavroche/sitesearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sitesearch

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Join the chat at https://gitter.im/omnimail/omnimail

Send email across all platforms using one interface.

Table Of Content

  1. Requirements
  2. Installation
  3. Providers
    • AmazonSES
    • Mailgun
    • Mailjet
    • Mandrill
    • Postmark
    • Sendgrid
    • SendinBlue
    • SMTP
    • Gmail
  4. Email
    • To
    • From
    • CC
    • BCC
    • Reply to
    • Subject
    • Text Body
    • HTML Body
    • Attachments
  5. Mass Mailings
  6. Factory
  7. Exceptions
  8. Logging
  9. License

Requirements

This library uses PHP 5.6 and greater version.

Installation

It is recommended that you install the Omnimail library through composer. To do so, run the Composer command to install the latest stable version of Omnimail library.

Providers

AmazonSES

Installation

To use the AmazonSES mailer class, you will need to install the daniel-zahariev/php-aws-ses library using composer.

Usage

Mailgun

Installation

To use the Mailgun mailer class, you will need to install the mailgun/mailgun-php library using composer. You do also need to install a HTTP client that sends messages. You can use any client that provided the virtual package php-http/client-implementation

Usage

Mailjet

Installation

To use the Mailjet mailer class, you will need to install the mailjet/mailjet-apiv3-php library using composer.

Usage

Mandrill

Installation

To use the Mandrill mailer class, you will need to install the mandrill/mandrill library using composer.

Usage

Postmark

Installation

To use the Postmark mailer class, you will need to install the wildbit/postmark-php library using composer.

Usage

Sendgrid

Installation

To use the Sendgrid mailer class, you will need to install the sendgrid/sendgrid library using composer.

Usage

SendinBlue

Installation

To use the SendinBlue mailer class, you will need to install the mailin-api/mailin-api-php library using composer.

Usage

SMTP

Installation

To use the SMTP mailer class, you will need to install the phpmailer/phpmailer library using composer.

Usage

Gmail

Installation

To use the Gmail mailer class, you will need to install the phpmailer/phpmailer library using composer.

Usage

Email

An Email object implements the EmailInterface inteface. You can create your own Email class and send it to any mailer if it implements the EmailInterface inteface.

To

The To property of the email is for defining the recipients of the email. You can set multiple recipients.

From

The From property of the email is for defining the mailer of the email.

CC

Like the To property, the CC property can have multiple recipients.

BCC

Like the To property, the BCC property can have multiple recipients.

Reply To

The Reply To property of the email is for defining the email that should receive responses.

Subject

The Subject property of the email is for defining the subject of the email.

Text Body

The Text Body property of the email is for defining the text body of the email.

HTML Body

The HTML Body property of the email is for defining the HTML body of the email.

Attachments

The Attachments property of the email is for joining attachments to the email.

Example using string as content

Example using file path as content

Inline attachments

Factory

Alternatively, you can use the factory method to create a mailer. Consider the following example to create a AmazonSES mailer:

Mass Mailings

The mass mailing component is for interacting with mass mailing providers. Currently the code focusses on data retrieval, but in future it should also define creating and sending mass mailings.

There are 2 functions currently described for the Mass mailings interface getMailings and getRecipients.

getMailings

getMailings

Exceptions

Failures to send emails will throw exceptions.

Exceptions

To catch all exception, consider the following.

To catch specific exceptions, consider the following.

Logging

All mailers constructors take a PSR-3 compatible logger.

Email sent (including the email) are logged at INFO level. Errors (including the email) are reported at the ERROR level.

Example using Monolog

License

Omnimail is licensed under The MIT License (MIT).


All versions of sitesearch with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
ext-json Version *
paragonie/random_compat Version ^2.0
php-http/httplug Version ^1.1
psr/log Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gavroche/sitesearch contains the following files

Loading the files please wait ....