File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 2
2
.idea
3
3
/node_modules
4
4
/vendor
5
+ .phpunit. *
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,26 +24,18 @@ Greate! You can start to use **Laravel Jotform** Package.
24
24
1- You can use ` jotform() ` helper function in order to access Jotform API:
25
25
``` php
26
26
<?php
27
- # in routes/web.php or routes/api.php
28
27
29
- Route::get('my-forms', function() {
30
- $myForms = jotform()->getForms();
31
- return response()->json($myForms);
32
- });
28
+ $myForms = jotform()->getForms();
33
29
```
34
30
2- You can use Facade:
35
31
``` php
36
32
<?php
37
- # in routes/web.php or routes/api.php
38
33
39
34
use Jotform\Facade\Jotform;
40
35
41
- Route::get('my-forms', function() {
42
- $myForms = Jotform::getForms();
43
- return response()->json($myForms);
44
- });
36
+ $myForms = Jotform::getForms();
45
37
```
46
- You can find all methods that will be able to use with this package by using [ this documentation] ( https://github.com/jotform/jotform-api-php ) .
38
+ You can find ** all methods** that will be able to use with this package by using [ this documentation] ( https://github.com/jotform/jotform-api-php ) .
47
39
48
40
## Config
49
41
You can change the package configs via ` config/jotform.php ` file or directly using ` .env ` file variables.
You can’t perform that action at this time.
0 commit comments