tir/crud

Laravel CRUD scaffolding system

Installs: 1 295

Dependents: 4

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/tir/crud

12.5 2025-12-11 13:46 UTC

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