Download the PHP package mabolek/google-drive-fal without Composer

On this page you can find all versions of the php package mabolek/google-drive-fal. 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-drive-fal

Google Drive™ Driver for TYPO3's File Abstraction Layer (FAL)

This extension enables you to use files from Google Drive in your TYPO3 projects.

Please note: This extension is still in beta and might not work 100% as expected. Feel free to contribute.

Corresponding folder list in Google Drive and TYPO3 Filelist

Installation

  1. Install the extension using Composer: composer req mabolek/google-drive-fal
  2. Activate the extension in the Extensions module or by running vendor/bin/typo3 extension:activate google_drive_fal

Configuration

Set up Google OAuth Client ID

This a big topic and the detailes are described in detail in Google's documentation.

Here's the simple way:

  1. Click on the Enable Google Docs API button at https://developers.google.com/drive/api/v3/quickstart/js
  2. Download the Client Configuration and save it on the server
  3. Run vendor/bin/typo3 googledrive:setup [PATH-TO-FILE]
  4. You will be prompted to open a URL in your browser. Follow the authentication process in the browser.
  5. Paste in the entire resulting URL when you are prompted to enter the verification link.
  6. The extension will extract the verification code from the URL and (hopefully) tell you it has been successfully configured.

Create a File Storage Record

  1. Create a new File Storage Record in the root page.
  2. Give it a name.
  3. Choose Google Drive™ from the Driver menu.
  4. If you have a lot of files on your drive, we recommend that you supply a root folder identifier so Filelist doesn't have to process them all.
  5. If you do not supply one, the driver will create its own folder for manipulated and temporary images etc. This folder cannot be on the Google Drive itself, so the default is in a folder within typo3temp/assets/.
  6. Save and close.

Example file storage record

If you go to the Filelist module, you should see your Google Drive there.

Limitations

Your drive is not publicly available : TYPO3 will have to download each file to process it. That will work OK for images that are processed, because they are stored elsewhere, but file downloads may be slower than usual. The plan is to add a caching mechanism to make it faster to serve files publicly.

Contribution

This is a hobby project. Feel free to join the project or contibute pull requests of all kinds.

Thanks and Credits

This extension was created by Mathias Bolt Lesniak on his free time.

The original Client and SetupCredentialsCommand classes came from Georg Ringer's google_docs_content extension. That extension was also a major inspiration behind this project, and hopefully this driver will make that extension even better.

The GoogleDriveDriver class would not have been possible without the eye-opening code in Anders und sehr's Amazon S3 Driver.

Trademarks

Google Drive™ and the Google Drive™ logo are trademarks of Google Inc.


All versions of google-drive-fal with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^9.5 || ^10.1
typo3/cms-frontend Version ^9.5 || ^10.1
google/apiclient Version ^2.0
ext-json Version *
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 mabolek/google-drive-fal contains the following files

Loading the files please wait ...