Download the PHP package smartfactory/oauth2 without Composer

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

SmartFactory OAuth2 Server

For more details see Presentation and OAuth2 API documentation.

Requirements

Installation

composer.json

To get familiar with the SmartFactory Core and OAuth2 Server do the following:

To start writing own application using SmartFactory OAuth2 Server

  1. Git-clone the demo application SmartFactoryDemo and run 'composer update'.

  2. Study the directory structure of the demo application and the code.

  3. Implement the interfaces IUserAuthenticator and IUserAuthenticator.

  4. Bind you classes to the interfaces in the file initialization_inc.php to be able to use the IoC approach for creating objects offered by the library SmartFactory.

  5. Implement the JSON API request handlers.

  6. Add translation texts for your application over the localization/edit.php or directly into the JSON file localization/texts.json. Use the script localization/check.php to check your translations for missing translations.

Directory Structure

Detailed description

docs

This directory contains the documentation about classes, interfaces and functions of the SmartFactory OAuth2 Server.

src

This is the root directory for all classes and interfaces. The class loader is implemented based on PSR4 approach. You have no need to add additional class loader function.

src/OAuth2

This directory contains the core classes and interfaces of the SmartFactory OAuth2 Server.

src/OAuth2/Interfaces

This directory contains the core interfaces of the SmartFactory OAuth2 Server.


All versions of oauth2 with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
smartfactory/smartfactory Version >=2.1.23
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 smartfactory/oauth2 contains the following files

Loading the files please wait ....