plutolinks/laravel-loops

10,430 6
Install
composer require plutolinks/laravel-loops
Latest Version:v0.1.0
PHP:^8.1
License:MIT
Last Updated:Mar 21, 2025
Links: GitHub  ·  Packagist
Maintainer: hosmelq

Laravel Loops

Introduction

The Laravel Loops SDK provides an expressive interface for interacting with Loops's API.

Requirements

Requires PHP 8.1+

Installation

You may install Loops into your project using the Composer package manager:

composer require plutolinks/laravel-loops

If you wish, you can also publish Loops's configuration file using the vendor:publish Artisan command:

php artisan vendor:publish --tag="loops-config"

Next, you should configure your Loops API key in your application's .env file:

LOOPS_API_KEY=your-loops-api-key

Usage

You can use the Loops facade like so:

use PlutoLinks\Loops\Laravel\Facades\Loops;

$response = Loops::contacts()->create([
    'email' => 'john@example.com',
    'firstName' => 'John',
]);

For usage examples, take a look at the plutolinks/loops-php repository.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

Version History

Version Released PHP Laravel License
v0.1.0 ^8.1 ^10.0 || ^11.0 MIT