{"id":18772305,"url":"https://github.com/doctrine/phpcr-odm","last_synced_at":"2025-05-15T23:06:52.067Z","repository":{"id":45581753,"uuid":"1352419","full_name":"doctrine/phpcr-odm","owner":"doctrine","description":"Doctrine PHPCR ODM","archived":false,"fork":false,"pushed_at":"2025-03-24T05:40:23.000Z","size":6800,"stargazers_count":182,"open_issues_count":64,"forks_count":99,"subscribers_count":12,"default_branch":"2.0.x","last_synced_at":"2025-04-28T02:27:40.149Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.doctrine-project.org/projects/phpcr-odm.html","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doctrine.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"patreon":"phpdoctrine","tidelift":"packagist/doctrine%2Fphpcr-odm","custom":"https://www.doctrine-project.org/sponsorship.html"}},"created_at":"2011-02-10T21:22:18.000Z","updated_at":"2025-03-24T05:40:27.000Z","dependencies_parsed_at":"2023-09-21T18:17:45.511Z","dependency_job_id":"f497436f-b660-4475-bcf0-75d9b05ff6ac","html_url":"https://github.com/doctrine/phpcr-odm","commit_stats":{"total_commits":2041,"total_committers":101,"mean_commits":"20.207920792079207","dds":0.698187163155316,"last_synced_commit":"296ecae2d2582519b0fd25dcb1af9ebba7e8ee08"},"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doctrine%2Fphpcr-odm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doctrine%2Fphpcr-odm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doctrine%2Fphpcr-odm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doctrine%2Fphpcr-odm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doctrine","download_url":"https://codeload.github.com/doctrine/phpcr-odm/tar.gz/refs/heads/2.0.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252777092,"owners_count":21802538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T19:28:29.691Z","updated_at":"2025-05-15T23:06:46.885Z","avatar_url":"https://github.com/doctrine.png","language":"PHP","funding_links":["https://patreon.com/phpdoctrine","https://tidelift.com/funding/github/packagist/doctrine%2Fphpcr-odm","https://www.doctrine-project.org/sponsorship.html"],"categories":[],"sub_categories":[],"readme":"# PHPCR ODM for Doctrine\n\n[![Build Status](https://github.com/doctrine/phpcr-odm/actions/workflows/test-application.yaml/badge.svg?branch=2.x)](https://github.com/doctrine/phpcr-odm/actions/workflows/test-application.yaml)\n[![Latest Stable Version](https://poser.pugx.org/doctrine/phpcr-odm/version.png)](https://packagist.org/packages/doctrine/phpcr-odm)\n[![Total Downloads](https://poser.pugx.org/doctrine/phpcr-odm/d/total.png)](https://packagist.org/packages/doctrine/phpcr-odm)\n\n\n## Requirements\n\n* libxml version \u003e= 2.7.0 (due to a bug in libxml [http://bugs.php.net/bug.php?id=36501](http://bugs.php.net/bug.php?id=36501))\n* [composer](http://getcomposer.org/)\n* See also the `require` section of [composer.json](composer.json)\n\n\n## Documentation\n\nPlease refer to [doctrine-project.org](http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/) for the documentation.\n\n\n## Contributing\n\nPull requests are welcome. Please include tests to prevent regressions whenever\npossible.\n\nThanks to\n[everyone who has contributed](https://github.com/doctrine/phpcr-odm/contributors) already.\n\n\n## Running the tests\n\nThere are separate test setups for the `doctrine-dbal` and the `jackrabbit` PHPCR implementations.\nBefore installing the composer dependencies, you will need to prepare the database for storage and\nchoose a `phpcr/phpcr-implementation`.\nDoing so will change the `composer.json` file - please make sure you do not check in this change\ninto version control.\n\n### Setting up to test with Jackrabbit\n\n1. Make sure you have `java` and `wget` installed, then run this script to install and start jackrabbit:\n    ```\n        tests/script_jackrabbit.sh\n    ```\n2. Require the PHPCR implementation:\n   ```\n        composer require jackalope/jackalope-jackrabbit --no-update\n    ```\n3. Now you can install all dependencies with:\n    ```\n        composer install\n    ```\n4. Now you can run the tests:\n    ```\n    vendor/bin/phpunit -c tests/phpunit_jackrabbit.xml.dist\n    ```\n   You can also copy the phpunit dist file to `./phpunit.xml` to have it selected by default, or\n   if you need to customize any configuration options.\n\n### Setting up to test with Doctrine-DBAL\n\n1. For `doctrine-dbal`, make sure that MySQL is installed. If the connection parameters in\n   `cli-config.doctrine_dbal.php.dist` are not correct, manually create `cli-config.php` and adjust\n   the options as needed. Then run the script to initialize the repository in the database:\n    ```\n        tests/script_doctrine_dbal.sh\n    ```\n2. Require the PHPCR implementation\n    ```\n        composer require jackalope/jackalope-doctrine-dbal --no-update\n    ```\n3. Now you can install all dependencies with:\n    ```\n        composer install\n    ```\n4. Now you can run the tests:\n    ```\n    vendor/bin/phpunit -c tests/phpunit_doctrine_dbal.xml.dist\n    ```\n   You can also copy the phpunit dist file to `./phpunit.xml` to have it selected by default, or\n   if you need to customize any configuration options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctrine%2Fphpcr-odm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoctrine%2Fphpcr-odm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctrine%2Fphpcr-odm/lists"}