PHPackages                             sandyman/awscloudsearchphp - 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. sandyman/awscloudsearchphp

AbandonedArchivedLibrary[API Development](/categories/api)

sandyman/awscloudsearchphp
==========================

Basic integration AWS CloudSearch API

2761PHP

Since Apr 7Pushed 12y agoCompare

[ Source](https://github.com/Sandyman/AwsCloudSearchPhp)[ Packagist](https://packagist.org/packages/sandyman/awscloudsearchphp)[ RSS](/packages/sandyman-awscloudsearchphp/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

AwsCloudSearch PHP API Wrapper
==============================

[](#awscloudsearch-php-api-wrapper)

A library to interact with Amazon's AWS CloudSearch API. Please note that this is a fork of Mark Wilson's AwsCloudSearchPhp. You might want to use his library in stead (see Credits).

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

[](#requirements)

- PHP 5+
- cURL extension
- AWS account
- CloudSearch domain

Getting Started
---------------

[](#getting-started)

For detailed instructions, check out [Making Amazon CloudSearch API Requests](http://docs.amazonwebservices.com/cloudsearch/latest/developerguide/APIReq.html).

```
curl -s https://getcomposer.org/installer | php
php composer.phar install

```

Require "sandyman/awscloudsearchphp" in your composer.json:-

```
{
    "require": {
        "sandyman/awscloudsearchphp": "dev-master"
    }
}

```

Pass your CloudSearch domain and server location to initialise the class:

```
$loader = require 'vendor/autoload.php';
$cloudSearch = new \AwsCloudSearch\AwsCloudSearch(, );

// search domain's indexed documents
$cloudSearch->setReturnFields();
$response = $cloudSearch->search(, );
if ($response->wasSuccessful()) {
    print_r($response->getHitDocuments());
}
else {
    print_r($response->getErrors());
}

// add/update/delete array of documents
$documents = array();
$document = new \AwsCloudSearch\Document\AddDocument(, , , );
$documents[] = $document;

$response = $cloudSearch->processDocuments($documents);
if ($response->wasSuccesful()) {
    echo $response;
}
else {
    print_r($response->getErrors());
}

```

You can also check out the samples/ directory.

Documents must be formatted to the [Search Data Format (SDF)](http://docs.amazonwebservices.com/cloudsearch/latest/developerguide/GettingStartedSendData.html).

Getting Help
------------

[](#getting-help)

If you need help or have questions, please contact [Sander Huijsen](http://twitter.com/ahuijsen).

Credits
-------

[](#credits)

Forked from [AwsCloudSearchPhp](https://github.com/markwilson/AwsCloudSearchPhp).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.9% 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/e021074b91db0c19906c45c35c763d0154bd8ecabfa92074d3d251c09b0a96d9?d=identicon)[sandyman](/maintainers/sandyman)

---

Top Contributors

[![Sandyman](https://avatars.githubusercontent.com/u/468748?v=4)](https://github.com/Sandyman "Sandyman (13 commits)")[![markwilson](https://avatars.githubusercontent.com/u/81990?v=4)](https://github.com/markwilson "markwilson (6 commits)")[![greggilbert](https://avatars.githubusercontent.com/u/169482?v=4)](https://github.com/greggilbert "greggilbert (2 commits)")

### Embed Badge

![Health badge](/badges/sandyman-awscloudsearchphp/health.svg)

```
[![Health](https://phpackages.com/badges/sandyman-awscloudsearchphp/health.svg)](https://phpackages.com/packages/sandyman-awscloudsearchphp)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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