plutolinks / laravel-loops
v0.1.0
2024-03-11 20:54 UTC
Requires
- php: ^8.1
- laravel/framework: ^10.0 || ^11.0
- plutolinks/loops: ^0.1.0
- thecodingmachine/safe: ^2.5
Requires (Dev)
- ergebnis/composer-normalize: ^2.42
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- orchestra/testbench: ^8.21
- pestphp/pest: ^2.34
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- rector/rector: ^1.0
- spaze/phpstan-disallowed-calls: ^3.1
- thecodingmachine/phpstan-safe-rule: ^1.2
This package is auto-updated.
Last update: 2024-12-12 12:09:35 UTC
README
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.