定制 gammamatrix/playground-matrix 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

gammamatrix/playground-matrix

Composer 安装命令:

composer require gammamatrix/playground-matrix

包简介

Playground: Provides the models to use Playground Matrix, a Project Management System.

README 文档

README

Playground CI Workflow Test Coverage PHPStan Level 10

The Playground Matrix is a package for Laravel applications.

Playground: Provides the models to use Playground Matrix, a Project Management System.

Read more on using Playground: Matrix at Read the Docs

Installation

NOTE: This package is required by:

Install this package, with composer, to get access to the Matrix Models:

composer require gammamatrix/playground-matrix

artisan:about

Playground Matrix provides information in the artisan about command.

screenshot of artisan about command with Playground: Matrix.

Configuration

Migrations are disabled by default. This package may sometimes be installed where another system handles the migrations.

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

You can publish the config file with:

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

Environment Variables

env() config() Default
PLAYGROUND_MATRIX_ABOUT playground-matrix.about true
PLAYGROUND_MATRIX_LOAD_MIGRATIONS playground-matrix.load.migrations false
  • The loading option for migrations does not take effect if the migrations have been exported to your app. The control for loading is handled in the package ServiceProvider.

Models

This package includes factories, models and migrations for:

Migrations

All migrations are disabled by default.

See the contents of the published config file: database/migrations

  • NOTE: There are 16 tables that will be created, they do have indexes and unique constraints defined; however, this release does not have the foreign key constraint migrations included at this time.

You can publish the migrations file with:

php artisan vendor:publish --provider="Playground\Matrix\ServiceProvider" --tag="playground-migrations"

Cloc

composer cloc
➜  playground-matrix git:(develop) ✗ composer cloc
     200 text files.
     195 unique files.
      25 files ignored.

github.com/AlDanial/cloc v 2.06  T=0.13 s (1530.8 files/s, 545559.2 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
JSON                            89              0              0          50576
PHP                             91           1461           4161          12348
XML                             10              0              7            470
YAML                             1              5              0            275
Markdown                         3             46              0            132
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                           195           1515           4168          63813
-------------------------------------------------------------------------------

PHPStan

Tests at level 10 on:

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

Coding Standards

composer format

Testing

Unit tests

composer test

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.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固