PHPackages                             marciodojr/duden-webscrapper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. marciodojr/duden-webscrapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

marciodojr/duden-webscrapper
============================

WebScrapper for duden.de

v1.1.4(1y ago)0111[2 PRs](https://github.com/marciodojr/duden-webcrapper/pulls)MITPHPPHP ^8.3

Since Aug 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/marciodojr/duden-webcrapper)[ Packagist](https://packagist.org/packages/marciodojr/duden-webscrapper)[ RSS](/packages/marciodojr-duden-webscrapper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (3)Versions (11)Used By (0)

Duden WebScrapper
-----------------

[](#duden-webscrapper)

```
composer require marciodojr/duden-webscrapper

```

Example
-------

[](#example)

### Dictionary search

[](#dictionary-search)

```
$numberOfAttemptsBeforeConnectionException = 3;
$ws = new DudenWebScrapper($numberOfAttemptsBeforeConnectionException);

// search word (Stichwort)
$words = $ws->dictionarySearch('Stamm');
print_r($words);

/*
(
    [0] => Stamm
    [1] => stammen
    [2] => abstammen
    [3] => herstammen
    [4] => stammhaft
    [5] => Stammfuehrer
    [6] => stammverwandt
    [7] => stammbuertig
    [8] => Stammeltern
    [9] => Stammmorphem
)
*/
```

### Word Orthography

[](#word-orthography)

```
$numberOfAttemptsBeforeConnectionException = 3;
$ws = new DudenWebScrapper($numberOfAttemptsBeforeConnectionException);

// get orthography (Rechtschreibung)
$orthography = $ws->getWordInfo('Apfel');

print_r($orthography);

/*
(
    [lemma] => Apfel
    [lemma_determiner] => der
    [word_type] => Substantiv
    [word_gender] => maskulin
    [spelling] => Array
        (
            [0] => Array
                (
                    [title] => Worttrennung
                    [value] => Ap|fel
                )

        )

    [meaning] => Array
        (
            [0] => Array
                (
                    [0] => Array
                        (
                            [text] => rundliche, fest-fleischige, aromatisch schmeckende Frucht mit Kerngehäuse; Frucht des Apfelbaums
                            [figure] => Array
                                (
                                    [link] => https://cdn.duden.de/_media_/full/A/Apfel-201020037492.jpg
                                    [caption] => © MEV Verlag, Augsburg
                                )

                            [notes] => Array
                                (
                                    [0] => Array
                                        (
                                            [title] => Beispiele
                                            [items] => Array
                                                (
                                                    [0] => ein grüner, saurer, wurmstichiger, rotbäckiger, gebratener Apfel
                                                    [1] => Apfel im Schlafrock
                                                    [2] => Äpfel pflücken, [vom Baum] schütteln, schälen, reiben
                                                )

                                        )

                                    [1] => Array
                                        (
                                            [title] => Wendungen, Redensarten, Sprichwörter
                                            [items] => Array
                                                (
                                                    [0] => Äpfel und Birnen zusammenzählen, Äpfel mit Birnen vergleichen (umgangssprachlich: Unvereinbares zusammenbringen)
                                                    [1] => für einen Apfel und ein Ei (umgangssprachlich: sehr billig, für einen unbedeutenden Betrag: etwas für einen Apfel und ein Ei kriegen)
                                                    [2] => in den sauren Apfel beißen (umgangssprachlich: etwas Unangenehmes notgedrungen tun)
                                                    [3] => der Apfel fällt nicht weit vom Stamm/nicht weit vom Pferd (jemand ist in seinen [negativen] Anlagen, in seinem Verhalten den Eltern sehr ähnlich)
                                                )

                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [0] => Array
                        (
                            [text] => Apfelbaum
                            [figure] => Array
                                (
                                    [link] => https://cdn.duden.de/_media_/full/A/Apfel-201020043738.jpg
                                    [caption] => © Jacqueline Barth - Fotolia.com
                                )

                            [notes] => Array
                                (
                                )

                        )

                    [1] => Array
                        (
                            [text] => Apfelsorte
                            [figure] =>
                            [notes] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [0] => Array
                        (
                            [text] => Brüste
                            [figure] =>
                            [notes] => Array
                                (
                                    [0] => Array
                                        (
                                            [title] => Gebrauch
                                            [items] => Array
                                                (
                                                    [0] => verhüllend
                                                )

                                        )

                                    [1] => Array
                                        (
                                            [title] => Grammatik
                                            [items] => Array
                                                (
                                                    [0] => Pluraletantum
                                                )

                                        )

                                )

                        )

                )

        )

)
*/
```

Todo
----

[](#todo)

Better parsing for prepositions

Testing
-------

[](#testing)

```
vendor/bin/phpunit --testsuite unit
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance42

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 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 ~284 days

Recently: every ~443 days

Total

8

Last Release

483d ago

PHP version history (2 changes)v1.0.0PHP ^7.2

v1.1.4PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4480634?v=4)[Márcio Dias](/maintainers/marciodojr)[@marciodojr](https://github.com/marciodojr)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/marciodojr-duden-webscrapper/health.svg)

```
[![Health](https://phpackages.com/badges/marciodojr-duden-webscrapper/health.svg)](https://phpackages.com/packages/marciodojr-duden-webscrapper)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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