Download the PHP package liblynx-llc/liblynx-connect-php without Composer

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

liblynx-connect-php

Latest Version on Packagist Build Status Coverage Status Quality Score Total Downloads

This is a PHP client library for the LibLynx Connect identity and access management API. The API allows a publisher to control access to electronic resources without being concerned about the method used, e.g. IP, Shibboleth, SAML, OpenID Connect etc.

This library is open source, but access to the API requires a commercial agreement with LibLynx - contact us at [email protected] to discuss your requirements.

Install

Via Composer

Setting API credentials

In order to use this, you will need an API client id and client secret from LibLynx. These can be passed to the API client in one of two ways

Set API credentials through environment variables

You can set the following environment variables to avoid placing credentials in your code

Set API credentials through code

Alternatively, you can set the credentials directly, e.g.

Caching

To work as efficiently as possible, the client caches API responses such as the entrypoint resource. Any PSR-16 compatible cache can be used, for example symfony/cache

For testing, you could use the ArrayCache from symfony/cache - install as follows:

Then create and use an ArrayCache as follows

Diagnostic logging

Detailed information on API usage can be obtained by passing a PSR-3 compatible logger to the client. This package includes a useful DiagnosticLogger class which can be used to store logs and then output them for console or HTML reading.

Examples

A simple integration involves obtaining an account from data provided in the current request superglobals

See the examples folder for other examples:

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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


All versions of liblynx-connect-php with dependencies

PHP Build Version
Package Version
Requires php Version ~7.0
guzzlehttp/guzzle Version ^6.3
kamermans/guzzle-oauth2-subscriber Version ^1.0
kevinrob/guzzle-cache-middleware Version ^3.2
psr/log Version ^1.0
psr/simple-cache Version ^1.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 liblynx-llc/liblynx-connect-php contains the following files

Loading the files please wait ....