Download the PHP package mssalvo/banquet without Composer

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

Banquet

Banquet MVC Tool PHP + code generator. Da tabella DB a API funzionante in pochi secondi.
Accelera lo sviluppo generando automaticamente il layer applicativo (Entity, DAO, Model, Service, API e Route), lasciando al developer la libertà di costruire il resto come preferisce

MVC · DI Container · Routing · Generatore automatico · API REST


Installazione

Inizio rapido

Hai già: Metodo Endpoint Descrizione
GET /corsi Lista HTML
GET /api/corsi Lista JSON
GET /api/corsi/{id} Singolo record
POST /api/corsi Inserimento
PUT /api/corsi Modifica
DELETE /api/corsi/{id} Eliminazione

👉 Guida rapida 👉 Documentazione


API REST con JWT

Per API pubbliche, elimina $this->validateAuthToken(); dai metodi che vuoi rendere accessibili.

Comandi

Comando Cosa genera
php banquet make:map all Entity, DAO, Model, Service per tutte le tabelle
php banquet make:map corsi Idem per una tabella specifica
php banquet make:map corsi full-action Come sopra + Action, View, Route, API REST
php banquet make:action clienti Action + View + Route
php banquet make:api corsi API REST + Route
php banquet make:api corsi --with-swagger API REST + Route + OpenAPI
php banquet make:action myaction --action-service=User Action con service diverso

OpenAPI / Swagger

Genera annotation OpenAPI su Entity e classi REST, ed esporta il file openapi.yaml per visualizzare la documentazione con Swagger UI.

Il file OpenApiConfig.php (con le info globali: server, security, tag) viene creato automaticamente una sola volta nella directory app/src/Actions/Api/.

Routing

Le route vengono dichiarate tramite l'attributo #[Route] direttamente sui metodi delle Action classi:

Pattern supportati: {id}, {id:\d+}, {slug}-{id}.

I parametri si leggono con $this->route('id').

Niente più file web.php da gestire: lo scanner riflessivo trova automaticamente tutte le classi Action nella directory app/src/Actions/.

DI Container

Il container risolve le dipendenze automaticamente via Reflection:

Template Composite

Database supportati

Driver DB_DRIVER
MySQL mysql
PostgreSQL pgsql
SQLite sqlite
SQL Server sqlsrv

Struttura

Requisiti


Built with PHP for simplicity and productivity.


All versions of banquet with dependencies

PHP Build Version
Package Version
Requires php Version >=8.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 mssalvo/banquet contains the following files

Loading the files please wait ...