Download the PHP package pepipost/pepipost-sdk-php without Composer

On this page you can find all versions of the php package pepipost/pepipost-sdk-php. 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 pepipost-sdk-php

pepipostlogo

Packagist Packagist Packagist Packagist Open Source Helpers Twitter Follow

Official PHP Code library for Pepipost

This SDK contains methods for easily interacting with the Pepipost Email Sending API to send emails in a few seconds.

We are trying to make our libraries community driven and we need your help in building the right things the right way you. Your opinion is very much valued so please share comments, create issues and pull requests.

Table of Contents

Installation (OS Friendly)

For a smooth installation process, we have categorized installation process according to OS:

  1. Build SDK on Windows without any IDE.
  2. Build SDK on Windows/Linux with IDE.
  3. Build SDK on Linux.

Prerequisites

Setup Global Variables

Setup the PEPIPOST API KEY in the library to start sending emails. For example:

  1. Copy the API KEY from your Pepipost account by navigating to Settings --> Integrations.
  2. Edit the sample code and replace PEPIPOST_API_KEY which the one you just copied.
  3. Now the library is ready to authenticate with Pepipost servers for sending emails.

Quick Start

Developers already familar with GIT, Composer and some of the other handy tools can just refer the below steps to quick start with the integration.

If you are not sure of how to integrate this library within your environment, then please refer to our detailed installation guide above.

  1. Check php version using below command. Required PHP >=5.4.0.

  2. Verify if the Composer is installed using the below command:

  3. Clone this repository on your machine using below command:

  4. Change directory

  5. Below will install all the requirement needed to run this library. After installing, a vendor directory will get auto-created

  6. Copy the code and paste in test.php from simple-usage.php or sampleExample .

  7. Get your API key and Sending Domain from your Pepipost account.

    • apikey will be available under Login to Pepipost -> Settings -> Integration
    • Sending Domain will be available under Login to Pepiost -> Settings -> Sending Domains
  8. Make the required changes in your script test.php (Adding the apikey and Sending Domain is mandatory).

    Change your to

    Similarly, update your Sending Domain from:

    to

  9. Update the rest of the email related payload like Recipent email address, content of the email etc. Below is the sample code with details of payload:

Sample Code for test.php

For more information about the parameters, we would like to recommend our API docs

  1. Run your script to send your first test email

    This will give you following output:

Announcements

v5.1.0 has been released! Please see the release notes for details.

All updates to this library are documented in our releases. For any queries and feedbacks, feel free to reach out us at [email protected]

Roadmap

If you are interested in the future direction of this project, please take a look at our open issues and pull requests. We would love to hear your feedback.

About

pepipost-php-sdk library is guided and supported by the Pepipost Developer Experience Team. This pepipost-php-sdk library is maintained and funded by Pepipost Ltd. The names and logos for pepipost-php-sdk are trademarks of Pepipost Ltd.

License

This code library was semi-automatically generated by APIMATIC v2.0 and licensed under The MIT License (MIT).


All versions of pepipost-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
apimatic/unirest-php Version ^2.0.0
apimatic/jsonmapper Version ^1.3.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 pepipost/pepipost-sdk-php contains the following files

Loading the files please wait ....