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.
Download itk-dev/azure-ad-delta-sync
More information about itk-dev/azure-ad-delta-sync
Files in itk-dev/azure-ad-delta-sync
Package azure-ad-delta-sync
Short Description For this package there is no description available.
License
Informations about the package azure-ad-delta-sync
Azure AD Delta Sync for Drupal
Drupal module for Azure AD Delta Sync.
Installation
Go to /admin/config/azure_ad_delta_sync
to set up the module.
You will probably want to add Azure api keys in settings.local.php
, i.e.
Furthermore, you may want to install the Config
Ignore module and ignore the
azure_ad_delta_sync.settings
config if committing config to a version control
system.
Usage
A cron job should run the following command at regular intervals:
Run vendor/bin/drush azure_ad_delta_sync:run --help
for details on the command.
Development
For development you need a full Drupal project. See itk-dev/azure-ad-delta-sync-drupal-test for an example.
We use a lazy services, azure_ad_delta_sync.user_manager
(Drupal\azure_ad_delta_sync\UserManager
) and azure_ad_delta_sync.controller
(Drupal\azure_ad_delta_sync\Controller
), , which requires generating a prozy
class (cf. https://www.webomelette.com/lazy-loaded-services-drupal-8).
Run the following commands to update the proxy classes:
Automated tests
Requires a full Drupal installation with the azure_ad_delta_sync
module in the
web/modules/contrib
folder.
Coding standards
The code follows the Drupal Coding
Standards (cf.
phpcs.xml.dist
) and can be checked by running
Use
to automatically fix some coding standard violations.
Code analysis
drupal-check is used to perform static analysis of the code. Run
GitHub Actions
We use GitHub Actions to check coding
standards, perform code analysis and run automated tests whenever a pull request
is made (cf. .github/workflows/pr.yaml
).
Before making a pull request you can run the GitHub Actions locally to check for any problems:
Install act
and run
(cf. https://github.com/shivammathur/setup-php#local-testing-setup).