{"id":23450743,"url":"https://github.com/mattvb91/php-doc-prop-generator","last_synced_at":"2025-04-10T09:59:20.169Z","repository":{"id":62525329,"uuid":"152954105","full_name":"mattvb91/php-doc-prop-generator","owner":"mattvb91","description":"DocBlock property generation for PHP classes from your DB structure.","archived":false,"fork":false,"pushed_at":"2018-11-16T11:55:31.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T19:48:42.040Z","etag":null,"topics":["docblock","documentation-generator","php","php7"],"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/mattvb91.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":"2018-10-14T08:30:11.000Z","updated_at":"2022-02-12T09:41:36.000Z","dependencies_parsed_at":"2022-11-02T10:31:34.534Z","dependency_job_id":null,"html_url":"https://github.com/mattvb91/php-doc-prop-generator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattvb91%2Fphp-doc-prop-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattvb91%2Fphp-doc-prop-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattvb91%2Fphp-doc-prop-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattvb91%2Fphp-doc-prop-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattvb91","download_url":"https://codeload.github.com/mattvb91/php-doc-prop-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198865,"owners_count":21063626,"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":["docblock","documentation-generator","php","php7"],"created_at":"2024-12-24T00:14:38.783Z","updated_at":"2025-04-10T09:59:20.134Z","avatar_url":"https://github.com/mattvb91.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-doc-prop-generator\nDocBlock @property generation for PHP class documentation from your DB structure.\n\nThis package will generate classes based on your DB structure that you can then use to @mixin for your real classes:\n\n```php\n\u003c?php\n\nnamespace DocProps;\n\n/**\n * AUTO GENERATED! ONLY USE FOR @mixin documentation\n * @property int id\n * @property string username\n */\nfinal class userProps {}\n```\n\nSo now if you have a `User` class that you want typehints available in your IDE you \ncan simply `@mixin \\DocProps\\userProps`.\n\n### Installation\n\n```\ncomposer require --dev mattvb91/docpropgenerator\n```\n\n### Usage\n```\n ./vendor/bin/docPropGenerator.php                                                                                                         \n\n\n--dbHost \u003cargument\u003e\n     Required.\n\n\n--dbName \u003cargument\u003e\n     Required.\n\n\n--dbPass \u003cargument\u003e\n     Required.\n\n\n--dbUser \u003cargument\u003e\n     Required.\n\n\n--help\n     Show the help page for this command.\n\n```\n\n### Licence\n\n```\nMIT License\n\nCopyright (c) 2018 Matthias von Bargen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattvb91%2Fphp-doc-prop-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattvb91%2Fphp-doc-prop-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattvb91%2Fphp-doc-prop-generator/lists"}