mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 13:10:53 +00:00
* Update laravel from 5.6 to 7.0 * Updated petstore example, removed missing files * Updated PHP version to match composer.json * Add samples generation config with OAS3 input spec * Fixed gitignore compile errors, updated to newest petstore example * Add composer.lock to .gitignore * Fix generator gitignore location * Add integration tests * Refresh samples Co-authored-by: Yuriy Belenko <yura-bely@mail.ru>
847 B
847 B
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