PHPackages                             adaiasmagdiel/cururu - 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. adaiasmagdiel/cururu

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

adaiasmagdiel/cururu
====================

A lightweight PHP library that simplifies making HTTP requests with cURL, offering a minimalistic approach for handling web APIs with an easy-to-use interface and essential features, ideal for smaller projects.

v1.0.0(1y ago)04MITPHP

Since Sep 14Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Cururu
======

[](#cururu)

**Cururu** is a lightweight PHP library designed to simplify making HTTP requests with cURL. It offers a minimalistic approach to handling web APIs, providing an easy-to-use interface with essential features. This makes it ideal for smaller projects that need efficient HTTP request handling without the overhead of larger libraries.

Features
--------

[](#features)

- Simple and intuitive interface for making HTTP requests.
- Optional base URL configuration, or you can use full URLs directly in requests.
- Configurable headers and timeouts.
- SSL verification toggle for secure or insecure requests.
- cURL error handling and automatic response parsing.
- Support for JSON, form-data, and URL-encoded bodies in POST requests.
- Lightweight and easy to integrate into any PHP project.

Installation
------------

[](#installation)

To include Cururu in your project, use [Composer](https://getcomposer.org/). First, ensure you have Composer installed, then run the following command:

```
composer require adaiasmagdiel/cururu
```

Usage
-----

[](#usage)

### Basic Example

[](#basic-example)

```
