Download the PHP package wolfpack-it/yii2-oauth without Composer

On this page you can find all versions of the php package wolfpack-it/yii2-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 yii2-oauth

OAuth2 Server module for Yii2

This extension provides The PHP League: OAuth 2.0 Server module for the Yii2 Framework.

The PHP League: OAuth 2.0 Server is a package that makes setting up a OAuth2 server easy.

Installation

The preferred way to install this extension is through composer.

Either run

or add

to the require section of your composer.json file.

Configuring

Configure module

The basic configuration is a module in your application:

See the public variables of the Module for the full configuration options.

An example on how to generate keys can be found here.

Whenever the AccessTokenService is being injected via DI, the module needs to be added to the bootstrap of the application.

Running migrations

The migrations can be ran automatically by adding them to the migration namespaces:

To get this working, you will need to add an alias:

If you want to override the database connection in the migrations, you will need to bootstrap the oauth module also in the console.

Add routes

To have the module accessible, make sure the correct routes are set in your urlManager.

For example when your module is called oauth:

TODO

Credits

License

The MIT License (MIT). Please see LICENSE for more information.


All versions of yii2-oauth with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
jc-it/yii2-blameable-behavior Version ^1.0.0
jc-it/yii2-timestamp-behavior Version ^1.0.0
kartik-v/yii2-builder Version ^1.6.5
kartik-v/yii2-icons Version ^1.4.5
league/oauth2-server Version ^8.5.2
lcobucci/jwt Version ^5.2.0
sam-it/yii2-magic Version ^2.2.0
unclead/yii2-multiple-input Version ^2.21.3
yiisoft/yii2-bootstrap4 Version ~2.0.1
yiisoft/yii2 Version ~2.0.19
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 wolfpack-it/yii2-oauth contains the following files

Loading the files please wait ....