PHPackages                             pepipost/pepipost-lib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. pepipost/pepipost-lib

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

pepipost/pepipost-lib
=====================

Convenient way to send emails from laravel through pepipost api

06PHP

Since Aug 16Pushed 3y ago3 watchersCompare

[ Source](https://github.com/pepipost/pepipost-laravel-library)[ Packagist](https://packagist.org/packages/pepipost/pepipost-lib)[ RSS](/packages/pepipost-pepipost-lib/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![pepipostlogo](https://camo.githubusercontent.com/be5b50158043ef5fd218fc9441caaceb16789d48feb0e23dab31211f5c5eb81f/68747470733a2f2f70657069706f73742e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031372f30372f505f4c4f474f2e706e67)](https://camo.githubusercontent.com/be5b50158043ef5fd218fc9441caaceb16789d48feb0e23dab31211f5c5eb81f/68747470733a2f2f70657069706f73742e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031372f30372f505f4c4f474f2e706e67)

[![Packagist](https://camo.githubusercontent.com/d2ae6c8e07a0e31f6bd7b06f111cf9caea468a69de3c4c0d0da99e2050fa1638/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70657069706f73742f70657069706f73742d6c61726176656c2d6472697665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pepipost/pepipost-laravel-driver)[![Packagist](https://camo.githubusercontent.com/8ee0220cdee96285ac0d2f12bb78cffd014e5755c5322a494c6e1c4895e27ddd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f70657069706f73742f70657069706f73742d6c61726176656c2d6472697665722e737667)](https://github.com/pepipost/pepipost-laravel-driver)[![Open Source Helpers](https://camo.githubusercontent.com/d54f424f467faa1039f004d18b87784cbcd85f1303f8ad1d1301bef56f384dc5/68747470733a2f2f7777772e636f64657472696167652e636f6d2f70657069706f73742f70657069706f73742d6c61726176656c2d6472697665722f6261646765732f75736572732e737667)](https://www.codetriage.com/pepipost/pepipost-laravel-driver)[![Twitter Follow](https://camo.githubusercontent.com/d06f7dfbd36d316d9fa1985c76c7defbf4755be6a295994c6932b5476c0ed93a/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f706570695f706f73742e7376673f7374796c653d736f6369616c266c6162656c3d466f6c6c6f77)](https://twitter.com/pepi_post)

Laravel SDK interface for [Pepipost](http://www.pepipost.com/?utm_campaign=GitHubSDK&utm_medium=GithubSDK&utm_source=GithubSDK)
===============================================================================================================================

[](#laravel-sdk-interface-for--pepipost)

This package maps the Pepipost SDK to the laravel application

To use this package required your [Pepipost Api Key](https://app.pepipost.com). Please make it [Here](https://app.pepipost.com).

We are trying to make our libraries Community Driven- which means we need your help in building the right things in proper order we would request you to help us by sharing comments, creating new [issues](https://github.com/pepipost/laravel-pepipost-driver/issues) or [pull requests](https://github.com/pepipost/laravel-pepipost-driver/pulls).

We welcome any sort of contribution to this library.

The latest 1.0.0 version of this library provides is fully compatible with the latest Pepipost v5.1 API.

For any update of this library check [Releases](https://github.com/pepipost/laravel-pepipost-driver/releases).

Table of Content
================

[](#table-of-content)

- [Installation](#installation)
- [Usage of library in Project](#inproject)
- [Announcements](#announcements)
- [Roadmap](#roadmap)
- [About](#about)
- [License](#license)

Installation
============

[](#installation)

### Prerequisites

[](#prerequisites)

[PHP &gt;= 7.x](https://www.php.net/manual/en/install.php)

[Composer v2.3.10](https://getcomposer.org/download/)

[Laravel &gt;= 8.x](https://laravel.com/docs/9.x/installation)

A free account on Pepipost. If you don't have a one, [click here](https://email.netcorecloud.com/) to signup.

Usage
-----

[](#usage)

### Configuring laravel project

[](#configuring-laravel-project)

#### Step 1 - Create New Laravel project

[](#step-1---create-new-laravel-project)

```
$ composer create-project laravel/laravel example-app
```

#### Step 2 - install with composer

[](#step-2---install-with-composer)

```
$ composer require pepipost/pepipost-lib
```

#### Step 3 - Configurations

[](#step-3---configurations)

1. Add API key to the .env file

    ```
    PEPIPOST_API_KEY=''

    ```
2. Export the config file to the laravel app

    ```
    $ php artisan vendor:publish --provider="Pepipost\PepipostLib\PepipostServiceProvider" --tag="config"
    ```

#### Step 4- Laravel Steps to create controller and route

[](#step-4---laravel-steps-to-create-controller-and-route)

1. Create Controller

    ```
    php artisan make:controller sendMail
    ```
2. Update controller with email structure

    ```
