{"id":18929469,"url":"https://github.com/thecodingmachine/utils.common.doctrine-cache-wrapper","last_synced_at":"2026-03-16T14:30:18.395Z","repository":{"id":17914184,"uuid":"20877715","full_name":"thecodingmachine/utils.common.doctrine-cache-wrapper","owner":"thecodingmachine","description":"Provide an install script for a Doctrine's Cache in Mouf Framework.","archived":false,"fork":false,"pushed_at":"2023-01-25T10:42:20.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":13,"default_branch":"1.0","last_synced_at":"2025-02-16T12:30:30.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thecodingmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-16T08:24:52.000Z","updated_at":"2016-04-13T10:20:39.000Z","dependencies_parsed_at":"2023-02-14T06:45:19.724Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/utils.common.doctrine-cache-wrapper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.common.doctrine-cache-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.common.doctrine-cache-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.common.doctrine-cache-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.common.doctrine-cache-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/utils.common.doctrine-cache-wrapper/tar.gz/refs/heads/1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927823,"owners_count":19719835,"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-08T11:32:55.204Z","updated_at":"2026-03-16T14:30:18.316Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Doctrine's Cache for Mouf framework\n===================================\n\nProvides an install script for Doctrine's Cache system in Mouf Framework.\n\nContent of the package\n----------------------\n\nThis package contains an install script that provides a [Doctrine's `Cache`](http://docs.doctrine-project.org/en/2.0.x/reference/caching.html) instance in a Mouf project,\nand a wrapper that makes Doctrine cache system compatible with Mouf cache system.\n\nThe Mouf instance of the Doctrine cache driver is called `defaultDoctrineCache`.\n\nBy default, it is configured as the following:\n\n- If debug mode is true (constant DEBUG=true is config.php), then an `ArrayCache` is used. Therefore, the cache is purged\n  after each request.\n- If debug mode is false, a `APCCache`. If APC is not installed, we fallback to a `FileCache`.\n\nThe package also creates a `doctrineMoufCache` instance that is a wrapper around the `defaultDoctrineCache`\nthat provides compatibility with the Mouf cache system.\n\nThe wrapper\n-----------\n\nThis package contains the `DoctrineCacheAdapter` class. This class can be used to transform any instance of a\nDoctrine cache into a cache that is compatible with Mouf.\n\nThis is very convenient, especially because any Mouf cache can be purged using the red \"Purge button\" in the Mouf UI.\n\nInstallation\n------------\n\nTo install the package, just add its latest version to your composer.json (see the package in the [packagist website](https://packagist.org/packages/mouf/utils.common.doctrine-annotations-wrapper)) adn run the `php composer.phar update`.\n\nThen in Mouf validation process, a new task should be marked as **To run**, launch the installation process and you will have your `defaultDoctrineCache` instance ready to use !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.common.doctrine-cache-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Futils.common.doctrine-cache-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.common.doctrine-cache-wrapper/lists"}