Download the PHP package revolution/laravel-google-photos without Composer

On this page you can find all versions of the php package revolution/laravel-google-photos. 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-google-photos

Google Photos API for Laravel

Maintainability Test Coverage

https://developers.google.com/photos/

Requirements

Versioning

Installation

Get API Credentials

from https://developers.google.com/console

config/google.php

Currently, you can only access files uploaded via the API.

'access_type' => 'offline' is required to obtain a refresh token.

Google Photos API does not support Service Account.

config/service.php for Socialite

.env

Usage example

Currently, Google Photos Library API only allows access to files uploaded via API, so it is difficult to use it freely.

Using it with someone else's account requires review.

It is still possible to upload one-way, so it is best to only use the upload function to your own account.

  1. Enable the Photos Library API in the Google console and add yourself as a test user.
  2. Get refresh_token by Socialite. Save it in the users table.
  3. Upload the photo.

PhotosLibraryClient

This package depends on google/photos-library and automatically delegates to the methods on PhotosLibraryClient.

PagedListResponse

listMediaItems() and listAlbums() return a PagedListResponse, which is basically used with foreach.

Create new album

PhotosLibraryResourceFactory has various creation methods.

Picker

Picker API

LICENSE

MIT


All versions of laravel-google-photos with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0
revolution/laravel-google-sheets Version ^7.0
google/photos-library Version ^1.7
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 revolution/laravel-google-photos contains the following files

Loading the files please wait ....