PHPackages                             devdojo/google-image-search - 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. devdojo/google-image-search

ActiveLibrary[API Development](/categories/api)

devdojo/google-image-search
===========================

You're able to query google for images using Google's new Custom Search API.

0.2(5y ago)137.5k↑103.6%6[1 issues](https://github.com/thedevdojo/google-image-search/issues)PHP

Since Oct 27Pushed 5y agoCompare

[ Source](https://github.com/thedevdojo/google-image-search)[ Packagist](https://packagist.org/packages/devdojo/google-image-search)[ RSS](/packages/devdojo-google-image-search/feed)WikiDiscussions master Synced 2d ago

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

Google Image Search
===================

[](#google-image-search)

Query google for images using Google's new Custom Search API.

```
ImageSearch::config()->apiKey('API Goes Here');
ImageSearch::config()->cx('CX Goes Here');

ImageSearch::search('civic'); // returns array of results
```

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

[](#requirements)

You need to have an API key and a CX string, both can be found by taking a look here:

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

[](#installation)

Use composer to install

`composer require devdojo/google-image-search`

Usage
-----

[](#usage)

Set your API and CX string using the config method:

```
use DevDojo\GoogleImageSearch\ImageSearch;

ImageSearch::config()->apiKey('API Goes Here');
ImageSearch::config()->cx('CX Goes Here');
```

Once that's done, use the search method to query a specific string of text

```
ImageSearch::search('civic');
```

You can also pass in some filters as a second parameter as an array.

```
ImageSearch::search('civic', ['imgSize' => 'large']);
```

The list of filters can be found on Google's official site:

It'll return an array of results. The images are specifically in the `items` key.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~869 days

Total

2

Last Release

1937d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2907450?v=4)[devdojo](/maintainers/devdojo)[@DevDojo](https://github.com/DevDojo)

---

Top Contributors

[![bobbyiliev](https://avatars.githubusercontent.com/u/21223421?v=4)](https://github.com/bobbyiliev "bobbyiliev (1 commits)")[![tnylea](https://avatars.githubusercontent.com/u/601261?v=4)](https://github.com/tnylea "tnylea (1 commits)")

### Embed Badge

![Health badge](/badges/devdojo-google-image-search/health.svg)

```
[![Health](https://phpackages.com/badges/devdojo-google-image-search/health.svg)](https://phpackages.com/packages/devdojo-google-image-search)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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