Download the PHP package obrio-team/google-api-client without Composer

On this page you can find all versions of the php package obrio-team/google-api-client. 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 google-api-client

Google-api-client

PHP package to manage google-api interactions

Supports:

Installation

Config:

Google drive service

Method Arguments Output Description
getFile string $fileId, array $optionalParam = [] ?Google_Service_Drive_DriveFile Get single Google drive file by its ID or null.
createFile Google_Service_Drive_DriveFile $file, array $optionalParams = [] ?Google_Service_Drive_DriveFile Try to create file with locally created DriveFile object
updateFile string $fileId, Google_Service_Drive_DriveFile $file, array $optionalParams = [] ?Google_Service_Drive_DriveFile Try to update file with locally created DriveFile object
getFilteredFileList ?string $folderId = null, bool $deepPagination = false, ?GoogleItemRuleStrategyInterface ...$itemRuleStrategies array Get list of files. If set deepPagination=true all files through google pagination will be matched. Also you can perform filtering by various strategies
exportFileContent string $fileId, string $mimeType = 'text/plain', array $optionalParams = [] \GuzzleHttp\Psr7\Request Get content of GoogleDoc file in desired format by file ID
getNonGoogleDocsFileContent string $fileId \GuzzleHttp\Psr7\Request Get contents of non-GoogleDoc file by file ID
changeFileStatus Google_Service_Drive_DriveFile $file, ContentStatusAbstract $targetStatus ?Google_Service_Drive_DriveFile Try to update file name with status using GoogleItemStatusService

Google spreadsheet service

Method Arguments Output Description
getJustNewValues string $spreadsheetId, string $range = '' GoogleSheetValuesResponse Get only updated values as DTO with key=>value array
getSheets string $spreadsheetId GoogleSheetSheetsResponse Get DTO with list of spreadsheet sheets
getValues string $spreadsheetId, ?string $sheetTitle = null, string $range = '' GoogleSheetValuesResponse Get sheet values as DTO with key=>value array. If no sheetTitle defined - getting values from first sheet in spreadsheet. Specific range can set.
updateField string $spreadsheetId, UpdateFieldRequest $updateFieldRequest Google_Service_Sheets_UpdateValuesResponse Update single cell value
updateRange string $spreadsheetId, UpdateRangeRequest $updateRangeRequest Google_Service_Sheets_UpdateValuesResponse Update range request in specified sheet.
addSpreadsheetPage string $spreadsheetId, AddSpreadsheetPageRequest $addSpreadsheetPageRequest Google_Service_Sheets_BatchUpdateSpreadsheetResponse Add new sheet to the spreadsheet.
appendDimensionToSpreadsheetPage string $spreadsheetId, AppendDimensionToSpreadsheetPageRequest $appendDimensionToSpreadsheetPageRequest Google_Service_Sheets_BatchUpdateSpreadsheetResponse Append colimns or rows to the specific sheet of the spreadsheet.
createGoogleSpreadsheet string $name, ?string $parentFolderId = null Google_Service_Sheets_Spreadsheet Create new spreadsheet file in defined parent folder.
appendRows string $spreadsheetId, AppendRowsRequest $appendRowsRequest Google_Service_Sheets_AppendValuesResponse Append one or more rows to the end of table on spreadsheet.

Hints

To get all mentioned ...Request DTOs use this factories:


All versions of google-api-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
google/apiclient Version 2.15.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 obrio-team/google-api-client contains the following files

Loading the files please wait ....