Skip to content

Commit

Permalink
Merge pull request #54 from nguyenanhung/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
nguyenanhung authored Sep 15, 2021
2 parents 73906f3 + 6163beb commit 8276863
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
Copyright (C) 2018-2058 Nguyen An Hung <[email protected]> - https://nguyenanhung.com

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

<program> Copyright (C) <year> <name of author>
nguyenanhung/requests Copyright (C) 2018-2058 Nguyen An Hung <[email protected]> - https://nguyenanhung.com
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[![Latest Stable Version](https://poser.pugx.org/nguyenanhung/requests/v/stable)](https://packagist.org/packages/nguyenanhung/requests)
[![Total Downloads](https://poser.pugx.org/nguyenanhung/requests/downloads)](https://packagist.org/packages/nguyenanhung/requests)
[![Latest Unstable Version](https://poser.pugx.org/nguyenanhung/requests/v/unstable)](https://packagist.org/packages/nguyenanhung/requests)
[![composer.lock](https://poser.pugx.org/nguyenanhung/requests/composerlock)](https://packagist.org/packages/nguyenanhung/requests)
[![License](https://poser.pugx.org/nguyenanhung/requests/license)](https://packagist.org/packages/nguyenanhung/requests)
[![Latest Stable Version](http://poser.pugx.org/nguyenanhung/requests/v)](https://packagist.org/packages/nguyenanhung/requests) [![Total Downloads](http://poser.pugx.org/nguyenanhung/requests/downloads)](https://packagist.org/packages/nguyenanhung/requests) [![Latest Unstable Version](http://poser.pugx.org/nguyenanhung/requests/v/unstable)](https://packagist.org/packages/nguyenanhung/requests) [![License](http://poser.pugx.org/nguyenanhung/requests/license)](https://packagist.org/packages/nguyenanhung/requests) [![PHP Version Require](http://poser.pugx.org/nguyenanhung/requests/require/php)](https://packagist.org/packages/nguyenanhung/requests)

# My Requests

Library Interface Requests use cURL, File Get Contents, SOAP Requests

Library use package: Curl, GuzzleHttp and nuSOAP

### Installation
## Installation

**Manual install**

Expand Down Expand Up @@ -49,7 +46,7 @@ use \nguyenanhung\MyRequests\MyRequests;
$requests = new MyRequests();
```

### **How to Use**
## **How to Use**

**Get Version of Library**

Expand All @@ -62,7 +59,7 @@ $requests = new MyRequests();
echo $requests->getVersion(); // Print: 1.0.14
```

##### Send Request
### Send Request

```php
<?php
Expand Down Expand Up @@ -101,7 +98,7 @@ $sendRequest = $request->sendRequest($url, $data, $method);
d($sendRequest);
```

##### Send Request with File Get Contents
### Send Request with File Get Contents

```php
<?php
Expand Down Expand Up @@ -134,7 +131,7 @@ d($getContent);
d($getError);
```

##### Send Request with SOAP Request
### Send Request with SOAP Request

```php
<?php
Expand All @@ -154,9 +151,7 @@ echo $soap->getVersion(); // Print: 0.1.3.4
d($result);
```



### Contact
## Contact

If any question & request, please contact following information

Expand Down
4 changes: 2 additions & 2 deletions src/ProjectInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*/
interface ProjectInterface
{
const VERSION = '3.0.0';
const LAST_MODIFIED = '2021-09-07';
const VERSION = '3.0.1';
const LAST_MODIFIED = '2021-09-15';
const MIN_PHP_VERSION = '7.0';
const GET = 'GET';
const HEAD = 'HEAD';
Expand Down

0 comments on commit 8276863

Please sign in to comment.