Download the PHP package gmaissa/redmine-user-provider-bundle without Composer

On this page you can find all versions of the php package gmaissa/redmine-user-provider-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 redmine-user-provider-bundle

RedmineUserProviderBundle Packagist

master SensioLabsInsight Scrutinizer Build Status Code Coverage

About

A bundle to use Redmine as a user provider.

Installation

The recommended way to install this bundle is through Composer. Just run :

Register the bundle in the kernel of your application :

Use the Redmine user provider in your security.yml file :

Configuration reference

Persist your User

User entity class

Implement your own User Entity class, extending GMaissa\RedmineUserProviderBundle\Entity\User and declare it in the bundle configuration :

Using a provided user repository

Enable the provided persistence driver you want to use (for now only Doctrine ORM is provided) :

Using a custom user repository

Implements the GMaissa\RedmineUserProviderBundle\Repository\UserRepositoryInterface interface for your repository serviceand tag is as agm_redmine_user_provider.user_repository :

Using with FOSOAuthServerBundle

Enable the OAuth Server Bridge :

You can now use the OAuth Storage service gm_redmine_user_provider.bridge.oauth.storage :

Implementing your own User Factory

If you want to use a custom User Factory, implement the GMaissa\RedmineUserProviderBundle\Factory\UserFactoryInterface interface, register your service and alias it as gm_redmine_user_provider.factory.user.

Using your own Redmine Api Client

Like the custom User Factory, implement the GMaissa\RedmineUserProviderBundle\ApiClient\RedmineApiClientInterface interface, register your service and alias it as gm_redmine_user_provider.api.client.

Running tests

Install the dev dependencies :

composer install --dev

Run PHPUnit test suite :

Contributing

In order to be accepted, your contribution needs to pass a few controls :

To ease the validation process, install the pre-commit framework and install the repository pre-commit hook :

pre-commit install

Finally, in order to homogenize commit messages across contributors (and to ease generation of the CHANGELOG), please apply this git commit message hook onto your local repository.

License

This bundle is released under the MIT license. See the complete license in the bundle:


All versions of redmine-user-provider-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
psr/log Version ^1.0
symfony/framework-bundle Version ^3.0
kbsali/redmine-api Version ^1.5
doctrine/collections Version ^1.4
symfony/yaml Version ^3.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 gmaissa/redmine-user-provider-bundle contains the following files

Loading the files please wait ...