Skip to content

chrisreedio/laravel-jotform-sdk

Repository files navigation

Provides an SDK for Jotforms API

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package provides a Laravel wrapper for the Jotform SDK/API.

The goal is to streamline the usage in a Laravel application by auto-injecting the API key from the config file.

Installation

You can install the package via composer:

composer require chrisreedio/laravel-jotform-sdk

You can publish and run the migrations with:

php artisan vendor:publish --tag="laravel-jotform-sdk-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="laravel-jotform-sdk-config"

This is the contents of the published config file:

return [
    'api_key' => env('JOTFORM_API_KEY'),
];

Usage

use ChrisReedIO\JotformSDK\Facades\JotformSDK;
$folders = JotformSDK::api()
    ->getFolders();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages