Skip to content

Add test suite and Laravel 9-12 support#2

Open
ErikBernskiold wants to merge 2 commits intomainfrom
claude/php-laravel-version-support-5ez73
Open

Add test suite and Laravel 9-12 support#2
ErikBernskiold wants to merge 2 commits intomainfrom
claude/php-laravel-version-support-5ez73

Conversation

@ErikBernskiold
Copy link
Member

  • Update composer.json to support PHP 8.2+
  • Update composer.json to support Laravel 9, 10, 11, 12
  • Add Mockery dev dependency for testing
  • Add comprehensive test suite with 135 tests covering:
    • API client and resources (Courses, Users, Groups)
    • Data Transfer Objects (User, Course, Group, etc.)
    • Service Provider and Facade
    • Support utilities (ApiParsing)
  • Add GitHub Actions CI workflow with matrix testing
    • Tests across PHP 8.2-8.4 and Laravel 9-12 combinations
    • Future-proof PHP 8.5 support (continue-on-error)
  • Add code style fix workflow
  • Add Dependabot configuration
  • Fix TalentLmsApiClient to work with Http::fake() in tests
  • Fix Group and UserCertification DTOs to handle missing properties
  • Remove unused import from ServiceProvider
  • Make TalentLms class properly injectable via container

claude added 2 commits January 1, 2026 21:22
- Update composer.json to support PHP 8.2, 8.3, 8.4, 8.5
- Update composer.json to support Laravel 9, 10, 11, 12
- Add Mockery dev dependency for testing
- Add comprehensive test suite with 135 tests covering:
  - API client and resources (Courses, Users, Groups)
  - Data Transfer Objects (User, Course, Group, etc.)
  - Service Provider and Facade
  - Support utilities (ApiParsing)
- Add GitHub Actions CI workflow with matrix testing
  - Tests across PHP 8.2-8.4 and Laravel 9-12 combinations
  - Future-proof PHP 8.5 support (continue-on-error)
- Add code style fix workflow
- Add Dependabot configuration
- Fix TalentLmsApiClient to work with Http::fake() in tests
- Fix Group and UserCertification DTOs to handle missing properties
- Remove unused import from ServiceProvider
- Make TalentLms class properly injectable via container
- Add Pest 1.x support to composer.json for Laravel 9 compatibility
- Update CI workflow to use --dev flag for dev dependencies
- Add pest version to CI matrix for proper version matching
- Set fail-fast: false to allow other matrix jobs to complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants