codebuglab/laravel-goalserve
最新稳定版本:2.0.0
Composer 安装命令:
composer require codebuglab/laravel-goalserve
包简介
Simple integration with Goalserve API for Laravel
README 文档
README
Simple integration with GoalServe API for Laravel.
Table of contents
Setup
Installation
To install this package through composer run the following command in the terminal
composer require codebuglab/laravel-goalserve
Publish
You have to publish config file with this artisan command:
php artisan vendor:publish --provider="CodeBugLab\GoalServe\GoalServeServiceProvider"
- File
goalserve.phpwill be publish inconfigfolder after that. - Then you have to put your goalserve api key in your
envfile like thisGOALSERVE_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. - The default language of api response is
en,If the returned data from the API should be in another language, set the GOALSERVE_API_LANGUAGE key in yourenv, eg. like this:GOALSERVE_API_LANGUAGE=ar.
Documentation
- You will find full documentation for this package in the wiki link.
Testing
To run test use this command ./vendor/bin/pest
License
This package is a free software distributed under the terms of the MIT license, Please see License File for more information.
统计信息
- 总下载量: 882
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-19
