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 4w 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 30% 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

3397d 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

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k293.8M1.1k](/packages/league-flysystem-aws-s3-v3)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M306](/packages/laravel-ai)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[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.

45844.8k1](/packages/pressbooks-pressbooks)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

121269.8k1](/packages/ellaisys-aws-cognito)[keboola/storage-api-client

Keboola Storage API PHP Client

10411.9k50](/packages/keboola-storage-api-client)

PHPackages © 2026

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