{"id":28506120,"url":"https://github.com/dynamik-dev/db-chart","last_synced_at":"2025-09-09T11:11:03.546Z","repository":{"id":295354946,"uuid":"989889958","full_name":"dynamik-dev/db-chart","owner":"dynamik-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-25T03:54:45.000Z","size":682,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-14T06:30:00.449Z","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/dynamik-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Dynamik"}},"created_at":"2025-05-25T03:45:33.000Z","updated_at":"2025-05-25T06:05:08.000Z","dependencies_parsed_at":"2025-05-26T12:48:18.107Z","dependency_job_id":null,"html_url":"https://github.com/dynamik-dev/db-chart","commit_stats":null,"previous_names":["dynamik-dev/db-chart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dynamik-dev/db-chart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamik-dev%2Fdb-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamik-dev%2Fdb-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamik-dev%2Fdb-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamik-dev%2Fdb-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynamik-dev","download_url":"https://codeload.github.com/dynamik-dev/db-chart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamik-dev%2Fdb-chart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274288851,"owners_count":25257799,"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-09T02:00:10.223Z","response_time":80,"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":[],"created_at":"2025-06-08T19:31:50.209Z","updated_at":"2025-09-09T11:11:03.504Z","avatar_url":"https://github.com/dynamik-dev.png","language":"PHP","funding_links":["https://github.com/sponsors/Dynamik"],"categories":[],"sub_categories":[],"readme":"## DbChart\n\nThis package is a simple package that allows you to generate a Mermaid diagram of your database schema. It will update in real time as you make changes to your database.\n\n![Screenshot of the diagram](./screenshot.png)\n\n\u003e [!WARNING]\n\u003e This package is intended for development use only and is simply a POC. Do not use in production environments as it exposes your database schema.\n\n\n## Installation\n\n```bash\ncomposer require dynamikdev/db-chart\n```\n\n## Usage\n\nVisit `/db-chart` to see the diagram!.\n\n## Configuration\n\n### Authorization\n\nYou can configure the package by adding a callback to the `DbChartServiceProvider` class. Here's an example of how to authorize the diagram to only be visible to authenticated users.\n\n```php\n// AppServiceProvider.php\npublic function register()\n{\n    DbChartServiceProvider::authorizeUsing(function () {\n        return auth()-\u003echeck();\n    });\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamik-dev%2Fdb-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamik-dev%2Fdb-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamik-dev%2Fdb-chart/lists"}