Download the PHP package dmlogic/photo-indexer without Composer

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

Google Photos Indexer

A Laravel package providing console commands to maintain a local copy of a Google Photos account. Also has endpoints for setting up OAuth access via a couple of localhost routes.

This can serve as both a backup and, by using the Slideshow tool, a rolling randomised display on your TV or photo frame.

The indexer is only interested in photos you have placed in an album. The intention is that you have to denote the image as "special" enough to copy down. That way random phone shots that get sync'd don't make the cut.

Installation

As a package, this requires a host Laravel app. I really hate dealing with laravel/laravel as a container for my code, so there is a build script to quickly consume this package from a functioning App based on the latest available Laravel skeleton. This keeps the codebase clean and makes life massively easier at upgrade time.

  1. Create suitable host hardware and OS. A Raspberry PI with a large storage card is perfect
  2. Clone this repo
  3. Copy .env.template to .env and adjust as required - particularly the full path to photo storage (which should really be totally separate from this code)
  4. Setup OAuth access to your App and download credentials to credentials.json in this folder
  5. Run ./build.sh
  6. cd into build and run php artisan serve
  7. In your browser visit http://127.0.0.1/oauth/start and complete the oauth process
  8. Setup a CRON command to index daily. e.g. 0 1 * * * cd /full/path/to/project/build && php artisan photos:index

Upgrade and maintenance

You can pretty much follow the above providing you don't trash your data. Recommended process:

License

This code is open-sourced software licensed under the MIT license.


All versions of photo-indexer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
google/apiclient Version ^2.12
google/photos-library Version ^1.7
intervention/image Version ^2.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 dmlogic/photo-indexer contains the following files

Loading the files please wait ....