easyly / easyly-php
Easyly PHP Library
dev-master
2023-09-18 22:01 UTC
Requires
- php: >=8.2
- another-vendor/package: 1.*
This package is auto-updated.
Last update: 2024-06-18 23:51:55 UTC
README
Easyly PHP Library
Composer
You can install the bindings via Composer. Run the following command:
composer require easyly/easyly-php
To use the bindings, use Composer's autoload:
require_once 'vendor/autoload.php';
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
require_once '/path/to/easyly-php/init.php';
Getting Started
Simple usage looks like:
$easyly = new \Easyly\EasylyClient('sk_test_XXX....'); $lead = $easyly->leads->create([ 'name' => 'john doe', 'email' => 'john@example.com' ]); echo $lead->id;
Full documentation can be found on the Easyly Documentation
Contributing
If you would like to contribute to Easyly, please make sure to read our contributor guidelines.