Download the PHP package juniyadi/laravel-github-api without Composer

On this page you can find all versions of the php package juniyadi/laravel-github-api. 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 laravel-github-api

Laravel GitHub API Package

A modular, testable, and Laravel-friendly package for interacting with the GitHub API. Provides clean separation of concerns and easy integration via Laravel facades and service providers.

Features

Available Methods

User API

Method Description
me Get authenticated user information
show Get information about a specific user

Repository API

Method Description
getRepositories List repositories for a user
getBranches List branches for a repository
show Show repository or file details
upload Upload a file to a repository
uploadBulk Upload multiple files to a repository
uploadBulkBlob Bulk upload with single commit using Git Data API
delete Delete a file from a repository
deleteBulk Delete multiple files from a repository
deleteBulkBlob Delete multiple files with single commit

Organization API

Method Description
getOrganizationRepositories List repositories for an organization
show Get information about an organization

Issues API

Method Description
getIssues List issues in a repository
createIssue Create a new issue
updateIssue Update an existing issue
getIssueComments Get comments on an issue
createIssueComment Comment on an issue

Pull Requests API

Method Description
getPullRequests List PRs in a repository
createPullRequest Create a new PR
updatePullRequest Update a PR
mergePullRequest Merge a PR
getPullRequestFiles List files in a PR

Releases API

Method Description
getReleases List releases for a repository
getRelease Get a single release
createRelease Create a release
updateRelease Update a release
deleteRelease Delete a release

Search API

Method Description
searchRepositories Search repositories
searchCode Search code
searchUsers Search users
searchIssues Search issues and pull requests

Webhooks API

Method Description
getWebhooks List webhooks for a repository
createWebhook Create a webhook
updateWebhook Update a webhook
deleteWebhook Delete a webhook

Actions API

Method Description
getWorkflows List workflows in a repository
getWorkflowRuns List workflow runs
rerunWorkflow Re-run a workflow
getWorkflowRunLogs Download workflow logs

Projects API

Method Description
getProjects List projects for a repo/org/user
createProject Create a project
updateProject Update a project
deleteProject Delete a project

Teams API

Method Description
getTeams List teams in an organization
createTeam Create a team
updateTeam Update a team
deleteTeam Delete a team
getTeamMembers List team members
addTeamMember Add a team member

Gists API

Method Description
getGists List gists for authenticated user
createGist Create a gist
updateGist Update a gist
deleteGist Delete a gist

Check Runs API

Method Description
getCheckRuns Get check runs for a reference
createCheckRun Create a check run
updateCheckRun Update a check run

Installation

Publish the config file:

Set your GitHub token in config/github.php or your .env:

Usage

Facade Example

Dependency Injection Example

Documentation

Bulk File Operations

See the docs/ directory for detailed usage of each API class.


All versions of laravel-github-api with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^12.0
illuminate/http Version ^12.0
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 juniyadi/laravel-github-api contains the following files

Loading the files please wait ...