PHPackages                             gvarghese/aws-rekognition - 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. gvarghese/aws-rekognition

ActiveLibrary[API Development](/categories/api)

gvarghese/aws-rekognition
=========================

A Laravel package for AWS Rekognition which includes support for detectText

v0.1(9y ago)015MITPHP

Since Apr 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gregvarghese/aws-rekognition)[ Packagist](https://packagist.org/packages/gvarghese/aws-rekognition)[ RSS](/packages/gvarghese-aws-rekognition/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

gvarghese/aws-rekognition
=========================

[](#gvargheseaws-rekognition)

Forked from larareko/aws-rekognition and updated, as it was missing support for detectText support and appears to have been abandoned.

A Laravel package/facade for the Rekognition API PHP SDK.

This repository implements a simple Service Provider of the AWS Rekognition client, and makes it easily accessible via a Facade in Laravel &gt;= 5.

See [AWS Rekognition](https://aws.amazon.com/rekognition/) for more information.

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

[](#requirements)

Create an account at [AWS](https://aws.amazon.com/console/) and take note of your API keys.

Installation using [Composer](https://getcomposer.org)
------------------------------------------------------

[](#installation-using-composer)

In your terminal application move to the root directory of your laravel project using the cd command and require the project as a dependency using composer.

composer require gvarghese/aws-rekognition

This will add the following lines to your composer.json and download the project and its dependencies to your projects ./vendor directory:

Usage
-----

[](#usage)

With Laravel 5.5, the package should auto-register.

For older versions, open config/app.php and add the following lines (\[a\], \[b\]):

```
// config/app.php

return [

    // ...

    'providers' => [

        // ...

        /*
         * Package Service Providers...
         */
        gvarghese\Rekognition\RekognitionServiceProvider::class, // [a]

        /*
         * Application Service Providers...
         */
        App\Providers\AppServiceProvider::class,
        App\Providers\AuthServiceProvider::class,
        App\Providers\EventServiceProvider::class,
        App\Providers\RouteServiceProvider::class,

    ],

    // ...

    'aliases' => [

        'App' => Illuminate\Support\Facades\App::class,
        'Artisan' => Illuminate\Support\Facades\Artisan::class,

        // ...

        'Rekognition' => 'gvarghese\Rekognition\RekognitionFacade', // [b]
        'Hash' => Illuminate\Support\Facades\Hash::class,

        // ...
    ],

];
```

Publish Vendor
--------------

[](#publish-vendor)

aws-rekognition requires a connection configuration. To get started, you'll need to publish all vendor assets running:

php artisan vendor:publish

This will create a config/rekognition.php file in your app that you can modify to set your configuration. Make sure you check for changes compared to the original config file after an upgrade.

Now you should be able to use the facade within your application. Ex:

```
class LabelDetectionImage extends Model
{
    /**
     * Upload image to S3
     *
     * @param Illuminate\Http\UploadedFile  $file
     *
     * @return string
     */
    public function upload(UploadedFile $file) : string
    {
        $name = time() . $file->getClientOriginalName();

        \Rekognition::uploadImageToS3(file_get_contents($file), null, self::BUCKET, $name);

        return $name;
    }
}
```

Contributing
------------

[](#contributing)

Find an area you can help with and do it. Open source is about collaboration and open participation. Try to make your code look like what already exists or better and submit a pull request. Also, if you have any ideas on how to make the code better or on improving the scope and functionality please contact any of the contributors.

License
-------

[](#license)

MIT License.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

3352d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b8cb393997a07c8bdddca91a33ae0033e91f9f494c3a509b38c75888b483434?d=identicon)[gregv](/maintainers/gregv)

---

Top Contributors

[![alejandro-carstens](https://avatars.githubusercontent.com/u/23323398?v=4)](https://github.com/alejandro-carstens "alejandro-carstens (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gvarghese-aws-rekognition/health.svg)

```
[![Health](https://phpackages.com/badges/gvarghese-aws-rekognition/health.svg)](https://phpackages.com/packages/gvarghese-aws-rekognition)
```

###  Alternatives

[sociallydev/spaces-api

Library for accessing Digital Ocean spaces

214444.9k](/packages/sociallydev-spaces-api)[keboola/storage-api-client

Keboola Storage API PHP Client

10397.4k31](/packages/keboola-storage-api-client)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)[thephalcons/amazon-webservices-bundle

A Symfony2 Bundle for interfacing with Amazon Web Services (AWS)

110225.6k](/packages/thephalcons-amazon-webservices-bundle)

PHPackages © 2026

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