{"id":15753601,"url":"https://github.com/idrinth/entitygenerator","last_synced_at":"2026-05-02T19:35:43.931Z","repository":{"id":56989139,"uuid":"84247639","full_name":"Idrinth/EntityGenerator","owner":"Idrinth","description":"Generates entities from a given database.","archived":false,"fork":false,"pushed_at":"2017-09-26T11:44:56.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T12:15:40.647Z","etag":null,"topics":["database","generates-entities"],"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/Idrinth.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":"2017-03-07T21:25:15.000Z","updated_at":"2017-03-08T07:23:55.000Z","dependencies_parsed_at":"2022-08-21T09:40:44.651Z","dependency_job_id":null,"html_url":"https://github.com/Idrinth/EntityGenerator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idrinth%2FEntityGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idrinth%2FEntityGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idrinth%2FEntityGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idrinth%2FEntityGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Idrinth","download_url":"https://codeload.github.com/Idrinth/EntityGenerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246436052,"owners_count":20776960,"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":["database","generates-entities"],"created_at":"2024-10-04T07:41:24.342Z","updated_at":"2026-05-02T19:35:43.895Z","avatar_url":"https://github.com/Idrinth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EntityGenerator\nGenerates entities from a given database and provides optional handling of them.\n\n## Checks\n\nTravis php 5.3-7.1:\n[![Travis Status](https://travis-ci.org/Idrinth/EntityGenerator.svg?branch=master)](https://travis-ci.org/Idrinth/EntityGenerator)\n\nCodacy:\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7e300b0906044c91a1b3bcf592dcac22)](https://www.codacy.com/app/Idrinth/EntityGenerator?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=Idrinth/EntityGenerator\u0026amp;utm_campaign=Badge_Grade)\n[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/7e300b0906044c91a1b3bcf592dcac22)](https://www.codacy.com/app/Idrinth/EntityGenerator?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=Idrinth/EntityGenerator\u0026amp;utm_campaign=Badge_Coverage)\n\nCodeclimate:\n[![Issue Count](https://lima.codeclimate.com/github/Idrinth/EntityGenerator/badges/issue_count.svg)](https://lima.codeclimate.com/github/Idrinth/EntityGenerator)\n[![Code Climate](https://lima.codeclimate.com/github/Idrinth/EntityGenerator/badges/gpa.svg)](https://lima.codeclimate.com/github/Idrinth/EntityGenerator)\n\n## Example\n\n```php\n\u003c?php\n//generate entities for a schema named test and a schema named tester\n//existance an autoloader is expected\n$generator =  new \\De\\Idrinth\\EntityGenerator\\EntityGenerator(\n                new \\PDO('mysql:host:localhost', 'root', ''),\n                __DIR__.DIRECTORY_SEPARATOR.'{{schema}}',\n                'De\\Idrinth\\EntityGenerator\\Test'\n            );\n$object-\u003erun(array('test','tester'));\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidrinth%2Fentitygenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidrinth%2Fentitygenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidrinth%2Fentitygenerator/lists"}