PHPackages                             emanuti/granatum - 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. emanuti/granatum

ActiveLibrary[API Development](/categories/api)

emanuti/granatum
================

Pacote Laravel para manusear api do Granatum

147PHP

Since Jan 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/emanuti/granatum)[ Packagist](https://packagist.org/packages/emanuti/granatum)[ RSS](/packages/emanuti-granatum/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://laravel.com)

\# Granatum Laravel Package to access Granatum API Requirements
------------

[](#requirements)

curl extension

Install
-------

[](#install)

Via composer

```
$ composer require emanuti/granatum
```

Open config/app.php

Add

```
Emanuti\Granatum\GranatumServiceProvider::class,
```

inside providers key of array

Add

```
'Granatum' => Emanuti\Granatum\Facade::class
```

inside aliases key of array

Run

```
$ php artisan vendor:publish
```

will generate config/granatum.php

Configuration
-------------

[](#configuration)

Open generated file granatum.php by vendor:publish comand and fill: env will determine the enviroment that you are token dev will be used to test and prod, you know :-)

Usage
-----

[](#usage)

Available routes:

To get a collection related with route

```
\Granatum::get('any_route_available');
```

To get an item of collection by id

```
\Granatum::get('any_route_available', id);
```

where id will be an integer

To add one item

```
\Granatum::post('any_route_available', fields);
```

where fields will be an array

To edit one item

```
\Granatum::put('any_route_available', id, fiedls);
```

where fields will be an array and id will be an integer

To delete one item

```
\Granatum::delete('any_route_available', id);
```

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2277712?v=4)[Emmanuel de Carvalho Garcia](/maintainers/emanuti)[@emanuti](https://github.com/emanuti)

---

Top Contributors

[![emanuti](https://avatars.githubusercontent.com/u/2277712?v=4)](https://github.com/emanuti "emanuti (20 commits)")

### Embed Badge

![Health badge](/badges/emanuti-granatum/health.svg)

```
[![Health](https://phpackages.com/badges/emanuti-granatum/health.svg)](https://phpackages.com/packages/emanuti-granatum)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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