Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexskrypnyk/acm
API credentials manager Drupal module
https://github.com/alexskrypnyk/acm
api drupal third-party
Last synced: 4 months ago
JSON representation
API credentials manager Drupal module
- Host: GitHub
- URL: https://github.com/alexskrypnyk/acm
- Owner: AlexSkrypnyk
- License: gpl-3.0
- Created: 2020-10-08T22:16:19.000Z (over 4 years ago)
- Default Branch: 2.x
- Last Pushed: 2024-02-02T09:05:09.000Z (about 1 year ago)
- Last Synced: 2024-05-21T04:50:56.600Z (9 months ago)
- Topics: api, drupal, third-party
- Language: PHP
- Homepage: https://www.drupal.org/project/acm-0
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
API credentials manager
[![GitHub Issues](https://img.shields.io/github/issues/AlexSkrypnyk/acm.svg)](https://github.com/AlexSkrypnyk/acm/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/AlexSkrypnyk/acm.svg)](https://github.com/AlexSkrypnyk/acm/pulls)
[![CircleCI](https://circleci.com/gh/AlexSkrypnyk/acm.svg?style=shield)](https://circleci.com/gh/AlexSkrypnyk/acm)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/AlexSkrypnyk/acm)
![LICENSE](https://img.shields.io/github/license/AlexSkrypnyk/acm)
![Renovate](https://img.shields.io/badge/renovate-enabled-green?logo=renovatebot)![Drupal 9](https://img.shields.io/badge/Drupal-9-blue.svg) ![Drupal 10](https://img.shields.io/badge/Drupal-10-blue.svg)
---
Drupal module to manage API credentials between environments.
## Use case
## Features
- Flexible API to define environments, endpoints and credentials fields.
- Integration with [Encrypt](https://www.drupal.org/project/encrypt) module (and [Key](https://www.drupal.org/project/key) module by extent).## Local development
Provided that you have PHP installed locally, you can develop an extension using
the provided scripts.### Build
Run `.devtools/build-codebase.sh` (or `ahoy build-codebase`
if [Ahoy](https://github.com/ahoy-cli/ahoy) is installed) to start inbuilt PHP
server locally and run the same commands as in CI, plus installing a site and
your extension automatically.### Code linting
Run tools individually (or `ahoy lint` to run all tools
if [Ahoy](https://github.com/ahoy-cli/ahoy) is installed) to lint your code
according to
the [Drupal coding standards](https://www.drupal.org/docs/develop/standards).```
cd buildvendor/bin/phpcs
vendor/bin/phpstan
vendor/bin/rector --clear-cache --dry-run
vendor/bin/phpmd . text phpmd.xml
vendor/bin/twigcs
```- PHPCS config: [`phpcs.xml`](phpcs.xml)
- PHPStan config: [`phpstan.neon`](phpstan.neon)
- PHPMD config: [`phpmd.xml`](phpmd.xml)
- Rector config: [`rector.php`](rector.php)
- TwigCS config: [`.twig_cs.php`](.twig_cs.php)### Tests
Run `.devtools/test.sh` (or `ahoy test`
if [Ahoy](https://github.com/ahoy-cli/ahoy) is installed) to run all test for
your extension.### Browsing SQLite database
To browse the contents of created SQLite database
(located at `/tmp/site_[EXTENSION_NAME].sqlite`),
use [DB Browser for SQLite](https://sqlitebrowser.org/).