PHPackages                             diglin/ricardo - 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. diglin/ricardo

AbandonedArchivedLibrary[API Development](/categories/api)

diglin/ricardo
==============

PHP Library to get access to the Ricardo.ch API

1.2.3(8y ago)156292[1 issues](https://github.com/diglin/ricardo/issues)PHPPHP &gt;=5.3.2

Since Oct 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/diglin/ricardo)[ Packagist](https://packagist.org/packages/diglin/ricardo)[ Docs](http://www.diglin.com)[ RSS](/packages/diglin-ricardo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (37)Used By (0)

Introduction
============

[](#introduction)

The Diglin ricardo.ch source code is a PHP Library to get access to the ricardo.ch API which is a .NET Webservice sending Json or SOAP requests. With this library we handle only json requests.

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

[](#installation)

### Install for custom framework

[](#install-for-custom-framework)

To start you have to include in your PHP include path, the folder of your library folder where you are going to install this library and then set the autoloader. Here is an example with a provided autoloader:

```
require_once __DIR__ . '/src/SplAutoloader.php';
$autoload = new SplAutoloader(null, realpath(dirname(__DIR__) . '/src'));
$autoload->register();

```

### Install via Composer

[](#install-via-composer)

Add the following requirements into your composer.json at root project level. You do not need to add an autoloader, composer will handle it for you if your application is compatible with it.

```
 {
    "require" : {
        "diglin/ricardo": "1.*"
    },
    "repositories" : [
        {
            "type": "vcs",
            "url": "git@github.com:diglin/ricardo.git"
        }
    ]
 }

```

### Magento Composer Installer

[](#magento-composer-installer)

In your `composer.json` at the Magento project level, you will have to set the following informations:

```
{
   "require" : {
       "magento-hackathon/magento-composer-installer" : "*",
       "diglin/ricardo": "1.*"
   },
   "repositories" : [
   	{
           "type" : "composer",
           "url" : "http://packages.firegento.com"
       },
       {
           "type": "vcs",
           "url": "git@github.com:diglin/ricardo.git"
       }
   ],
   "extra" : {
       "magento-root-dir" : "./"
   },
   "scripts": {
       "post-package-install": [
           "Diglin\\Ricardo\\Composer\\Magento::postPackageAction"
       ],
       "post-package-update": [
           "Diglin\\Ricardo\\Composer\\Magento::postPackageAction"
       ],
       "pre-package-uninstall": [
           "Diglin\\Ricardo\\Composer\\Magento::cleanPackageAction"
       ]
   }
}

```

How to use it
-------------

[](#how-to-use-it)

TODO

Tests
-----

[](#tests)

### How to configure the test case

[](#how-to-configure-the-test-case)

To configure the test, please create an ini file in `tests/conf/config.ini` with the following content: Pay attention, you need two different configurations for each interface language. During the tests, only the German section is supported. So use only this one.

// Ricardo API Config for German version (for example)

```
[GERMAN]
host = ws.betaqxl.com
partnership_key = YOUR_PARTNER_KEY
partnership_passwd = YOUR_PARTNER_PASS
partner_url = YOUR_WEBSITE_URL
allow_authorization_simulation = true
customer_username =
customer_password = ''
debug = true
display_test_content = true

[FRENCH]
host = ws.betaqxl.com
partnership_key = YOUR_PARTNER_KEY
partnership_passwd = YOUR_PARTNER_PASS
partner_url = YOUR_WEBSITE_URL
allow_authorization_simulation = true
customer_username =
customer_password = ''
debug = true
display_test_content = true

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~266 days

Total

34

Last Release

2965d ago

### Community

Maintainers

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

---

Top Contributors

[![sylvainraye](https://avatars.githubusercontent.com/u/1337461?v=4)](https://github.com/sylvainraye "sylvainraye (137 commits)")

---

Tags

php-libraryphp-sdkricardophpapilibraryRicardoDiglin

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/diglin-ricardo/health.svg)

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

###  Alternatives

[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[getjump/vk

Library for work with API Vk.com

20048.5k](/packages/getjump-vk)[mikealmond/musicbrainz

A PHP library for accessing the MusicBrainz API

6385.1k1](/packages/mikealmond-musicbrainz)

PHPackages © 2026

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