PHP interacts with git. Is there any inherited class library?

WBOY
Release: 2016-08-08 09:06:54
Original
940 people have browsed it

I want to build an online work platform. I mainly use git to track work status, and use php in the background. Is there any integrated class library in php to operate git?
Or can I just use the PHP functions exec and system to execute the command?

Reply content:

I want to build an online work platform. I mainly use git to track work status, and use php in the background. Is there any integrated class library in php to operate git?
Or can I just use the PHP functions exec and system to execute the command?

Git is just a version control tool.
No need to inherit anything.
You only need to write your php
and then use git to upload the code.
The following article will help you use git:
http://blog.jobbole.com/78960/

GitList , gitLab, GitManager and other projects seem to implement similar functions.
Also, please refer to:
http://www.oschina.net/news/5...

PHP doesn’t seem to be integrated, but you can just pick an open source project you like and modify it.

Check out this php-git

klaussilveira/gitter
https://github.com/klaussilve...

kbjr/Git.php
https://github.com/kbjr/Git.php

Provides interaction between PHP and Git

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!