Download the PHP package itk-dev/azure-ad-delta-sync-drupal without Composer
On this page you can find all versions of the php package itk-dev/azure-ad-delta-sync-drupal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itk-dev/azure-ad-delta-sync-drupal
More information about itk-dev/azure-ad-delta-sync-drupal
Files in itk-dev/azure-ad-delta-sync-drupal
Package azure-ad-delta-sync-drupal
Short Description Azure AD Delta Sync for Drupal
License MIT
Informations about the package azure-ad-delta-sync-drupal
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 lazy services, aDrupal\azure_ad_delta_sync\UserManager
and Drupal\azure_ad_delta_sync\Controller
, which
require generating proxy classes (cf. https://www.webomelette.com/lazy-loaded-services-drupal-8).
Run the following command to update the proxy classes:
Automated tests
Requires a full Drupal installation with the azure_ad_delta_sync_drupal
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.
Markdown files
Code analysis
phpstan is used to perform static analysis of the code. Run the following script:
Rector
Automatic code upgrades
./scripts/rector
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).
All versions of azure-ad-delta-sync-drupal with dependencies
drush/drush Version ^12 || ^13
itk-dev/azure-ad-delta-sync Version ^1.1
symfony/http-client Version ^6.4 || 7.2