PHPackages                             senthilhep/google-cloud-vision-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. [Image &amp; Media](/categories/media)
4. /
5. senthilhep/google-cloud-vision-php

ActiveVcs[Image &amp; Media](/categories/media)

senthilhep/google-cloud-vision-php
==================================

0177PHP

Since Jul 8Pushed 1mo agoCompare

[ Source](https://github.com/senthilhep/google-cloud-vision-php)[ Packagist](https://packagist.org/packages/senthilhep/google-cloud-vision-php)[ RSS](/packages/senthilhep-google-cloud-vision-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://github.com/senthilhep/google-cloud-vision-php.svg?branch=master)](https://github.com/senthilhep/google-cloud-vision-php)

GoogleCloudVisionPHP
====================

[](#googlecloudvisionphp)

This project hosts the PHP library for the various RESTful based Google Cloud Vision API(s) \[Read about Google Cloud Vision API\] ()

\##Features

- Support almost feature of Google Cloud Vision API (Version 1)
- Auto encode images to based64

\##how to get service key [Google Cloud Vision API Document](https://cloud.google.com/vision/docs/getting-started)

\##Requirements

- PHP &gt;= 5.4 with cURL extension

\##Installation Add this to your composer.json

```
"require": {
        "senthilhep/google-cloud-vision-php": "*"
    }
```

\##Example

```
use GoogleCloudVisionPHP\GoogleCloudVision;

$gcv = new GoogleCloudVision();

// Follow instruction from Google Cloud Vision Document
$gcv->setKey("[Key from Google]");

$gcv->setImage("[File path]");

// 1 is Max result
$gcv->addFeature("LABEL_DETECTION", 1);

$gcv->addFeatureUnspecified(1);
$gcv->addFeatureFaceDetection(1);
$gcv->addFeatureLandmarkDetection(1);
$gcv->addFeatureLogoDetection(1);
$gcv->addFeatureLabelDetection(1);
$gcv->addFeatureOCR(1);
$gcv->addFeatureSafeSeachDetection(1);
$gcv->addFeatureImageProperty(1);

//Optinal
$gcv->setImageContext(array("languageHints"=>array("th")));

$response = $gcv->request();
```

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance60

Regular maintenance activity

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/73afe8a2d8700a64cb64ee7ad7d7e2fda627e0aab4d393074121e555c9639a61?d=identicon)[senthilhep](/maintainers/senthilhep)

---

Top Contributors

[![senthilhep](https://avatars.githubusercontent.com/u/61191330?v=4)](https://github.com/senthilhep "senthilhep (2 commits)")

### Embed Badge

![Health badge](/badges/senthilhep-google-cloud-vision-php/health.svg)

```
[![Health](https://phpackages.com/badges/senthilhep-google-cloud-vision-php/health.svg)](https://phpackages.com/packages/senthilhep-google-cloud-vision-php)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[stefangabos/zebra_image

A single-file, lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters

138121.6k7](/packages/stefangabos-zebra-image)[treinetic/imageartist

ImageArtist is a php gd Wrapper which makes Image manipulation insanely easy, we introduce ImageArtist as Photoshop for php

8783.2k](/packages/treinetic-imageartist)[johncarter/filament-focal-point-picker

An image focal point picker for Filament Admin.

4431.7k1](/packages/johncarter-filament-focal-point-picker)[rajurayhan/larastreamer

A laravel package to stream video content.

508.8k](/packages/rajurayhan-larastreamer)[yk/laravel-ocr

A wrapper for gocr.

1356.6k](/packages/yk-laravel-ocr)

PHPackages © 2026

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