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)056↓100%MITPHPPHP ^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 today

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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

1924d 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

[league/oauth2-client

OAuth 2.0 Client Library

3.8k115.1M1.0k](/packages/league-oauth2-client)[google/auth

Google Auth Library for PHP

1.4k266.3M125](/packages/google-auth)[chervand/yii2-oauth2-server

OAuth 2.0 server for Yii 2.0 with MAC tokens support.

1524.0k](/packages/chervand-yii2-oauth2-server)

PHPackages © 2026

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