Skip to content

Commit 12467de

Browse files
committed
Updated README.md
1 parent 5f09888 commit 12467de

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ Run the following command directly in your Project path:
1010
```
1111
$ composer require izniburak/laravel-jotform
1212
```
13+
or directly add following command in your `composer.json` file.
14+
```
15+
{
16+
"require": {
17+
"izniburak/laravel-jotform": "^1.0"
18+
}
19+
}
20+
```
1321

1422
The service provider of the Package will be **automatically discovered** by Laravel.
1523

@@ -18,24 +26,26 @@ After that, you should publish the config file via following command:
1826
```
1927
$ php artisan vendor:publish --provider="Jotform\JotformServiceProvider"
2028
```
21-
Greate! You can start to use **Laravel Jotform** Package.
29+
Greate! You can start to use **Jotform API** in your Laravel app.
2230

2331
## Usage
24-
1- You can use `jotform()` helper function in order to access Jotform API:
32+
You can use Jotform API in two different ways with this package.
33+
34+
1- Use `jotform()` helper function in order to access Jotform API:
2535
```php
2636
<?php
2737

2838
$myForms = jotform()->getForms();
2939
```
30-
2- You can use Facade:
40+
2- Use Facade:
3141
```php
3242
<?php
3343

3444
use Jotform\Facade\Jotform;
3545

3646
$myForms = Jotform::getForms();
3747
```
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).
48+
**Important:** 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). (The official PHP package of Jotform)
3949

4050
## Config
4151
You can change the package configs via `config/jotform.php` file or directly using `.env` file variables.

0 commit comments

Comments
 (0)