PHPackages                             mathsgod/duckduckgo-search-php - 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. mathsgod/duckduckgo-search-php

ActiveLibrary[API Development](/categories/api)

mathsgod/duckduckgo-search-php
==============================

A PHP library to search DuckDuckGo.

1.0.1(3y ago)0831[1 PRs](https://github.com/mathsgod/duckduckgo-search-php/pulls)PHP

Since Mar 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mathsgod/duckduckgo-search-php)[ Packagist](https://packagist.org/packages/mathsgod/duckduckgo-search-php)[ RSS](/packages/mathsgod-duckduckgo-search-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

PHP DuckDuckGo Search

This is a PHP class that allows you to search DuckDuckGo from your PHP application.

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

[](#installation)

You can install this package via composer:

```
composer require mathsgod/duckduckgo-search-php
```

Usage
-----

[](#usage)

```
$ddg=new DuckDuckGo;
$results=$ddg->search('php');
```

### Region

[](#region)

You can also search in a specific region:

```
$ddg=new DuckDuckGo;
$results=$ddg->search('php','hk-tzh');//Hong Kong
```

### Time range

[](#time-range)

You can also search in a specific time range:

```
$ddg=new DuckDuckGo;
$results=$ddg->search('php','hk-tzh','m');//Last month
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1151d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30f25555e58060ace793b731c172c739d45e9506154c9611990d2f985f61652b?d=identicon)[mathsgod](/maintainers/mathsgod)

---

Top Contributors

[![mathsgod](https://avatars.githubusercontent.com/u/18732337?v=4)](https://github.com/mathsgod "mathsgod (7 commits)")

### Embed Badge

![Health badge](/badges/mathsgod-duckduckgo-search-php/health.svg)

```
[![Health](https://phpackages.com/badges/mathsgod-duckduckgo-search-php/health.svg)](https://phpackages.com/packages/mathsgod-duckduckgo-search-php)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[sleeping-owl/apist

Package to provide api-like access to foreign sites based on html parsing

3105.3k](/packages/sleeping-owl-apist)[sproutcms/cms

Enterprise content management and framework

241.6k4](/packages/sproutcms-cms)

PHPackages © 2026

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