Download the PHP package crevillo/ezsocialloginbundle without Composer

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

Ez Social Login Bundle

Build StatusLatest Stable Version

The eZ Social Login Bundle adds support for authenticating users via OAuth1.0a or OAuth2 in eZ Platform.

It just uses HwiOauthBundle, so you can refer to this documentation bundle to know how it internally works.

Installation

You can install this project via composer:

Documentation

You can use any of the social networks listed in HwiOauthBundle documentation. Please refer to that bundle in order to know how you can configure any of them.

Setting up this bundle

A) Add EzSocialLoginBundle to your project

B) Enable the bundle

Enable the bundle in the kernel, you will also need to enable HwiOauthBundle

C) Import the routing

Import the redirect.xml and login.xml routing files in your own routing file.

Note:

The bundle will override default user login template provided by EzPublishCoreBundle. It might happen that you won't see any changes if any of your others bundles does that too. So, if you already have a customized login template, just add these lines anywhere in your content block of your template.

D) Configure Google resource owner

You will need to modify your config.yml file adding

Next, you can add your google app information and options under hwi_oauth > resource_owners settings

E) Configuring the Security Layer

The bundle needs a service that is able to load users based on the user response of the oauth endpoint. It should implement the interface: . This bundle provides this service as an starting point, but you are free to create your own.

Our UserProvider will try to get the username from the social network. If there as already any user in the eZ Platform repository with this username, it will just return it.

If there is no user having that username, it will try to create a new one under your "Guest Accounts" user group and will also log in it.

F) Configure the oauth firewall

In the firewall configuration you will need to configure a login path for the resource owners you have configured previously. Additionally you will need to point the oauth firewall to the service this bundle provides:

Finally the paths you have defined in the previous step for your resource_owners must be adding to your routing.

That's it!. Feel free to try any other social networks!.


All versions of ezsocialloginbundle with dependencies

PHP Build Version
Package Version
Requires ezsystems/ezpublish-kernel Version 7.*
hwi/oauth-bundle Version 0.6.*
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 crevillo/ezsocialloginbundle contains the following files

Loading the files please wait ....