PHPackages                             yanosh-k/duckduckgo - 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. yanosh-k/duckduckgo

ActiveLibrary[API Development](/categories/api)

yanosh-k/duckduckgo
===================

Provides functions for making DuckDuckGo searches using PHP (currently only images)

v1.0.0(2y ago)038MITPHP

Since Mar 3Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/yanosh-k/duckduckgo)[ Packagist](https://packagist.org/packages/yanosh-k/duckduckgo)[ RSS](/packages/yanosh-k-duckduckgo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Library for getting image search results from DuckDuckGo
========================================================

[](#library-for-getting-image-search-results-from-duckduckgo)

This is a PHP version of [fastai](https://www.fast.ai/)'s Python `search_images_ddg()` function.

It is part of the code that accompanies their [Deep Learning for Coders](https://github.com/fastai/fastbook/)book (also available on [Amazon](https://www.amazon.com/Deep-Learning-Coders-fastai-PyTorch/dp/1492045527)), which has a function called `search_images_ddg()`.

You can read more more about why this library exists [here](https://yanosh.net/2024/03/01/how-to-download-images-form-ddg.html).

How to
------

[](#how-to)

### Installation

[](#installation)

With composer:

```
composer require yanosh-k/duckduckgo

```

### Usage

[](#usage)

Require the composer autoloader:

```
