gammamatrix/playground-lead-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

gammamatrix/playground-lead-api

Composer 安装命令:

composer require gammamatrix/playground-lead-api

包简介

Playground: Provides an API, without a UI for interacting with Playground Lead, a Playground Campaign and Lead Sales Management tool for Laravel applications.

README 文档

README

Playground CI Workflow Test Coverage PHPStan Level 10

Playground: Lead API

This package provides an API without UI for interacting with the Playground: Lead, a model package for Laravel.

If you need a JSON API with a UI, then have a look at Playground: Lead Resource.

Documentation

Read more on using Playground: Lead API at Read the Docs: Playground Documentation

Postman

A postman collection is provided in the repository: postman-playground-lead-api.json.

  • This same collection is viewable on the .

OpenAPI

This application provides OpenAPI documentation: openapi.yaml.

  • The endpoint models support locks, trash with force delete, restoring, revisions and more.
  • Index endpoints support advanced query filtering.

OpenAPI API Documentation is built with npm using Redocly.

  • npm is only needed to generate documentation and is not needed to operate the Playground: Lead API API.

See package.json requirements.

Install npm.

npm install

Build the documentation to generate the openapi.yaml configuration.

npm run docs

Documentation

Installation

You can install the package via composer:

composer require gammamatrix/playground-lead-api

artisan about

Playground provides information in the artisan about command.

Configuration

You can publish the config file with:

php artisan vendor:publish --provider="Playground\Lead\Api\ServiceProvider" --tag="playground-config"

All routes are enabled by default. They may be disabled via environment variable or the configuration.

See the contents of the published config file: config/playground-lead-api.php

You can publish the routes file with:

php artisan vendor:publish --provider="Playground\Lead\Api\ServiceProvider" --tag="playground-routes"
  • The routes while be published in a folder at routes/playground-lead-api

Environment Variables

If you are unable or do not want to publish configuration files for this package, you may override the options via system environment variables.

Information on environment variables is available on the wiki for this package

Migrations

This package requires the migrations in playground-lead a Laravel package.

Cloc

composer cloc
➜  playground-lead-api git:(develop) ✗ composer cloc
     800 text files.
     784 unique files.
      17 files ignored.

github.com/AlDanial/cloc v 2.06  T=0.21 s (3773.3 files/s, 365856.9 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
YAML                           114              5              0          31277
JSON                           335              0              0          21046
PHP                            321           3006           3957          15434
XML                             10              0              7           1087
Markdown                         3             55              1            127
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                           784           3069           3965          68983
-------------------------------------------------------------------------------

PHPStan

Tests at level 10 on:

  • config/
  • routes/
  • src/
  • tests/Feature/
  • tests/Unit/
composer analyse

Coding Standards

composer format

Testing

Run unit tests:

composer test

Run unit and feature tests:

composer test-dev

Run unit and feature tests in parallel:

composer test-parallel

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.

gammamatrix/playground-lead-api 适用场景与选型建议

gammamatrix/playground-lead-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 04 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「sales」 「laravel」 「campaign」 「playground」 「lead」 「opportunity」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 gammamatrix/playground-lead-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 gammamatrix/playground-lead-api 我们能提供哪些服务?
定制开发 / 二次开发

基于 gammamatrix/playground-lead-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-04