{"id":13625713,"url":"https://github.com/kbjr/Git.php","last_synced_at":"2025-04-16T10:32:57.041Z","repository":{"id":984487,"uuid":"788310","full_name":"kbjr/Git.php","owner":"kbjr","description":"A PHP git library","archived":false,"fork":false,"pushed_at":"2023-03-01T03:26:31.000Z","size":81,"stargazers_count":774,"open_issues_count":18,"forks_count":239,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-04-12T11:02:40.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kbjr.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"jbrumond","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2010-07-21T07:58:37.000Z","updated_at":"2025-04-08T19:32:53.000Z","dependencies_parsed_at":"2023-07-05T20:16:59.674Z","dependency_job_id":null,"html_url":"https://github.com/kbjr/Git.php","commit_stats":{"total_commits":73,"total_committers":30,"mean_commits":2.433333333333333,"dds":0.7671232876712328,"last_synced_commit":"e19e18e156fd4ceb6b79c60e05c16ca6c8af386d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbjr%2FGit.php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbjr%2FGit.php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbjr%2FGit.php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbjr%2FGit.php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kbjr","download_url":"https://codeload.github.com/kbjr/Git.php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249228274,"owners_count":21233852,"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":"2024-08-01T21:02:00.131Z","updated_at":"2025-04-16T10:32:57.021Z","avatar_url":"https://github.com/kbjr.png","language":"PHP","funding_links":["https://ko-fi.com/jbrumond","https://ko-fi.com/U7U8MIC8"],"categories":["others","PHP"],"sub_categories":[],"readme":"# Git.php\n\n## Description\n\nA PHP git repository control library. Allows the running of any git command from a PHP class. Runs git commands using `proc_open`, not `exec` or the type, therefore it can run in PHP safe mode.\n\n## Requirements\n\nA system with [git](http://git-scm.com/) installed\n\n## Basic Use\n\n```php\nrequire __DIR__ . '/../vendor/autoload.php';\n\nuse Kbjr\\Git\\Git;\n\n$repo = Git::open('/path/to/repo');  // -or- Git::create('/path/to/repo')\n\n$repo-\u003eadd('.');\n$repo-\u003ecommit('Some commit message');\n$repo-\u003epush('origin', 'master');\n```\n\n---\n\nLike my work?\n\n[![ko-fi](https://www.ko-fi.com/img/donate_sm.png)](https://ko-fi.com/U7U8MIC8)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbjr%2FGit.php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkbjr%2FGit.php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbjr%2FGit.php/lists"}