{"id":15782359,"url":"https://github.com/kendrick-k/symfony-debug-toolbar-git","last_synced_at":"2025-04-27T06:51:49.099Z","repository":{"id":28181248,"uuid":"31682815","full_name":"kendrick-k/symfony-debug-toolbar-git","owner":"kendrick-k","description":"Get the latest Git commit information into Symfony debug toolbar","archived":false,"fork":false,"pushed_at":"2018-07-10T10:26:43.000Z","size":756,"stargazers_count":30,"open_issues_count":1,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-27T06:51:43.116Z","etag":null,"topics":["debug","debugbar","git","symfony","symfony-bundle","toolbar"],"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/kendrick-k.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}},"created_at":"2015-03-04T22:15:49.000Z","updated_at":"2025-03-19T02:14:59.000Z","dependencies_parsed_at":"2022-08-21T14:30:42.459Z","dependency_job_id":null,"html_url":"https://github.com/kendrick-k/symfony-debug-toolbar-git","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendrick-k%2Fsymfony-debug-toolbar-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendrick-k%2Fsymfony-debug-toolbar-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendrick-k%2Fsymfony-debug-toolbar-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kendrick-k%2Fsymfony-debug-toolbar-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kendrick-k","download_url":"https://codeload.github.com/kendrick-k/symfony-debug-toolbar-git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251099735,"owners_count":21536153,"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":["debug","debugbar","git","symfony","symfony-bundle","toolbar"],"created_at":"2024-10-04T19:06:14.232Z","updated_at":"2025-04-27T06:51:49.072Z","avatar_url":"https://github.com/kendrick-k.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Symfony Debug Toolbar Git\n=========================\n\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/08698266-b800-4ca4-bb20-8ceb65b3f31b/big.png)](https://insight.sensiolabs.com/projects/08698266-b800-4ca4-bb20-8ceb65b3f31b)\n\n[![Latest Stable Version](https://poser.pugx.org/kendrick/symfony-debug-toolbar-git/v/stable.svg)](https://packagist.org/packages/kendrick/symfony-debug-toolbar-git) [![Total Downloads](https://poser.pugx.org/kendrick/symfony-debug-toolbar-git/downloads.svg)](https://packagist.org/packages/kendrick/symfony-debug-toolbar-git) [![Latest Unstable Version](https://poser.pugx.org/kendrick/symfony-debug-toolbar-git/v/unstable.svg)](https://packagist.org/packages/kendrick/symfony-debug-toolbar-git) [![License](https://poser.pugx.org/kendrick/symfony-debug-toolbar-git/license.svg)](https://packagist.org/packages/kendrick/symfony-debug-toolbar-git)\n\n[![Monthly Downloads](https://poser.pugx.org/kendrick/symfony-debug-toolbar-git/d/monthly.png)](https://packagist.org/packages/kendrick/symfony-debug-toolbar-git) [![Daily Downloads](https://poser.pugx.org/kendrick/symfony-debug-toolbar-git/d/daily.png)](https://packagist.org/packages/kendrick/symfony-debug-toolbar-git)\n\n[![Travis CI](https://travis-ci.org/kendrick-k/symfony-debug-toolbar-git.svg?branch=develop)](https://travis-ci.org/kendrick-k/symfony-debug-toolbar-git) [![Scrutinizer CI](https://scrutinizer-ci.com/g/kendrick-k/symfony-debug-toolbar-git/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/kendrick-k/symfony-debug-toolbar-git/) [![Scrutinizer CI](https://scrutinizer-ci.com/g/kendrick-k/symfony-debug-toolbar-git/badges/build.png?b=master)](https://scrutinizer-ci.com/g/kendrick-k/symfony-debug-toolbar-git/)\n[![Dependency Status](https://www.versioneye.com/user/projects/57e3991379806f00398308e9/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57e3991379806f00398308e9)\n\n## Symfony toolbar add-on\n\n### Get the latest git commit into Symfony debug toolbar\n\nAnd visualize quickly the latest commit into your repository by clicking on the **Commit ID**.\n\n![SymfonyDebugToolbarGit](SymfonyDebugToolbarGit.png \"SymfonyDebugToolbarGit\")\n\n![SymfonyDebugToolbarGit2.8](symfony_toolbar_2-8.png \"SymfonyDebugToolbarGit2.8\")\n\nInformation displayed :\n\n+ **Branch** : active branch\n+ **Time since last commit** : time since last commit at page generation  \n\n1. less than one hour : minutes + seconds | colored in green, then in red :\n2. more than one hour : hour(s)\n3. more than 24h : count in days\n4. more than 1 month : count in months\n\nUseful for local development but also for a continuous integration (CI) process on a development server.\n\nIf no git repository have been initiated, there will be no display into the toolbar.\n\n### Status information : mouse over\n\nInformation displayed :\n\n+ **Commit ID** : links to the commit URL on your repository (Github, Bitbucket..), base url is to set into repository_commit_url parameter\n+ **Merge** : merge IDs if there is\n+ **Author**\n+ **Email** : email with active link\n+ **Date** : full date of latest commit\n+ **Commit message**\n\n## Installation\n\n### Composer\n\n    composer require kendrick/symfony-debug-toolbar-git\n\n### Register into AppKernel\n\napp/AppKernel.php :\n\n    if (in_array($this-\u003egetEnvironment(), array('dev', 'test'))) {\n        [...]\n        $bundles[] = new Kendrick\\SymfonyDebugToolbarGit\\SymfonyDebugToolbarGit();\n    \n### Parameters\n\napp/config/config_dev.yml :\n\n    symfony_debug_toolbar_git:\n        repository_commit_url: \"\"\n        \nrepository_commit_url, ex : *https://bitbucket.org/team/project/commits/* or *https://github.com/user/project/commit/*\n\n## More tools\n\nGoogle Analytics API v4 Symfony bundle : https://github.com/mediafigaro/google-analytics-api-symfony\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkendrick-k%2Fsymfony-debug-toolbar-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkendrick-k%2Fsymfony-debug-toolbar-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkendrick-k%2Fsymfony-debug-toolbar-git/lists"}