Download the PHP package exceed/exauth-oauth without Composer

On this page you can find all versions of the php package exceed/exauth-oauth. 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 exauth-oauth

exauth-oauth

Social login (Google) for exAuth — the CodeIgniter 4 authentication library.

Status: Phase 1 — Google only. GitHub / Facebook will follow in phase 2. Compatible with exceed/exauth ^1.4.

This is a separate package — it does NOT modify the core exceed/exauth library. It only adds an OAuth identity type, controllers, routes, and a service.

Features

Install

Setup

Option A — Automatic (recommended)

This creates app/Config/OAuth.php with the correct Config namespace that extends the package base config. Use -f to overwrite an existing file.

Option B — Manual

Create app/Config/OAuth.php (must use the Config namespace and extend the package base config — NOT a plain copy of the vendor file, which would clash):

⚠️ Do NOT cp vendor/exceed/exauth-oauth/src/Config/OAuth.php app/Config/OAuth.php as-is — that file uses namespace exAuthOauth\Config, which collides with the package's own class and causes a fatal error. Always create the app config with namespace Config and extends exAuthOauth\Config\OAuth (the publish command does this for you).

  1. Fill in your Google credentials (from Google Cloud Console) in the google array above.

  2. Register the routes in app/Config/Routes.php:

service('oauth') returns the exAuthOauth\Auth facade (which has oauthRoutes()). The OAuth provider itself is service('oauthProvider').

  1. Add the button to your login view:

The button only appears when enabled = true in app/Config/OAuth.php. When disabled, the snippet returns an empty string — no need to remove the code.

How it works

Security

Risk Mitigation
CSRF on callback Required state (checked against session)
Account takeover Account linking required, no auto-create
Token too long Stored in extras (TEXT)

Managing links via CLI

Roadmap

Guide

License

MIT


All versions of exauth-oauth with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
exceed/exauth Version ^1.4
league/oauth2-google Version ^4.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 exceed/exauth-oauth contains the following files

Loading the files please wait ...