New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

senemoglu/laraloop

Sendloop wrapper for Laravel 5
1,335 1
Install
composer require senemoglu/laraloop
Latest Version:1.0.1
PHP:>=5.2.0
License:GNU GPL v3
Last Updated:Jun 15, 2016
Links: GitHub  ·  Packagist
Maintainer: blueskan

Laraloop - Sendloop Wrapper For Laravel 5

Laraloop is a simple wrapper for Sendloop & Sendloop MTA API services, this package coming with 2 facades.

You can use Sendloop libraries in your controllers or services like Laraloop::methodName() or LaraloopMTA::methodName()

###For installation you just follow these simple steps:

First install package:

php composer require senemoglu/laraloop

Second publish vendor configurations via Artisan CLI:

php artisan vendor:publish

After this step, config/laraloop.php file will be created, and you can set your API_KEY etc.

Then add service provider into your app.php configuration file:

Senemoglu\Laraloop\LaraloopServiceProvider::class

Finally add facades for easy access to Sendloop Methods (optionally, but strongly recommended):

'Laraloop' => Senemoglu\Laraloop\Facades\Laraloop::class,
'LaraloopMTA' => Senemoglu\Laraloop\Facades\LaraloopMTA::class

You can look Sendloop Documentations for details about API.

###Simple Example For Mta:

$message = new \Sendloop\MTA\Message();
$message->setFrom("Batıkan Senemoğlu", "me@batikansenemoglu.com");
$message->setSubject("My sweet subject");
$message->setHTMLContent("My sweet content too");

$transactionId = LaraloopMTA::send('target@foobarbaz.com', $message);

Related Packages

fenix007/apiwrapper

Laravel API wrapper

14 1
redeman/imgur-laravel

Laravel Package for Imgur API. Provides easy access to the adyg/php-imgur-api-cl...

2,639 9
ozankurt/imgur-laravel

A wrap-up package to make works easier with imgur.

171 3
skizu/simpleapi

Simple api wrapper with easy caching and throttling

170 2
moeplhausen/imgurlaravel

A wrap-up package to make works easier with imgur.

30 0

Version History

Version Released PHP License
1.0.1 >=5.2.0 GNU GPL v3
1.0.0 >=5.2.0 GNU GPL v3
0.0.5 >=5.2.0 GNU GPL v3
0.0.2 >=5.2.0 GNU GPL v3
0.0.1 >=5.2.0 GNU GPL v3