承接 gammamatrix/playground-admin-resource 相关项目开发

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

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

gammamatrix/playground-admin-resource

Composer 安装命令:

composer require gammamatrix/playground-admin-resource

包简介

Playground: Provides an API and a Blade UI for interacting with Playground Admin, a User and Settings management System for Laravel applications.

README 文档

README

Playground CI Workflow Test Coverage

The playground-admin-resource Laravel package.

Documentation

Read more on using Playground Admin Resource at Read the Docs: Playground Documentation.

Swagger

This application provides Swagger documentation: swagger.json.

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

Swagger API Documentation is built with npm.

  • npm is only needed to generate documentation and is not needed to operate the Admin UI and API Resource.

See package.json requirements.

Install npm.

npm install

Build the documentation to generate the swagger.json configuration.

npm run docs

Documentation

Installation

You can install the package via composer:

composer require gammamatrix/playground-admin-resource

artisan about

Playground provides information in the artisan about command.

Configuration

You can publish the config file with:

php artisan vendor:publish --provider="Playground\Admin\Resource\ServiceProvider" --tag="playground-config"

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

See the contents of the published config file: config/playground-admin-resource.php

You can publish the routes file with:

php artisan vendor:publish --provider="Playground\Admin\Resource\ServiceProvider" --tag="playground-routes"
  • The routes while be published in a folder at routes/playground-admin-resource

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-admin a Laravel package.

Cloc

composer cloc
➜  playground-admin-resource git:(develop) composer cloc
> cloc --exclude-dir=output,vendor .
     142 text files.
      97 unique files.
      46 files ignored.

github.com/AlDanial/cloc v 1.98  T=0.16 s (595.4 files/s, 64488.0 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                             59            707            881           3340
JSON                             3              0              0           2613
YAML                            14              5              0           1731
Blade                           15             70             15            783
XML                              3              0              5            225
Markdown                         2             41              1             74
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                            97            826            902           8778
-------------------------------------------------------------------------------

PHPStan

Tests at level 9 on:

  • config/
  • database/
  • resources/views/
  • routes/
  • src/
  • tests/Feature/
  • tests/Unit/
composer analyse

Coding Standards

composer format

Tests

composer test

Changelog

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

统计信息

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

GitHub 信息

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

其他信息

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