{"id":23209034,"url":"https://github.com/aircargobook/cakephp-fixture-importer","last_synced_at":"2026-05-18T15:04:24.397Z","repository":{"id":56942926,"uuid":"187207946","full_name":"aircargobook/cakephp-fixture-importer","owner":"aircargobook","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-06T17:37:36.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T12:09:55.211Z","etag":null,"topics":["cakephp-plugin","fixture-loading","phpunit"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aircargobook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-17T11:53:34.000Z","updated_at":"2020-08-06T17:37:39.000Z","dependencies_parsed_at":"2022-08-21T07:50:29.934Z","dependency_job_id":null,"html_url":"https://github.com/aircargobook/cakephp-fixture-importer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/aircargobook/cakephp-fixture-importer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aircargobook%2Fcakephp-fixture-importer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aircargobook%2Fcakephp-fixture-importer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aircargobook%2Fcakephp-fixture-importer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aircargobook%2Fcakephp-fixture-importer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aircargobook","download_url":"https://codeload.github.com/aircargobook/cakephp-fixture-importer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aircargobook%2Fcakephp-fixture-importer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273847146,"owners_count":25178635,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cakephp-plugin","fixture-loading","phpunit"],"created_at":"2024-12-18T18:13:56.046Z","updated_at":"2026-05-18T15:04:19.359Z","avatar_url":"https://github.com/aircargobook.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cakephp-fixture-importer\n\nCakePHP Plugin that extends the capability of a Fixture to load not only structure but already.\n\n## installation\n\n    composer require aircargobook/cakephp-fixture-importer\n\n\n## usage\n\nLoad the Trait into your existing fixture.\n\n    \u003c?php\n    namespace App\\Test\\Fixture;\n\n    use Aircargobook\\CakephpFixtureImporter\\Traits\\FixtureImportTrait;\n    use Cake\\TestSuite\\Fixture\\TestFixture;\n\n    class ExampleFixture extends TestFixture\n    {\n        /** @var array Set this property to load fixtures to a different test datasource */\n        public $import = ['table' =\u003e 'example', 'connection' =\u003e 'test_fixtures'];\n\n        /**\n        * @return void\n        */\n        public function init()\n        {\n            parent::init();\n            $this-\u003einsertDataFromSourceTable();\n        }\n    }\n\nIt will now load the table structure from the test_fixture connection and insert data from the test_fixture connection into the connection test.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faircargobook%2Fcakephp-fixture-importer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faircargobook%2Fcakephp-fixture-importer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faircargobook%2Fcakephp-fixture-importer/lists"}