{"id":21089176,"url":"https://github.com/undefinedor/yii2-cachedactiverecord","last_synced_at":"2025-07-08T18:35:48.285Z","repository":{"id":57075290,"uuid":"60316761","full_name":"undefinedor/yii2-CachedActiveRecord","owner":"undefinedor","description":"CachedActiveRecord For Yii2","archived":false,"fork":false,"pushed_at":"2017-05-30T15:28:54.000Z","size":7,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-01T05:04:49.674Z","etag":null,"topics":["yii2"],"latest_commit_sha":null,"homepage":"","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/undefinedor.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":"2016-06-03T03:51:04.000Z","updated_at":"2020-07-23T10:56:30.000Z","dependencies_parsed_at":"2022-08-24T14:55:41.897Z","dependency_job_id":null,"html_url":"https://github.com/undefinedor/yii2-CachedActiveRecord","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/undefinedor/yii2-CachedActiveRecord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undefinedor%2Fyii2-CachedActiveRecord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undefinedor%2Fyii2-CachedActiveRecord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undefinedor%2Fyii2-CachedActiveRecord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undefinedor%2Fyii2-CachedActiveRecord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/undefinedor","download_url":"https://codeload.github.com/undefinedor/yii2-CachedActiveRecord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undefinedor%2Fyii2-CachedActiveRecord/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264324587,"owners_count":23590908,"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":["yii2"],"created_at":"2024-11-19T21:23:53.110Z","updated_at":"2025-07-08T18:35:48.261Z","avatar_url":"https://github.com/undefinedor.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CachedActiveRecord For Yii2\n\n### Installation\nThe preferred way to install this extension is through [Composer](https://getcomposer.org/download/) .\n```\ncomposer require undefinedor/yii2-cached-active-record\n```\n\n### Configuration\nIn order to use CachedActiveRecord, a valid cache component must be enabled.\nFor Example:\n```php\n    'components' =\u003e [\n        'cache' =\u003e [\n            'class' =\u003e 'yii\\caching\\FileCache',\n        ],\n    ],\n```\n### Usage\nIt's so easy to use ,you just need to use [[undefinedor\\yii2\\CachedActiveRecord]]\nFor example,\n```php\n    \u003c?php\n    \n    namespace common\\models;\n    \n    use undefinedor\\yii2\\CachedActiveRecord;\n    use yii\\db\\ActiveRecord;\n    \n    class BaseActiveRecord extends ActiveRecord\n    {\n        use CachedActiveRecord;\n        \n        //todo \n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundefinedor%2Fyii2-cachedactiverecord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fundefinedor%2Fyii2-cachedactiverecord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundefinedor%2Fyii2-cachedactiverecord/lists"}