PHPackages                             emersonsm/php-duckduckgo-api - 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. emersonsm/php-duckduckgo-api

ActiveLibrary[API Development](/categories/api)

emersonsm/php-duckduckgo-api
============================

Open-source library for integrating DuckDuckGo's Zero-click Info API with PHP

1.0.0(1y ago)04761Apache-2.0PHPPHP ^8.0

Since Aug 23Pushed 1y ago1 watchersCompare

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

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

php-duckduckgo-api
==================

[](#php-duckduckgo-api)

Open-source library for integrating DuckDuckGo's Zero-click Info API with PHP.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Composer

You can install this package using Composer:

```
composer require emersonsm/php-duckduckgo-api

```

Usage
-----

[](#usage)

To use the DuckDuckGo API in your application, instantiate the Api class and call the zeroClickQuery method. The method returns an associative array, so you can access the response using array syntax.

```
