Download the PHP package flex/gitea without Composer

On this page you can find all versions of the php package flex/gitea. 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 gitea

Gitea API Client

This package provides an API client for Gitea API Version 1.

Getting Started

Prerequisites

This package has the following requirements:

Installing

Install latest version via composer:

Basic usage

Run an API call as another user:

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Status of endpoints

Admin

Status Method Endpoint Comment
GET /admin/orgs
GET /admin/users
POST /admin/users
DELETE /admin/users/{username}
PATCH /admin/users/{username}
POST /admin/users/{username}/keys
DELETE /admin/users/{username}/keys/{id}
POST /admin/users/{username}/orgs
POST /admin/users/{username}/repos

Miscellaneous

Status Method Endpoint Comment
POST /markdown
POST /markdown/raw
GET /signing-key.gpg
GET /version

Organization

Status Method Endpoint Comment
POST /org/{org}/repos
POST /orgs
GET /orgs/{org}
DELETE /orgs/{org}
PATCH /orgs/{org}
GET /orgs/{org}/hooks
POST /orgs/{org}/hooks/
GET /orgs/{org}/hooks/{id}
DELETE /orgs/{org}/hooks/{id}
PATCH /orgs/{org}/hooks/{id}
GET /orgs/{org}/members
GET /orgs/{org}/members/{username}
DELETE /orgs/{org}/members/{username}
GET /orgs/{org}/public_members
GET /orgs/{org}/public_members/{username}
PUT /orgs/{org}/public_members/{username}
DELETE /orgs/{org}/public_members/{username}
GET /orgs/{org}/repos
GET /orgs/{org}/teams
POST /orgs/{org}/teams
GET /orgs/{org}/teams/search
GET /teams/{id}
DELETE /teams/{id}
PATCH /teams/{id}
GET /teams/{id}/members
GET /teams/{id}/members/{username}
PUT /teams/{id}/members/{username}
DELETE /teams/{id}/members/{username}
GET /teams/{id}/repos
PUT /teams/{id}/repos/{org}/{repo}
DELETE /teams/{id}/repos/{org}/{repo}
GET /user/orgs
GET /users/{username}/orgs

Issue

Status Method Endpoint Comment
GET /repos/issues/search
GET /repos/{owner}/{repo}/issues
POST /repos/{owner}/{repo}/issues
GET /repos/{owner}/{repo}/issues/comments
DELETE /repos/{owner}/{repo}/issues/comments/{id}
PATCH /repos/{owner}/{repo}/issues/comments/{id}
GET /repos/{owner}/{repo}/issues/comments/{id}/reactions
POST /repos/{owner}/{repo}/issues/comments/{id}/reactions
DELETE /repos/{owner}/{repo}/issues/comments/{id}/reactions
GET /repos/{owner}/{repo}/issues/{index}
PATCH /repos/{owner}/{repo}/issues/{index}
GET /repos/{owner}/{repo}/issues/{index}/comments
POST /repos/{owner}/{repo}/issues/{index}/comments
⛔️ DELETE​ /repos​/{owner}​/{repo}​/issues​/{index}​/comments​/{id} Not supported / Deprecated
⛔️ PATCH​ /repos​/{owner}​/{repo}​/issues​/{index}​/comments​/{id} Not supported / Deprecated
POST /repos/{owner}/{repo}/issues/{index}/deadline
GET /repos/{owner}/{repo}/issues/{index}/labels
PUT /repos/{owner}/{repo}/issues/{index}/labels
POST /repos/{owner}/{repo}/issues/{index}/labels
DELETE /repos/{owner}/{repo}/issues/{index}/labels
DELETE /repos/{owner}/{repo}/issues/{index}/labels/{id}
GET /repos/{owner}/{repo}/issues/{index}/reactions
POST /repos/{owner}/{repo}/issues/{index}/reactions
DELETE /repos/{owner}/{repo}/issues/{index}/reactions
DELETE /repos/{owner}/{repo}/issues/{index}/stopwatch/delete
POST /repos/{owner}/{repo}/issues/{index}/stopwatch/start
POST /repos/{owner}/{repo}/issues/{index}/stopwatch/stop
GET /repos/{owner}/{repo}/issues/{index}/subscriptions
PUT /repos/{owner}/{repo}/issues/{index}/subscriptions/{user}
DELETE /repos/{owner}/{repo}/issues/{index}/subscriptions/{user}
GET /repos/{owner}/{repo}/issues/{index}/times
POST /repos/{owner}/{repo}/issues/{index}/times
DELETE /repos/{owner}/{repo}/issues/{index}/times
DELETE /repos/{owner}/{repo}/issues/{index}/times/{id}
GET /repos/{owner}/{repo}/labels
POST /repos/{owner}/{repo}/labels
GET /repos/{owner}/{repo}/labels/{id}
DELETE /repos/{owner}/{repo}/labels/{id}
PATCH /repos/{owner}/{repo}/labels/{id}
GET /repos/{owner}/{repo}/milestones
POST /repos/{owner}/{repo}/milestones
GET /repos/{owner}/{repo}/milestones/{id}
DELETE /repos/{owner}/{repo}/milestones/{id}
PATCH /repos/{owner}/{repo}/milestones/{id}

Repository

