{"id":41993292,"url":"https://github.com/leowebguy/git-info","last_synced_at":"2026-01-26T00:47:23.319Z","repository":{"id":209931617,"uuid":"725309247","full_name":"leowebguy/git-info","owner":"leowebguy","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-27T03:47:20.000Z","size":28,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-26T20:09:01.049Z","etag":null,"topics":["craft-cms","craft-cms-plugin","craft4","craft5","craftcms","craftcms-plugin"],"latest_commit_sha":null,"homepage":"","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/leowebguy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-29T21:52:05.000Z","updated_at":"2025-01-22T06:49:51.000Z","dependencies_parsed_at":"2023-11-29T22:21:53.034Z","dependency_job_id":"5bd2f46c-3de3-4f56-9d85-c1743b734a6f","html_url":"https://github.com/leowebguy/git-info","commit_stats":null,"previous_names":["leowebguy/git-info"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/leowebguy/git-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leowebguy%2Fgit-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leowebguy%2Fgit-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leowebguy%2Fgit-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leowebguy%2Fgit-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leowebguy","download_url":"https://codeload.github.com/leowebguy/git-info/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leowebguy%2Fgit-info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28763019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"ssl_error","status_checked_at":"2026-01-26T00:37:25.959Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["craft-cms","craft-cms-plugin","craft4","craft5","craftcms","craftcms-plugin"],"created_at":"2026-01-26T00:47:22.763Z","updated_at":"2026-01-26T00:47:23.312Z","avatar_url":"https://github.com/leowebguy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Git Info plugin for Craft\n===\n\nOutput git info over twig\n\n### Installation\n\nShell\n```shell\ncomposer require leowebguy/git-info -w \u0026\u0026 php craft plugin/install git-info\n```\n\nDDEV\n```shell\nddev composer require leowebguy/git-info -w \u0026\u0026 ddev exec php craft plugin/install git-info\n```\n\n### Usage\n\n`{{ craft.git.branch }}` \u003e\u003e current branch, i.e: stage\n\n`{{ craft.git.remoteUrl }}` \u003e\u003e i.e: github.com:leowebguy/git-info.git\n\n`{{ craft.git.lastTag }}` \u003e\u003e i.e: 3.1.2\n\n`{{ craft.git.commitHash }}` \u003e\u003e last commit hash\n\n`{{ craft.git.commitAuthor }}` \u003e\u003e last commit author (name)\n\n`{{ craft.git.commitDate }}` \u003e\u003e last commit date\n\n```twig\n{% if not craft.app.config.custom.isProd %}\n    \u003cdiv style=\"position: fixed; bottom: 1rem; right: 1rem; padding: 6px 10px; text-align: right; border: solid 1px #eee; z-index: 999;\"\u003e\n        {{ 'branch: ' ~ craft.git.branch }}\u003cbr\u003e\n        {{ 'remote url: ' ~ craft.git.remoteUrl }}\u003cbr\u003e\n        {{ 'last tag: ' ~ craft.git.lastTag }}\u003cbr\u003e\n        {{ 'commit hash: ' ~ craft.git.commitHash }}\u003cbr\u003e\n        {{ 'commit author: ' ~ craft.git.commitAuthor }}\u003cbr\u003e\n        {{ 'commit date: ' ~ craft.git.commitDate }}\n    \u003c/div\u003e\n{% endif %}\n```\n\n![Screenshot](resources/ss1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleowebguy%2Fgit-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleowebguy%2Fgit-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleowebguy%2Fgit-info/lists"}