https://github.com/basemax/laravel-11-docs-swagger
A simple project with Laravel 11, which is a management panel along with a simple blog web service with CRUD operations.
https://github.com/basemax/laravel-11-docs-swagger
laravel laravel-11 laravel-api-docs laravel-docs laravel-scribe laravel-swagger laravel11 php scribe swagger
Last synced: 2 months ago
JSON representation
A simple project with Laravel 11, which is a management panel along with a simple blog web service with CRUD operations.
- Host: GitHub
- URL: https://github.com/basemax/laravel-11-docs-swagger
- Owner: BaseMax
- License: gpl-3.0
- Created: 2024-07-27T20:20:35.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-26T11:59:15.000Z (2 months ago)
- Last Synced: 2025-03-28T17:08:06.949Z (2 months ago)
- Topics: laravel, laravel-11, laravel-api-docs, laravel-docs, laravel-scribe, laravel-swagger, laravel11, php, scribe, swagger
- Language: PHP
- Homepage:
- Size: 1.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# laravel-11-docs-swagger
In this repository, we discuss an example of using swagger in Laravel 11. This zippository is a simple project with Laravel 11, which is a management panel along with a simple blog web service with CRUD operations.
## See example
You can see an example of the use of anodes in `/example/*`
## Installtion example
First enter the following directory
`example/laravel-admin-blog-api1`
Then install dependencies using Composer
```shell
$ composer install
```If necessary, you can upgrade the dependencies
```shell
$ composer upgrade
```Do the initial configurations of the project
create `.env` file from `.env.example`Then run the following command
```shell
$ php artisan key:generate
```Then configure the database in `.env` file and create tables and database
```shell
$ php artisan migrate
```Run the local server with the following command
```shell
$ php artisan serve
```Use the following command to update the Swagger document
```shell
php artisan l5-swagger:genaret
```Use the following command to update the Scibe document
```shell
php artisan scribe:genaret
```