承接 dynamics-unlimited/laravel-api-template 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dynamics-unlimited/laravel-api-template

最新稳定版本:1.0.1

Composer 安装命令:

composer create-project dynamics-unlimited/laravel-api-template

包简介

Generic API template for Kairnial projects.

README 文档

README

Notifications preferences micro-service

Installation

  • Install the WSL with UbuntuV22.04
  • If Postgresql and its php drivers are not installed in the WSL, install them
  • Create a new Postgresql database using the init-db.sh script (adjust the user and database name inside)
  • From your Ubuntu terminal, navigate to the root of the project, and execute
composer install
  • Then execute the database's migrations
php artisan migrate
  • To add some test data to your database, execute
php artisan db:seed

Creating a project from this template

Use composer to create a new project based on this template using:

composer create-project dynamics-unlimited/laravel-api-template <local-directory>

Environment variables

Copy/paste .env.example then rename the new file into '.env'. Update the content of the file according to your environment.

JWT key

Copy the public key for the appropriate environment to storage/app/keys/public (public being a file).

Api documentation

To generate the api documentation use:

php artisan l5-swagger:generate

The swagger documentation is accessible using this route {{url}}/api/documentation

The redoc documentation is accessible using this route {{url}}/api/redoc

Notes for deploy

Execute the following command:

php artisan l5-swagger:generate

统计信息

  • 总下载量: 26
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-03-30