Download the PHP package ilbronza/payments without Composer

On this page you can find all versions of the php package ilbronza/payments. 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 payments

Payments

Dati di fatturazione di un model

Il model InvoicingData salva vat (partita IVA), rea_number, istat_code, ateco_code, pubblica_amministrazione, sdi e split_payment. I codici sono stringhe nullable, per conservare zeri iniziali e separatori; pubblica_amministrazione e split_payment sono booleani con valore iniziale false.

Eseguire php artisan migrate nell'applicazione per creare la tabella payments__invoicing_data. Il model genera il proprio UUID e usa la relazione polimorfica invoicingDataable per collegarsi a qualsiasi model con chiave UUID.

Per esporre una scheda di fatturazione dal model proprietario, aggiungere il trait:

Creare o aggiornare i dati attraverso la relazione MorphOne:

Per assegnare i dati a un model senza aggiungere il trait:

Classe e tabella sono configurabili tramite payments.models.invoicingData.

Conti bancari di un model

Il model Bankaccount salva iban, abi, cab, account_number e bank_id. ABI e CAB sono stringhe nullable di cinque cifre, per conservare gli zeri iniziali; i form del package validano questo formato. Non vengono ricavati automaticamente dall'IBAN.

Eseguire php artisan migrate nell'applicazione per aggiungere i nuovi campi e il collegamento polimorfico opzionale bankaccountable. I conti esistenti restano disponibili senza intestatario e mantengono il collegamento alle carte.

Per collegare uno o più conti a un model con chiave UUID, ULID o intera, aggiungere il trait:

Creare il conto attraverso la relazione imposta automaticamente l'intestatario:

Ogni conto può appartenere a un solo model; un model può avere più conti. Per collegare un conto già esistente oppure rimuovere il collegamento:

Il trait rispetta la classe configurata in payments.models.bankaccount.class e fornisce getRelatedBankaccountElements() per i gestori delle relazioni CRUD. Nel relationship manager del model ospite si può aggiungere:


All versions of payments with dependencies

PHP Build Version
Package Version
No informations.
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 ilbronza/payments contains the following files

Loading the files please wait ...