Yuriy Belenko 9a03850828
[php] Exclude composer.lock in root gitignore (#7224)
* Add samples composer.lock to root .gitignore

composer.lock may produce CI errors when you need to test build against
different PHP versions. However users most likely want to commit this
file, so I think it's better to exclude it only in root .gitignore.

* Commit composer.lock in default PHP templates

* Refresh samples
2020-08-17 00:13:50 +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