PHPackages                             rits-tecnologia/melhorenvio-php-sdk - 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. [API Development](/categories/api)
4. /
5. rits-tecnologia/melhorenvio-php-sdk

ActiveLibrary[API Development](/categories/api)

rits-tecnologia/melhorenvio-php-sdk
===================================

Melhor Envio PHP SDK

0.0.4(5y ago)02.7kMITPHPPHP ^7.3CI failing

Since May 12Pushed 5y ago3 watchersCompare

[ Source](https://github.com/rits-tecnologia/melhorenvio-php-sdk)[ Packagist](https://packagist.org/packages/rits-tecnologia/melhorenvio-php-sdk)[ RSS](/packages/rits-tecnologia-melhorenvio-php-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Melhor Envio PHP SDK
====================

[](#melhor-envio-php-sdk)

This package provides PHP SDK to the Melhor Envio API ().

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

[](#installation)

Install this package with composer.

```
composer require rits-tecnologia/melhorenvio-php-sdk
```

Usage
-----

[](#usage)

```
$melhorenvio = new MelhorEnvio(env('MELHORENVIO_TOKEN'));

// repositories
$melhorenvio->shipments();
$melhorenvio->carriers();
```

### Examples

[](#examples)

```
$response = $melhorenvio->shipments()->calculate([
    'from' => [
        'postal_code' => '59082000',
    ],
    'to' => [
        'postal_code' => '59148485',
    ],
    'options' => [
        'receipt' => false,
        'own_hand' => false,
    ],
    'services' => '1,2',
    'products' => [
        [
            'id' => 'x',
            'width' => 11,
            'height' => 17,
            'length' => 11,
            'weight' => 0.3,
            'insurance_value' => 10.1,
            'quantity' => 1,
        ],
        [
            'id' => 'x',
            'width' => 20,
            'height' => 10,
            'length' => 11,
            'weight' => 0.5,
            'insurance_value' => 20.1,
            'quantity' => 2,
        ],
    ],
]);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

4

Last Release

2170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f4c583e43b4a9522b43b49d73767f19af398ff1ede4d77846f4d4cc2803a52a?d=identicon)[jucianoaraujo](/maintainers/jucianoaraujo)

---

Tags

apisdkmelhorenvio

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rits-tecnologia-melhorenvio-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/rits-tecnologia-melhorenvio-php-sdk/health.svg)](https://phpackages.com/packages/rits-tecnologia-melhorenvio-php-sdk)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M468](/packages/saloonphp-saloon)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
