Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Phpcr Api Tests

Phpcr Api Tests Laravel Package

phpcr/phpcr-api-tests

Test suite for the PHP Content Repository (PHPCR) API. Provides reusable, vendor-neutral compliance tests to validate PHPCR implementations against the specification, helping ensure consistent behavior across repositories and adapters.

View on GitHub
Deep Wiki
Context7

PHP Content Repository compliance test suite

Frequently asked questions about Phpcr Api Tests
Is this package useful for Laravel projects using Eloquent or traditional databases?
No, this package is exclusively for testing PHPCR API implementations, which are not compatible with Laravel’s Eloquent ORM or relational databases. It’s only relevant if your Laravel app explicitly uses PHPCR (e.g., a custom CMS layer) for content storage.
How do I install this test suite in a Laravel project?
Add it as a dev dependency via Composer: `composer require --dev phpcr/phpcr-api-tests`. However, ensure your project already integrates a PHPCR implementation like Jackalope, as this package won’t work standalone in Laravel without PHPCR.
Which Laravel versions support this package?
This package has no direct Laravel dependency, but it requires PHP 7.4+ and a PHPCR implementation (e.g., Jackalope). Laravel version compatibility depends entirely on your PHPCR backend’s support, not the test suite itself.
Can I use this to test my custom PHPCR-backed CMS in Laravel?
Yes, if your CMS relies on PHPCR, this suite provides vendor-neutral tests to validate compliance. Run the tests via your CI pipeline (e.g., PHPUnit) to catch API regressions or backend-specific issues.
What are the licensing risks of using this package?
The package has a 'NOASSERTION' license, which lacks explicit terms. Consult your legal team to assess risks before adoption, especially in production environments. Avoid use in proprietary or high-stakes projects without clarification.
How do I configure this test suite for CI/CD in Laravel?
Add the tests to your `phpunit.xml` and run them in your CI pipeline. Since it’s a PHPCR-specific suite, ensure your CI environment includes a PHPCR-compatible backend (e.g., Jackalope with a mock repository). No Laravel-specific configuration is needed.
Are there alternatives for testing PHPCR implementations?
This is the primary vendor-neutral test suite for PHPCR. Alternatives include writing custom tests against your PHPCR backend or using backend-specific validation tools (e.g., Jackalope’s built-in tests). No Laravel-native alternatives exist.
Will this package slow down my Laravel application in production?
No, this is a test suite only—it has no runtime impact. It’s designed for development/testing environments to validate PHPCR compliance, not for production deployment.
How do I troubleshoot failing tests in this suite?
Failing tests may indicate PHPCR API mismatches or outdated test cases. Check the test output for specific failures, compare against the PHPCR specification, and verify your backend’s implementation. Debugging requires PHPCR expertise.
Is this package actively maintained? Should I use it for critical projects?
Maintenance is uncertain due to low community adoption (21 stars) and niche usage. Avoid critical projects without verifying recent updates or forking the repo for customization. Consider its legal risks and limited support before adoption.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport