定制 tir/crud 二次开发

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

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

tir/crud

最新稳定版本:12.5

Composer 安装命令:

composer require tir/crud

包简介

Laravel CRUD scaffolding system

README 文档

README

CRUD package for Tir Framework based on Laravel

Features

  • Trait-based CRUD operations
  • Automatic route generation
  • Laravel/Tir framework integration
  • Comprehensive test coverage

Testing

The package includes an optimized Docker testing environment with automatic code coverage:

# Run tests with coverage (recommended)
./test-docker.sh

# Interactive debugging shell
./test-docker.sh interactive

# Clean up Docker resources
./test-docker.sh clean

Coverage Reports

Tests automatically generate comprehensive coverage reports:

  • HTML: coverage/html/index.html - Interactive browsable coverage
  • XML: coverage/clover.xml - For CI/CD integration

Performance

The Docker setup uses a pre-built image with all dependencies for fast test execution (~1.85 seconds total time).

Test Results

  • 170 tests with 704 assertions
  • 18.42% line coverage (344/1868 lines)
  • 10.91% method coverage (37/339 methods)

Documentation

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-29