izniburak/laravel-jotform is a Laravel package for jotform laravel package.
It currently has 1 GitHub stars and 345 downloads on Packagist (latest version v1.0.0).
Install it with composer require izniburak/laravel-jotform.
Discover more Laravel packages by izniburak
or browse all Laravel packages to compare alternatives.
Last updated
This package allows you able to use Jotform API in Laravel.
Supported Laravel Versions: >= 6.x
Run the following command directly in your Project path:
$ composer require izniburak/laravel-jotform
or directly add following command in your composer.json file.
{
"require": {
"izniburak/laravel-jotform": "^1.0"
}
}
The service provider of the Package will be automatically discovered by Laravel.
After that, you should publish the config file via following command:
$ php artisan vendor:publish --provider="Jotform\JotformServiceProvider"
Greate! You can start to use Jotform API in your Laravel app.
You can use Jotform API in two different ways with this package.
1- Use jotform() helper function in order to access Jotform API:
<?php
$myForms = jotform()->getForms();
2- Use Facade:
<?php
use Jotform\Facade\Jotform;
$myForms = Jotform::getForms();
Important: You can find all methods that will be able to use with this package by using this documentation. (The official PHP package of Jotform)
You can change the package configs via config/jotform.php file or directly using .env file variables.
You can add the variables below in your .env file and configure it as you desire.
JOTFORM_API_KEY=<YOUR_API_KEY>
JOTFORM_OUTPUT=json
JOTFORM_DEBUG=false