PHPackages                             samuellira99/phaxios - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. samuellira99/phaxios

ActiveLibrary[HTTP &amp; Networking](/categories/http)

samuellira99/phaxios
====================

A wrapper for php-curl based on axios syntax

v1.0.0(11mo ago)03LGPL-3.0-or-laterPHP

Since Jun 17Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/SamuelLira99/phaxios)[ Packagist](https://packagist.org/packages/samuellira99/phaxios)[ RSS](/packages/samuellira99-phaxios/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

phaxios
=======

[](#phaxios)

phaxios is a wrapper for php-curl based on [axios](https://axios-http.com/) syntax

Static methods
--------------

[](#static-methods)

- get
- post
- put
- patch
- delete

optional parameters
-------------------

[](#optional-parameters)

ParameterDescriptionTypeDefault Value`$headers`Headers to send on requestArray`[]``$assoc`returns JSON objects as associative arraysboolean`true``$send_body_as_json`Sends header `Content-Type: application/json`boolean`true``$auth[$user, $pass]`sends `Authorization Basic` header to php-curlArray(string, string)`['user' => null, 'pass' => null]`Examples
--------

[](#examples)

#### include Phaxios

[](#include-phaxios)

```
