Download the PHP package steeinpassport/steein-laravel-oauth without Composer

On this page you can find all versions of the php package steeinpassport/steein-laravel-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 steein-laravel-oauth

Steein OAuth2 Provider for Laravel Socialite

Installation

0. Credentials

Obtain your app ID and secret from www.steein.ru. You must set up a valid name and callback URL.

1. Composer

This assumes that you have composer installed globally:

2. Service Provider

Remove from your array in config\app.php if you have added it already. Add to your array in config\app.php. For example:

3. Add the Event and Listeners

Add event to your array in . Add your listeners (i.e. the ones from the providers) to the that you just created. The listener that you add for this provider is ,.

Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers.

For example:

4. Environment Variables

If you add environment values to your as exactly shown below, you do not need to add an entry to the services array.

Append provider values to your file

Add to .

You do not need to add this if you add the values to the .env exactly as shown above. The values below are provided as a convenience in the case that a developer is not able to use the .env method

Usage

You should now be able to use it like you would regularly use Socialite (assuming you have the facade installed):

Lumen Support

You can use Socialite providers with Lumen. Just make sure that you have facade support turned on and that you follow the setup directions properly.

Note: If you are using this with Lumen, all providers will automatically be stateless since Lumen does not keep track of state.

Also, configs cannot be parsed from the in Lumen. You can only set the values in the file as shown exactly in this document. If needed, you can also override a config (shown below).

Stateless

You can set whether or not you want to use the provider as stateless. Remember that the OAuth provider (Twitter, Tumblr, etc) must support whatever option you choose.

Note: If you are using this with Lumen, all providers will automatically be stateless since Lumen does not keep track of state.


All versions of steein-laravel-oauth with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6 || ^7.0
socialiteproviders/manager Version ~3.0 || v3.0.4
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 steeinpassport/steein-laravel-oauth contains the following files

Loading the files please wait ....