{"id":18722142,"url":"https://github.com/muetze42/markdown","last_synced_at":"2025-11-11T04:30:17.618Z","repository":{"id":190673926,"uuid":"683192491","full_name":"Muetze42/markdown","owner":"Muetze42","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-14T09:10:06.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T03:34:00.757Z","etag":null,"topics":["markdown","markdown-table","php"],"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/Muetze42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Muetze42"],"patreon":null,"open_collective":null,"ko_fi":"normanhuth","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://huth.it/coffee"]}},"created_at":"2023-08-25T20:22:59.000Z","updated_at":"2023-08-25T21:09:33.000Z","dependencies_parsed_at":"2023-08-25T22:19:37.901Z","dependency_job_id":"87ff914d-c1c4-45bb-8eec-00472e0c24e7","html_url":"https://github.com/Muetze42/markdown","commit_stats":null,"previous_names":["muetze42/markdown"],"tags_count":4,"template":false,"template_full_name":"Muetze42/repository-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fmarkdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fmarkdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fmarkdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fmarkdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Muetze42","download_url":"https://codeload.github.com/Muetze42/markdown/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587243,"owners_count":19663892,"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":["markdown","markdown-table","php"],"created_at":"2024-11-07T13:40:04.650Z","updated_at":"2025-11-11T04:30:17.568Z","avatar_url":"https://github.com/Muetze42.png","language":"PHP","readme":"# Markdown\n\n## Install\n\n```\ncomposer require norman-huth/markdown\n```\n\n## Markdown Table Generator\n\n### Basic Usage\n\nCreate this table:\n\n```markdown\n| ID | Name          |\n|:---|:--------------|\n| 1  | Administrator |\n| 2  | User          |\n| 4  | Hugo          |\n```\n\n#### Row for Row\n\n```php\nuse NormanHuth\\Markdown\\Table;\n\n$table = new Table();\n\n$table-\u003eaddCell('ID');\n$table-\u003eaddCell('Name');\n\n$table-\u003eaddRow([1, 'John Doe']);\n$table-\u003eaddRow([2, 'Johanna Doe']);\n\necho $table-\u003erender();\n```\n\n#### Array or `\\Illuminate\\Support\\Collection`\n\n```php\nuse NormanHuth\\Markdown\\Table;\n\n$table = new Table();\n\n$table-\u003eaddCell('ID');\n$table-\u003eaddCell('Name');\n\n$table-\u003eaddRows(\n    [\n        [1, 'John Doe'],\n        [2, 'Johanna Doe'],\n    ]\n);\n\necho $table-\u003erender();\n```\n\n#### Laravel Model Collection\n\n```php\nuse NormanHuth\\Markdown\\Table;\n\n$table = new Table();\n$table-\u003eaddCell('ID');\n$table-\u003eaddCell('Name');\n$table-\u003eaddRows(\\App\\Models\\User::all(['id', 'name']));\n\nreturn $table-\u003erender();\n```\n","funding_links":["https://github.com/sponsors/Muetze42","https://ko-fi.com/normanhuth","https://huth.it/coffee"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fmarkdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuetze42%2Fmarkdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fmarkdown/lists"}