PHPackages                             dimug/api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dimug/api

ActiveLibrary[API Development](/categories/api)

dimug/api
=========

Basic, silex based, implementation of the API for diMuG (digital Museums Guide)

012PHP

Since Nov 10Pushed 12y ago1 watchersCompare

[ Source](https://github.com/diMuG/API)[ Packagist](https://packagist.org/packages/dimug/api)[ RSS](/packages/dimug-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

diMuG API
---------

[](#dimug-api)

[![Build Status](https://camo.githubusercontent.com/a16264f270ace1222001c2d730b84cac31c97c520a7a18269d44ce0b07826241/68747470733a2f2f7472617669732d63692e6f72672f64694d75472f4150492e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/diMuG/API)[![Coverage Status](https://camo.githubusercontent.com/74b0dbd1850a81b87e6138efdeb41e58c1b79a25f04de7cff426d825956072b4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f64694d75472f4150492f62616467652e706e67)](https://coveralls.io/r/diMuG/API)

This is an sample implementation of an API to provide a data source for diMuG - the digital Museums Guide. It's based on [silex](https://github.com/silexphp/Silex "Silex").

Installation
------------

[](#installation)

1. Install [composer](http://getcomposer.org/download/ "composer") or just run the following command:

```
    curl -s http://getcomposer.org/installer | php

```

2. Add following to your **composer.json** and run composer install.

```
    "require" : {
        "dimug/api": "dev-master"
    }

```

3. Run the additional install script via the console by running the following command:

```
    vendor/bin/dimug api:install

```

or if you prefer Deutsch:

```
    vendor/bin/dimug api:install de

```

How to connect your data source
-------------------------------

[](#how-to-connect-your-data-source)

1. Create a class which implements the **diMuG\\APIv1\\Interfaces\\FinderInterface**.
2. Create a class which implements the **diMuG\\APIv1\\Interfaces\\GlossaryInterface**.
3. Use the PHPUnit test skeleton files in the dir **tests** to test your classes.
4. Edit the configuration files **config/configuration.yml** and **config/security.yml** so that they represent your data. Use the following console command to test your configuration files:

```
    vendor/bin/dimug api:validate

```

or if you prefer Deutsch:

```
    vendor/bin/dimug api:validate de

```

6. If everything is working, upload your files to your webserver and point your web-root to **web**. For further configuration details look into the [silex documenation](http://silex.sensiolabs.org/doc/web_servers.html "silex documenation").

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec28c899a8473452780b021dcc40acc79435ed1c16e49810e16aa719bd708f88?d=identicon)[geissler](/maintainers/geissler)

---

Top Contributors

[![geissler](https://avatars.githubusercontent.com/u/535572?v=4)](https://github.com/geissler "geissler (12 commits)")

### Embed Badge

![Health badge](/badges/dimug-api/health.svg)

```
[![Health](https://phpackages.com/badges/dimug-api/health.svg)](https://phpackages.com/packages/dimug-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
