Download the PHP package jonnx/laravel-spark-sso without Composer

On this page you can find all versions of the php package jonnx/laravel-spark-sso. 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 laravel-spark-sso

Laravel Spark SSO

This package manges the OAuth handshake with Google so people can join you Laravel Spark based project even faster. Teams can configure their SSO domain so if they use GMail for their business, every new signup from that company will be added to the team automatically. This is a great way to reduce onboarding hurdles and eliminates the need for people to remember another password.

Once installed and configured, users will be able to join and login by going to the following url:

Getting Started

Install the package

This will install the package and its dependencies which includes the
library to hanle the OAuth handshake with a number of providers.

Register Package ServiceProviders

To achieve this, update your file by adding the following lines

also add the following aliases

Update configuration

In order for Google to perform the handshake, you need a client and secret from their developer console. Once you have those keys, add the following lines to the file:

Add SSO Settings Link for Your Team Owners

Your team owners will be able to edit their SSO setting independently at for them to get to that url you should add the link to your project where they can find it. I recommend adding a link to the existing membership page in the Laravel Spark settings or adding it to the existing drop down menu in the

In a future release I would like to be able to automatically inject this link but for now it is up to the developer to do so.

Customizing the SSO Settings Screen

There is a view file that the owners of your teams can use to confiure their SSO email domain. If you want to change this template, simply publish the vendor files and edit the file in .


All versions of laravel-spark-sso with dependencies

PHP Build Version
Package Version
Requires laravel/socialite Version ^4.0|^5.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 jonnx/laravel-spark-sso contains the following files

Loading the files please wait ....