• Stars
    star
    768
  • Rank 59,159 (Top 2 %)
  • Language
    PHP
  • License
    Other
  • Created over 14 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A PHP git library

Git.php

Description

A 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.

Requirements

A system with git installed

Basic Use

require __DIR__ . '/../vendor/autoload.php';

use Kbjr\Git\Git;

$repo = Git::open('/path/to/repo');  // -or- Git::create('/path/to/repo')

$repo->add('.');
$repo->commit('Some commit message');
$repo->push('origin', 'master');

Like my work?

ko-fi

More Repositories

1

DragDrop

A JavaScript micro-framework for adding drag-and-drop functionality to elements for advanced UI development
JavaScript
172
star
2

Events.js

A JavaScript micro-framework for events
JavaScript
141
star
3

node-cards

A Node.js playing card module with support for custom decks
TypeScript
87
star
4

polyfill.js

A node.js application that serves the polyfill.js client framework
JavaScript
80
star
5

UglifyJS.php

A PHP port of the UglifyJS JavaScript obfuscator
JavaScript
47
star
6

node-trie

A trie dictionary storage model for Node.js
JavaScript
15
star
7

Box.js

A cross-browser storage library using localStorage and others
JavaScript
13
star
8

node-eventstream

A server-side companion for EventSource
JavaScript
12
star
9

snes-wasm

An experimental SNES emulator written in AssemblyScript (web assembly)
TypeScript
10
star
10

class.js

A simple JavaScript class system
JavaScript
10
star
11

ExtID

OpenID and OAuth together in one easy-to-use external ID library
PHP
6
star
12

funimationnow

TypeScript library for interacting with FunimationNow service APIs
TypeScript
6
star
13

node-sechash

Secure password hashing with salt and key stretching for Node.js
JavaScript
5
star
14

terminus-scrollbar

A Terminus plugin for adding a scrollbar to the terminal pane
TypeScript
5
star
15

terminus-title-control

A Terminus plugin for modifying the title bar/tab text
TypeScript
5
star
16

cards.js

A JavaScript Playing Card Library
JavaScript
4
star
17

Default

A jQuery plugin that sets the default "value" for a text input.
JavaScript
4
star
18

mee.js

A mouse event emulator for touch devices
JavaScript
3
star
19

ws-gui

WIP Electron client app for interacting with WebSocket APIs
JavaScript
2
star
20

node-rand-utils

Node.js Randomization Utilities
JavaScript
2
star
21

nss

A CLI utility for easily creating a (mostly) static node.js server on the fly
Python
2
star
22

node-builder

A JS/CSS Build Utility
JavaScript
2
star
23

noita-recipes

TypeScript code for generating LC and AP recipes for the game Noita
TypeScript
1
star