Download the PHP package kr-digital/oauth2-bundle without Composer

On this page you can find all versions of the php package kr-digital/oauth2-bundle. 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 oauth2-bundle

Trikoder OAuth 2 Bundle

Build Status Latest Stable Version License Code coverage

Symfony bundle which provides OAuth 2.0 authorization/resource server capabilities. The authorization and resource server actors are implemented using the thephpleague/oauth2-server library.

Important notes

This bundle provides the "glue" between thephpleague/oauth2-server library and Symfony. It implements thephpleague/oauth2-server library in a way specified by its official documentation. For implementation into Symfony project, please see Symfony security documentation.

Status

This package is currently in the active development.

Features

Requirements

Installation

  1. Require the bundle and a PSR 7/17 implementation with Composer:

    If your project is managed using Symfony Flex, the rest of the steps are not required. Just follow the post-installation instructions instead! :tada:

    NOTE: This bundle requires a PSR 7/17 implementation to operate. We recommend that you use nyholm/psr7. Check out this document if you wish to use a different implementation.

  2. Create the bundle configuration file under config/packages/trikoder_oauth2.yaml. Here is a reference configuration file:

  3. Enable the bundle in config/bundles.php by adding it to the array:

  4. Update the database so bundle entities can be persisted using Doctrine:

  5. Import the routes inside your config/routes.yaml file:

You can verify that everything is working by issuing a POST request to the /token endpoint.

❮ NOTE ❯ It is recommended to control the access to the authorization endpoint so that only logged in users can approve authorization requests. You should review your security.yml file. Here is a sample configuration:

Configuration

Development

Docker 18.03+ and Docker Compose 1.13+ are required for the development environment.

Building the environment

Make sure your Docker images are all built and up-to-date using the following command:

NOTE: You can target a different version of PHP during development by appending the --build-arg PHP_VERSION=<version> argument.

After that, install all the needed packages required to develop the project:

Testing

You can run the test suite using the following command:

Debugging

You can run the debugger using the following command:

Make sure your IDE is setup properly, for more information check out the dedicated documentation.

Code linting

This bundle enforces the PSR-2 and Symfony code standards during development using the PHP CS Fixer utility. Before committing any code, you can run the utility so it can fix any potential rule violations for you:

Changes

All the package releases are recorded in the CHANGELOG file.

Reporting issues

Use the issue tracker to report any issues you might have.

License

See the LICENSE file for license rights and limitations (MIT).


All versions of oauth2-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
doctrine/doctrine-bundle Version ^1.8
doctrine/orm Version ^2.6
league/oauth2-server Version ^7.2
psr/http-factory Version ^1.0
sensio/framework-extra-bundle Version ^5.3
symfony/framework-bundle Version ^3.4|^4.2
symfony/psr-http-message-bridge Version ^1.2
symfony/security-bundle Version ^3.4|^4.2
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 kr-digital/oauth2-bundle contains the following files

Loading the files please wait ....