Download the PHP package altravia/openapi without Composer

On this page you can find all versions of the php package altravia/openapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package openapi

OpenAPI Library

1. Installation

2. Usage

2.1. Instanza della classe

Dove $scopes è un array di stringhe o di oggetti in uno dei seguenti formati:

...e $environment è l'ambiente sceltro tra 'test' (default) e 'production'

OpenApi si occuperá di reperire automaticamente, o generare, un nuovo token quando necessario.

A questo punto, in base agli scopes indicati vengono creati i seguenti oggetti:

che possono essere usati al seguente modo:

2.2. Esempi

3. Modulo comuni

Consente di prendere informazioni su comuni e provincie.

3.1. Esempi

4. Modulo imprese

4.1. Utilizzo

Il modulo imprese espone i seguenti metodi:

Per getBySearch e getByPartitaIva è richiesto accesso allo scope /advance

4.2. Esempi

Utilizziamo getBySearch per cercare un'azienda il cui nome inizia con Altrav a Roma

5. Modulo Marche Temporali

5.1. Esempi

6. Modulo SMS

6.1. Inviare un SMS

Per inviare un SMS, per prima cosa definiamo i destinatari:

Possiamo ora procedere ad inviare un SMS:

Possiamo anche speficiare i prefissi in modo indipendente:

O passare delle opzioni

7. Modulo Visengine

Come prima cosa, settiamo l'hash della visura che vogliamo richiedere

A questo punto, possiamo lanciare createRequest, che ritornerà una istanza vuota della visura che andremo a creare della struttura richiesta

Prodediamo a completare l'oggetto, che potremmo passare a sendRequest quando pronto


All versions of openapi with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package altravia/openapi contains the following files

Loading the files please wait ....