PHPackages                             nobrainer-web/silverstripe-bilinfo - 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. nobrainer-web/silverstripe-bilinfo

ActiveSilverstripe-vendormodule

nobrainer-web/silverstripe-bilinfo
==================================

Implementation of the danish Bilinfo GET listings API

1.0.2(3y ago)056BSD-3-ClausePHPCI failing

Since Aug 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nobrainer-web/silverstripe-bilinfo)[ Packagist](https://packagist.org/packages/nobrainer-web/silverstripe-bilinfo)[ RSS](/packages/nobrainer-web-silverstripe-bilinfo/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

silverstripe-bilinfo
====================

[](#silverstripe-bilinfo)

Implementation of the danish Bilinfo GET listings API

The API is very limited as it simply returns a big payload of json with all vehicle listings.

```
composer require nobrainer-web/silverstripe-bilinfo

```

#### Requirements

[](#requirements)

- SilverStripe 4
- PHP 7.3 (for better json\_encode error handling)
- A user at Bilinfo

### API Credentials

[](#api-credentials)

The BilInfo API requires a username and password. You must set these in `.env` with these variables:

- **SS\_BILINFO\_USER**
- **SS\_BILINFO\_PASSWORD**

Example:

- **SS\_BILINFO\_USER='demo'**
- **SS\_BILINFO\_PASSWORD='ocfB6XzF73'**

### Build Tasks

[](#build-tasks)

To pull down data from the BilInfo API and save it, you can use `GetApiDataTask`. This task should probably be run as a cron job, once a day.

Then you would use `GetSinceDaysDataTask` every hour or so, to get latest updated API data. The `?sincedays` param is by default set 1.

### Deletion

[](#deletion)

A Listing is "Sold" when the `ExternalDeletedDate` field is set.

By default automatic clean up of sold listings is enabled. This can be disabled on `Listings::$enabled_automatic_cleanup`.

Run `dev/tasks/bi-cleanup-listings-task` to clean up listings. It will check the `Listings::$deletion_after_days_sold` setting to decide if a Listing should be deleted or not

### A note on DB fields in this module

[](#a-note-on-db-fields-in-this-module)

All fields from the API are strings. Some of these fields are mapped to INT instead.

### TODO

[](#todo)

- Translations and proper strings for equipment names
- Support for Video/360 images
- Support to output other sizes of listing image urls

###  Health Score

27

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 86.3% 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.

###  Release Activity

Cadence

Every ~320 days

Total

4

Last Release

1443d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/def5e7646226b2caed7a8b33f1ec432d631b4eec51ae0d6947fc317ec4e82380?d=identicon)[Nobrainer Web](/maintainers/Nobrainer%20Web)

---

Top Contributors

[![sanderha](https://avatars.githubusercontent.com/u/6941043?v=4)](https://github.com/sanderha "sanderha (44 commits)")[![thomasbnielsen](https://avatars.githubusercontent.com/u/2331955?v=4)](https://github.com/thomasbnielsen "thomasbnielsen (7 commits)")

---

Tags

silverstripebilinfo

### Embed Badge

![Health badge](/badges/nobrainer-web-silverstripe-bilinfo/health.svg)

```
[![Health](https://phpackages.com/badges/nobrainer-web-silverstripe-bilinfo/health.svg)](https://phpackages.com/packages/nobrainer-web-silverstripe-bilinfo)
```

###  Alternatives

[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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