PHPackages                             ged/api-laravel - 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. ged/api-laravel

ActiveLibrary[API Development](/categories/api)

ged/api-laravel
===============

Laravel Package para integracao com GED API

2.2.0(1mo ago)110MITPHPPHP &gt;=8.0

Since May 22Pushed 1mo agoCompare

[ Source](https://github.com/ged-api-br/ged-api-laravel)[ Packagist](https://packagist.org/packages/ged/api-laravel)[ Docs](https://sig.ged.api.br)[ RSS](/packages/ged-api-laravel/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (11)Versions (28)Used By (0)

GED API Laravel Package
=======================

[](#ged-api-laravel-package)

Laravel Package para integracao com GED API.

Instalacao
----------

[](#instalacao)

```
composer require ged/api-laravel
php artisan vendor:publish --tag=ged-api-config
```

Configuracao (.env)
-------------------

[](#configuracao-env)

```
GED_API_KEY=sua-chave-api
GED_API_URL=https://ged.api.br/api
```

Assinatura Digital
------------------

[](#assinatura-digital)

```
use Ged\ApiLaravel\Facades\GedApi;

// Assinar PDF com certificado A1
$result = GedApi::sign('/caminho/documento.pdf', '/caminho/certificado.pfx', 'senha');

// PDF assinado
file_put_contents('assinado.pdf', base64_decode($result['signed_pdf_base64']));

// Ou via download URL
// $result['download_url']
```

### Com assinatura visual

[](#com-assinatura-visual)

```
$result = GedApi::sign('/caminho/doc.pdf', '/caminho/cert.pfx', 'senha', [
    'rect' => [100, 100, 300, 150],
    'page' => 1,
    'signer_name' => 'Joao da Silva',
]);
```

### A partir de base64

[](#a-partir-de-base64)

```
$result = GedApi::signFromBase64($pdfBase64, $pfxContent, 'senha');
```

Certificados
------------

[](#certificados)

```
// Emitir certificado
$result = GedApi::issueCertificate('Joao da Silva', '123.456.789-00', 'joao@email.com', 'senha123');

// Listar
$result = GedApi::listCertificates(page: 1, status: 'active');

// Revogar
$result = GedApi::revokeCertificate(serial: '12345', reason: 'Comprometido');

// Verificar validade
$result = GedApi::verifyCertificate(serial: '12345');
```

Requisitos
----------

[](#requisitos)

- PHP &gt;= 8.0
- Laravel &gt;= 9.0
- ext-openssl

Suporte
-------

[](#suporte)

-

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance91

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~8 days

Total

27

Last Release

41d ago

Major Versions

v0.3.1 → v2.0.02025-10-11

v0.3.2 → 2.0.12025-10-14

PHP version history (2 changes)v1.0.0PHP &gt;=8.1

v1.1.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ade9b665f0ae73aa3d0c660bed92d6c106807e6b87eec70216f4920ee919330?d=identicon)[Welinaldo Lopes Nascimento](/maintainers/Welinaldo%20Lopes%20Nascimento)

---

Top Contributors

[![welinaldoweb](https://avatars.githubusercontent.com/u/107282095?v=4)](https://github.com/welinaldoweb "welinaldoweb (5 commits)")

---

Tags

laravelAssinatura digitalcertificado-digitalged-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ged-api-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/ged-api-laravel/health.svg)](https://phpackages.com/packages/ged-api-laravel)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M885](/packages/laravel-socialite)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.3k3](/packages/defstudio-telegraph)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[revolution/laravel-bluesky

Bluesky(AT Protocol) for Laravel

4422.8k](/packages/revolution-laravel-bluesky)

PHPackages © 2026

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