Download the PHP package ashus/google-addressbook without Composer

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

Google Addressbook Plugin for Roundcube

This plugin lets you sync your Google Addressbook in readonly mode with Roundcube.

Info: Initially stwa created this plugin for Roundcube 0.8.5, but it is still working properly with the current version of Roundcube (version 1.6.0). So yes, you can still use this plugin, it's up to date!

Requirements

Installation

Use Composer 2 for installation.

Run composer require ashus/google-addressbook.

Do not forget to create the database table using the SQL from SQL/

Command Line

It is possible to sync the addressbooks via command line.
To do this, you just have to run the script "sync-cli.sh".
This syncs the addressbooks of all users who have enabled google addressbook plugin in their settings.

You can also use crontab to sync the addressbooks periodically.
Just specify an entry like:
0 /4 /path/to/roundcube/plugins/google_addressbook/sync-cli.sh
(Every 4 hours in this example)

Own Google Application

You need to register your plugin with Google to customize the application name that is presented to users when requesting access to contacts. For this, you have to register at https://console.cloud.google.com/ and create a project for your roundcube installation. After enabling OAuth 2.0 Client ID credentials, you would get an application name, a client id and a secret. Ensure to allow redirect to https://your-rc-base..../?_task=settings&_action=plugin.google_addressbook.auth when you create the Web Application credential and also store this to google_addressbook_client_redirect_url. Alternatively you can create an Other credential, but then disable google_addressbook_client_redirect. Anyhow remember to enable Google People API for that project. Put all these values in a file named config.inc.php inside the config folder like this:

Be aware that all existing oauth tokens will not work any more and the users have to request a new access token from Google. So you might want to do this change in a new installation only.

Contact

Author: Stefan Wagner ([email protected])

Bug reports through github:
https://github.com/stwa/google-addressbook/issues

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see www.gnu.org/licenses/.


All versions of google-addressbook with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
ext-json Version *
roundcube/plugin-installer Version ^0.3
google/apiclient Version ^2.12
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 ashus/google-addressbook contains the following files

Loading the files please wait ....