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

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

Azure AD Delta Sync Symfony Bundle

Symfony bundle for Azure AD Delta Sync flow.

Installation

To install run

Usage

Before being able to use the bundle, you must have your own User entity, UserRepository and database setup.

You will need to configure variables for Microsoft groups, the above mentioned User entity and cache pool:

Variable configuration

In /config/packages you need the following itkdev_azure_ad_delta_sync.yaml file:

Here the azure_ad_user_property should be a property on the Azure AD user that is equivalent to the system_user_property, as this is how we compare system users with Microsoft group users. For this reason the comparing property must also be unique.

Listening to DeleteUserEvent

The bundle dispatches a DeleteUserEvent containing a list of user properties (system_user_property) for potential removal. The using system should implement logic to ensure these users are not deleted unintentionally.

Therefore, the using system will need to implement an EventListener or EventSubscriber that listens to the DeleteUserEvent.

Example EventSubscriber

Starting the flow

To start the flow the using system execute the follow CLI command:

It is up to the using system to decide how and when to run this command.

Development Setup

A docker-compose.yml file with a PHP 7.4 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.

Check Coding Standard

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.

Apply Coding Standards

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-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
symfony/framework-bundle Version ^5.2
symfony/yaml Version ^5.2
symfony/console Version ^5.2
doctrine/orm Version ^2.9
symfony/property-access Version ^5.2
itk-dev/azure-ad-delta-sync Version ^1.0
symfony/lock Version ^5.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 itk-dev/azure-ad-delta-sync-bundle contains the following files

Loading the files please wait ....