https://github.com/yahongie2014/serinchttp
Serinc Utilities For Alterative Method CURL With Guzzle HTTP & PSR And have Another Method For Encrypt & Decrypt Methods With Cipher & hexabin algorithm
https://github.com/yahongie2014/serinchttp
decryption encryption guzzlehttp http laravel requests
Last synced: 4 months ago
JSON representation
Serinc Utilities For Alterative Method CURL With Guzzle HTTP & PSR And have Another Method For Encrypt & Decrypt Methods With Cipher & hexabin algorithm
- Host: GitHub
- URL: https://github.com/yahongie2014/serinchttp
- Owner: yahongie2014
- License: mit
- Created: 2021-09-06T22:47:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-09T17:09:55.000Z (almost 4 years ago)
- Last Synced: 2025-01-10T02:36:39.259Z (about 1 year ago)
- Topics: decryption, encryption, guzzlehttp, http, laravel, requests
- Language: PHP
- Homepage:
- Size: 560 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README

Laravel Utilites
=======================
[](LICENSE.md)
## Install
You can install `Serinc Utilities` package to your laravel project via composer command:
```
$ composer require serinc/utilities:dev-master
```
## OR
```
$ composer require serinc/utilities:dev-main
````
## Description
This Package Configured To Send Http Request As CURL Method <> For This Function
``````
use serinc\utilities\HttpClient;
``````
### Example
### AlTretive Method (GET , POST , PUT , DELETE)
`````
use serinc\utilities\HttpClient;
$httpClient = new HttpClient("$url");
$response = $httpClient->setHeaders([
'Authorization' => 'Berare Token',
'Content-Type' => 'application/json',
])->setUri('/api?example')->request("GET", null);
return $response;
``````
## | For Decrypt & Encrypt Security
`````
use serinc\utilities\Encryptor;
$value_encrypt = (new Encryptor())->encrypt($password);
$value_decrypt = (new Encryptor())->decrypt($password);
`````
#License By:
-----------------------------------------------------
####
$ Follow ME
>Develope by Dev Ahmed S. Ahmed [coder79](https://coder79.online/) ❤