Download the PHP package itk-dev/azure-ad-delta-sync without Composer

On this page you can find all versions of the php package itk-dev/azure-ad-delta-sync. 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 azure-ad-delta-sync

Azure AD Delta Sync

Composer package for the Azure AD Delta Sync flow.

Usage

If you are looking to use this in a Symfony or Drupal project you should use either:

Direct installation

To install this package directly run

Flow

To start the flow one needs to call the Controller run(HandlerInterface $handler) command.

Therefore, you must create your own handler that implements HandlerInterface.

Example Usage

To start the flow provide a HTTP Client that implements PSR-18 CLientInterface, and the required options seen in the example beneath.

Note that this example uses Guzzle HTTP Client. For a list of PSR-18 implementing libraries click here.

General comments

Note that this package does not do the synchronization of users, instead it provides a list of all users that currently has access to the system in question.

Should the configured system contain no users an exception will be thrown. This is to avoid using systems to be under the impression that every single user should be deleted.

Development Setup

A docker-compose.yml file with a PHP 8.2 image is included in this project. To install the dependencies you can run

Unit Testing

We use PHPUnit for unit testing. To run the tests:

The test suite uses Mocks for generation of test doubles.

Coding Standard

PHP files (PHP_CodeSniffer)

Check PHP coding standards

Apply coding standard changes

Markdown files

GitHub Actions

All code checks mentioned above are automatically run by GitHub Actions when a pull request is created.

To run the actions locally, install act and run

Use act -P ubuntu-latest=shivammathur/node:focal pull_request --list to see individual workflow jobs that can be run, e.g.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details


All versions of azure-ad-delta-sync with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
symfony/options-resolver Version ^5.4 || ^6.0
psr/http-client Version ^1.0
nyholm/psr7 Version ^1.4
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 itk-dev/azure-ad-delta-sync contains the following files

Loading the files please wait ....