# Dipendenze

## Installare le dipendenze

Per generare le richieste alla banca il modulo si avvale della dipendenza PagOnline. Per installare la giusta dipendenza bisogna prima di tutto conoscere il proprio ambiente di produzione ed in particolare la versione del PHP.&#x20;

Per installare la versione della dipendenza che utilizza un PHP <= 7.1 bisogna eseguire il seguente comando:

```
composer require mattiabasone/PagOnline:v1.0.1
```

Qualora la versione sia superiore alla PHP 7.1 bisogna eseguire il seguente comando:

```
composer require mattiabasone/pagonline:v2.1.0
```

Senza tale dipendenza il modulo BNL non riuscirebbe a generare le richieste alla banca generando un blocco di Magento.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.axepta.shinesoftware.it/installazione/magento-2/dipendenze.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