Status Method Endpoint Comment
POST /repos/migrate
GET /repos/search
GET /repos/{owner}/{repo}
DELETE /repos/{owner}/{repo}
PATCH /repos/{owner}/{repo}
⛔️ GET /repos/{owner}/{repo}/archive/{archive} Not supported
GET /repos/{owner}/{repo}/branches
GET /repos/{owner}/{repo}/branches/{branch}
GET /repos/{owner}/{repo}/collaborators
GET /repos/{owner}/{repo}/collaborators/{collaborator}
PUT /repos/{owner}/{repo}/collaborators/{collaborator}
DELETE /repos/{owner}/{repo}/collaborators/{collaborator}
GET /repos/{owner}/{repo}/commits
GET /repos/{owner}/{repo}/commits/{ref}/statuses
GET /repos/{owner}/{repo}/contents
GET /repos/{owner}/{repo}/contents/{filepath}
PUT /repos/{owner}/{repo}/contents/{filepath}
POST /repos/{owner}/{repo}/contents/{filepath}
DELETE /repos/{owner}/{repo}/contents/{filepath}
GET /repos/{owner}/{repo}/editorconfig/{filepath}
GET /repos/{owner}/{repo}/forks
POST /repos/{owner}/{repo}/forks
GET /repos/{owner}/{repo}/git/blobs/{sha}
GET /repos/{owner}/{repo}/git/commits/{sha}
GET /repos/{owner}/{repo}/git/refs
GET /repos/{owner}/{repo}/git/refs/{ref}
GET /repos/{owner}/{repo}/git/tags/{sha}
GET /repos/{owner}/{repo}/git/trees/{sha}
GET /repos/{owner}/{repo}/hooks
POST /repos/{owner}/{repo}/hooks
GET /repos/{owner}/{repo}/hooks/git
GET /repos/{owner}/{repo}/hooks/git/{id}
DELETE /repos/{owner}/{repo}/hooks/git/{id}
PATCH /repos/{owner}/{repo}/hooks/git/{id}
GET /repos/{owner}/{repo}/hooks/{id}
DELETE /repos/{owner}/{repo}/hooks/{id}
PATCH /repos/{owner}/{repo}/hooks/{id}
POST /repos/{owner}/{repo}/hooks/{id}/tests
GET /repos/{owner}/{repo}/keys
POST /repos/{owner}/{repo}/keys
GET /repos/{owner}/{repo}/keys/{id}
DELETE /repos/{owner}/{repo}/keys/{id}
POST /repos/{owner}/{repo}/mirror-sync
GET /repos/{owner}/{repo}/pulls
POST /repos/{owner}/{repo}/pulls
GET /repos/{owner}/{repo}/pulls/{index}
PATCH /repos/{owner}/{repo}/pulls/{index}
GET /repos/{owner}/{repo}/pulls/{index}/merge
POST /repos/{owner}/{repo}/pulls/{index}/merge
GET /repos/{owner}/{repo}/raw/{filepath}
GET /repos/{owner}/{repo}/releases
POST /repos/{owner}/{repo}/releases
GET /repos/{owner}/{repo}/releases/{id}
DELETE /repos/{owner}/{repo}/releases/{id}
PATCH /repos/{owner}/{repo}/releases/{id}
GET /repos/{owner}/{repo}/releases/{id}/assets
⛔️ POST /repos/{owner}/{repo}/releases/{id}/assets Not supported
GET /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
DELETE /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
PATCH /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
GET /repos/{owner}/{repo}/signing-key.gpg
GET /repos/{owner}/{repo}/stargazers
GET /repos/{owner}/{repo}/statuses/{sha}
POST /repos/{owner}/{repo}/statuses/{sha}
GET /repos/{owner}/{repo}/subscribers
GET /repos/{owner}/{repo}/subscription
PUT /repos/{owner}/{repo}/subscription
DELETE /repos/{owner}/{repo}/subscription
GET /repos/{owner}/{repo}/tags
GET /repos/{owner}/{repo}/times
GET /repos/{owner}/{repo}/topics
PUT /repos/{owner}/{repo}/topics
PUT /repos/{owner}/{repo}/topics/{topic}
DELETE /repos/{owner}/{repo}/topics/{topic}
GET /repositories/{id}
GET /topics/search
POST /user/repos

User

Status Method Endpoint Comment
GET /user
GET /user/emails
POST /user/emails
DELETE /user/emails
GET /user/followers
GET /user/following
GET /user/following/{username}
PUT /user/following/{username}
DELETE /user/following/{username}
GET /user/gpg_keys
POST /user/gpg_keys
GET /user/gpg_keys/{id}
DELETE /user/gpg_keys/{id}
GET /user/keys
POST /user/keys
GET /user/keys/{id}
DELETE /user/keys/{id}
GET /user/repos
POST /user/repos
GET /user/starred
GET /user/starred/{owner}/{repo}
PUT /user/starred/{owner}/{repo}
DELETE /user/starred/{owner}/{repo}
GET /user/stopwatches
GET /user/subscriptions
GET /user/teams
GET /user/times

Users

Status Method Endpoint Comment
GET /repos/{owner}/{repo}/times/{user}
GET /users/search
GET /users/{follower}/following/{followee}
GET /users/{username}
GET /users/{username}/followers
GET /users/{username}/following
GET /users/{username}/gpg_keys
GET /users/{username}/heatmap
GET /users/{username}/keys
GET /users/{username}/repos
GET /users/{username}/starred
GET /users/{username}/subscriptions
GET /users/{username}/tokens
POST /users/{username}/tokens
DELETE /users/{username}/tokens/{token}

All versions of gitea with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
guzzlehttp/guzzle Version ^7.3
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 flex/gitea contains the following files

Loading the files please wait ....