William Cheng c9047a6faa
[php] enhance type mapping (#10457)
* map BigDecimal to float

* enhance type mapping in php generators

* update tests

* update doc, samples

* remove primitive types from phpdt, mezzio
2021-09-25 12:09:34 +08:00
..
2021-09-25 12:09:34 +08:00

OpenAPI generated server

Requirements

  • PHP 7.2.5 or newer

Overview

This server was generated by the openapi-generator project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. This is an example of building a PHP server.

This example uses the laravel Framework. To see how to make this your own, please take a look at the template here:

Installation & Usage

Composer

Using composer install to install the framework and dependencies via Composer.

post installation steps

Change into application folder and execute following commands to get started:

cp .env.example .env
php artisan key:generate
php artisan serve