Download the PHP package withfatpanda/auth-plugin-wordpress without Composer

On this page you can find all versions of the php package withfatpanda/auth-plugin-wordpress. 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 auth-plugin-wordpress

Add social login and more to WordPress.

Packagist Patreon

This project is a work in progress. It should be considered an unstable experiment until otherwise advertised herein—not for production use. Thank you.


This plugin expands WordPress' core authentication features:

Features in our roadmap:

This plugin is free to use in any project (public, private, non-profit and for-profit; dual licensed GPLv2 and MIT).

Requirements

Installation

Use Composer to add this plugin as a dependency to your Bedrock-based WordPress installation:

composer require withfatpanda/auth-plugin-wordpress

Configuration

For each third-party service you wish to employ in authentication, you will need a driver, a client ID, and a client secret.

Out of the box, this plugin makes available six drivers: facebook, twitter, linkedin, google, github, and bitbucket.

Note: In addition to these built-in drivers, there are almost 100 socialite drivers available through the community-driven Socialite Providers project, but to use any one of them, you must do some additional setup work (see Using Third-Party Providers below).

For each provider you wish to enable for authentication:

  1. Create a relationship with the provider; for example, if you want to enable Facebook as a login provider, you must first create a Facebook app. This process will be slightly different for each provider, and is beyond the scope of this documentation. Good luck!

  2. Get the public ID and secret key for each of your apps; again, this is outside the scope of this documentation.

  3. Install these values into your Bedrock environment as follows:

    Where FACEBOOK should be the name of the driver you're configuring.

  4. Also in your Bedrock environment, you will need to install a list of the drivers you are using, as follows:

  5. If you haven't done so yet, activate the plugin!

  6. Flush your cached rewrite rules; this plugin adds two rewrite rules—one for inititing the OAuth flow, and another for handling the response from the auth providers. You can flush your rewrite rules with WP-CLI, as follows:

Using Third-Party Providers

To be written.

About This Project

This plugin is the first to be built with the illuminate-wordpress project.

illuminate-wordpress, powered by the Laravel Framework, provides developers with an expressive, beautiful syntax for building faster for WordPress. Extending WordPress' REST API, defining custom data types and taxonomies, querying the database, and much more are all made easier through a semantic, object-oriented API. The objective of illuminate-wordpress is to allow the entire community of Laravel developers to fall in love with WordPress the way that we have fallen in love with Laravel.

This project in particular depends heavily on Laravel Socialite—a library that handles almost all of the boilerplate social authentication code that all developers dread writing.

About Fat Panda

Fat Panda is a software product consultancy located in Winchester, VA. We specialize in Laravel, WordPress, and Ionic. No matter where you are in the development of your product, we'll meet you there and work with you to propel you forward.

Contributing

If you run into a problem using this plugin, please open an issue.

If you want to help make this plugin amazing, check out the help wanted list.

If you'd like to support this and the other open source projects Fat Panda is building, please join our community of supporters on Patreon.


All versions of auth-plugin-wordpress with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
withfatpanda/illuminate-wordpress Version 1.4.*
composer/installers Version ~1.0.12
laravel/socialite Version ^2.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 withfatpanda/auth-plugin-wordpress contains the following files

Loading the files please wait ....