Download the PHP package pvpender/git-kphp without Composer

On this page you can find all versions of the php package pvpender/git-kphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package git-kphp

Git-KPHP

Total Downloads PHP Version Require

FFI Library for work with Git repository in KPHP.

Download a latest package or use Composer:

Library requires PHP 7.4, the latest version of KPHP and git client (path to Git must be in system variable PATH). Also, if you want use commands, which requires to log in git, you should tune authentication without password using private/public keys or setting -global parameter.

Warning! This is FFI lib. That's mean that some C cod using to normal working. Before proc_open will not support, this library use FFI, that can be very unsafe. Don't use this library if safety is very important to you.

Before starting

This is FFI lib, and it means that you should preload .c files before starting working the library. Don't worry everything already in Systemc class, you only should write:

At the top of your main.php file.

Using

Initialization of empty repository

With parameters:

Cloning of repository

Basic operations

Branches

Tags

History

This functions working by reading files in .git/

Remotes

Based on https://github.com/czproject/git-php


All versions of git-kphp with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pvpender/git-kphp contains the following files

Loading the files please wait ....