{"id":28276008,"url":"https://github.com/thewalkingcoder/gitversion-bundle","last_synced_at":"2025-08-12T13:40:03.749Z","repository":{"id":57073899,"uuid":"468348392","full_name":"thewalkingcoder/gitversion-bundle","owner":"thewalkingcoder","description":"Extract last git tag to manage app versioning","archived":false,"fork":false,"pushed_at":"2024-03-20T09:14:41.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T04:18:10.716Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thewalkingcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-03-10T13:12:23.000Z","updated_at":"2022-03-10T13:14:20.000Z","dependencies_parsed_at":"2024-03-20T10:38:30.741Z","dependency_job_id":"8529bd91-cda4-486a-9a38-eceea821cde0","html_url":"https://github.com/thewalkingcoder/gitversion-bundle","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"d09a5046edac57670d899c3c7fbf5be699431db9"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/thewalkingcoder/gitversion-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewalkingcoder%2Fgitversion-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewalkingcoder%2Fgitversion-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewalkingcoder%2Fgitversion-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewalkingcoder%2Fgitversion-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thewalkingcoder","download_url":"https://codeload.github.com/thewalkingcoder/gitversion-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewalkingcoder%2Fgitversion-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260197308,"owners_count":22973129,"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":[],"created_at":"2025-05-21T04:16:54.817Z","updated_at":"2025-06-16T16:32:05.288Z","avatar_url":"https://github.com/thewalkingcoder.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TwcGitVersion\n\nExtract last git tag to manage app versioning.\n\n## Installation\n\n```bash\ncomposer require twc/gitversion-bundle\n```\n\n## Basic Usage\n\n### Configuration\n\n| key             | definition                                    | default       |\n|-----------------|-----------------------------------------------|---------------|\n| default_version | value when tag not exist                      | v0.1.0        |\n| file_name       | file Name including last git tag | VERSION |\n\n```yaml\n#If you want to change default value create config/packages/twc_gitversion.yaml\n\ntwc_gitversion:\n  default_version: 'v0.0.0'\n\n```\n\n### Generate version\n\n```bash\nbin/console twc:generate:version\n```\n\n### Get last version\n\nwith twig\n\n```twig\n\n{{ twc_version }}\n\n```\n\nwith php\n\n```php\n\nuse Twc\\GitversionBundle\\Provider\\GitVersionProvider;\n\npublic function home(GitVersionProvider $gitVersionProvider)\n{ \n    $version = $gitVersionProvider-\u003eget();\n    dump($version-\u003etoString());\n}\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewalkingcoder%2Fgitversion-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthewalkingcoder%2Fgitversion-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewalkingcoder%2Fgitversion-bundle/lists"}