dipcode/authentication-gov

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

v1.1.0 2020-12-14 12:35 UTC

This package is auto-updated.

Last update: 2024-05-14 20:09:13 UTC


README

A PHP 7.1+ API to parse data from 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

Instalation

Library can be installed using Composer like so:

$ composer require dipcode/authentication-gov

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

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

$ composer test

Coding Style

Largely PSR-2 compliant:

https://raw.githubusercontent.com/php-fig/fig-standards/master/accepted/PSR-2-coding-style-guide.md