From b846ce3d57f059f86b5769c4dbbdfe1ce8494691 Mon Sep 17 00:00:00 2001 From: nguyenanhung Date: Thu, 16 Sep 2021 01:22:32 +0700 Subject: [PATCH 1/2] update license --- LICENSE | 4 ++-- src/ProjectInterface.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index f288702..4119a7a 100644 --- a/LICENSE +++ b/LICENSE @@ -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. - Copyright (C) + Copyright (C) 2018-2058 Nguyen An Hung - 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 @@ -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: - Copyright (C) + nguyenanhung/requests Copyright (C) 2018-2058 Nguyen An Hung - 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. diff --git a/src/ProjectInterface.php b/src/ProjectInterface.php index c88b2cb..2e8dba5 100644 --- a/src/ProjectInterface.php +++ b/src/ProjectInterface.php @@ -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'; From 6163bebdf349d2a1541af5b1b9017ef2a3856c13 Mon Sep 17 00:00:00 2001 From: nguyenanhung Date: Thu, 16 Sep 2021 01:23:42 +0700 Subject: [PATCH 2/2] update readme --- README.md | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 97c036c..4feabd3 100644 --- a/README.md +++ b/README.md @@ -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** @@ -49,7 +46,7 @@ use \nguyenanhung\MyRequests\MyRequests; $requests = new MyRequests(); ``` -### **How to Use** +## **How to Use** **Get Version of Library** @@ -62,7 +59,7 @@ $requests = new MyRequests(); echo $requests->getVersion(); // Print: 1.0.14 ``` -##### Send Request +### Send Request ```php sendRequest($url, $data, $method); d($sendRequest); ``` -##### Send Request with File Get Contents +### Send Request with File Get Contents ```php getVersion(); // Print: 0.1.3.4 d($result); ``` - - -### Contact +## Contact If any question & request, please contact following information