Download the PHP package johnhearfield/flarum-ext-oauth-google without Composer

On this page you can find all versions of the php package johnhearfield/flarum-ext-oauth-google. 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 flarum-ext-oauth-google

Flarum Google Authenticator

Maintenance PRs Welcome

Allows users to login using their Google Account.

Installation

To install, use composer:

Usage

Setup instructions for Google


  1. Go to the Google API Console: https://console.developers.google.com/project/_/apiui/apis/library
  2. Create a new project in the dropdown at the top and give it a name (eg My Flarum)
  3. Once on the project dashboard, search for Google+ and enable the API
  4. In the sidebar under "API Manager", select Credentials, then select the OAuth consent screen tab.
  5. Choose an Email Address, specify a Product Name, and press Save.
  6. In the Credentials tab, select the New credentials drop-down list, and choose OAuth client ID.
  7. Select Web Application
  8. The Authorized Javascript origin will be your domain: http://flarum.example.com
  9. The Authorised redirect URIs will be http://flarum.example.com/auth/google (notice it ends in /auth/google
  10. From the resulting OAuth client dialog box, you will be able to access the Client ID and the Client Secret will you will need to paste into the settings box on the Flarum extension

Notice The Hosted Domain paramater is for only allowing emails in your Google Apps account access, otherwise you should leave it blank


All versions of flarum-ext-oauth-google with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^0.1.0-beta.5
league/oauth2-google Version ~1.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 johnhearfield/flarum-ext-oauth-google contains the following files

Loading the files please wait ....