PHPackages                             dipcode/authentication-gov - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. dipcode/authentication-gov

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

dipcode/authentication-gov
==========================

A PHP API that implements autenticacao.gov.pt service.

v1.1.0(5y ago)058MITPHPPHP ^7.1

Since Dec 3Pushed 5y ago2 watchersCompare

[ Source](https://github.com/dipcode-software/authentication-gov)[ Packagist](https://packagist.org/packages/dipcode/authentication-gov)[ RSS](/packages/dipcode-authentication-gov/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Autenticação Gov - PHP API
==========================

[](#autenticação-gov---php-api)

A PHP 7.1+ API to parse data from [autenticacao.gov.pt](https://www.autenticacao.gov.pt/) service. Autenticação Gov, such as the 'Chave Móvel Digital' (CMD), allows you to perform services and access the portals of various public and private entities, from business sectors such as Banking, Telecommunications, Energy, Health, Tourism, among others.

[![License](https://camo.githubusercontent.com/ae6143df09c2127bb64b761c871edc4a530c94162921b84b2bc7cf168c8ce661/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](http://www.opensource.org/licenses/MIT)

Instalation
-----------

[](#instalation)

Library can be installed using Composer like so:

```
$ composer require dipcode/authentication-gov
```

Starting development
--------------------

[](#starting-development)

Start by cloning the repo:

```
$ git clone https://github.com/dipcode-software/authentication-gov.git
$ cd authentication-gov
```

Install the composer dependencies:

```
$ composer install
```

### Running the tests

[](#running-the-tests)

To run tests, unit and style tests, just run:

```
$ composer test
```

### Coding Style

[](#coding-style)

Largely PSR-2 compliant:

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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 ~11 days

Total

2

Last Release

2062d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/feff15ba40cba319472698f3483120c299c9b6115fafe202a70815c63aff29a3?d=identicon)[dipcode](/maintainers/dipcode)

---

Top Contributors

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

---

Tags

Authenticationoauth2governmentama

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/dipcode-authentication-gov/health.svg)

```
[![Health](https://phpackages.com/badges/dipcode-authentication-gov/health.svg)](https://phpackages.com/packages/dipcode-authentication-gov)
```

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k302.1M239](/packages/google-auth)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[league/oauth2-client

OAuth 2.0 Client Library

3.8k132.3M1.4k](/packages/league-oauth2-client)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k51](/packages/neuron-core-neuron-ai)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

121269.8k1](/packages/ellaisys-aws-cognito)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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