Skip to content

Commit ab6c638

Browse files
committed
feat: Update Laravel tutorial with Swagger documentation and application startup image
1 parent 6d8d616 commit ab6c638

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

tutorial/markdown/php/quickstart-php-laravel/php-laravel.md

+9
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@ If you choose not to pass the environment variables, you can update the `config/
119119

120120
Once the application is running, you can access it in your browser at [http://localhost:8000](http://localhost:8000).
121121

122+
### Verifying the Application
123+
124+
Once the application starts, you can see the details of the application on the logs.
125+
![Application Startup](./php-quickstart-app-startup.png)
126+
127+
The application will run on port 8000 of your local machine (http://localhost:8000). You will find the Swagger documentation of the API if you go to the URL in your browser. Swagger documentation is used in this demo to showcase the different API endpoints and how they can be invoked. More details on the Swagger documentation can be found in the [appendix](#swagger-documentation).
128+
129+
![Swagger Documentation](./php-quickstart-swagger.png)
130+
122131
## Data Model
123132

124133
For this tutorial, we use three collections, `airport`, `airline` and `route` that contain sample airports, airlines and airline routes respectively. The route collection connects the airports and airlines as seen in the figure below. We use these connections in the quickstart to generate airports that are directly connected and airlines connecting to a destination airport. Note that these are just examples to highlight how you can use SQL queries to join the collections.
Loading
Loading

0 commit comments

Comments
 (0)