PHPackages                             nticaric/awis - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. nticaric/awis

ActiveLibrary[HTTP &amp; Networking](/categories/http)

nticaric/awis
=============

PHP package for making requests to Alexa Web Information Service

v1.0(9y ago)165.8k7[1 issues](https://github.com/nticaric/awis/issues)GNU General Public LicensePHPPHP &gt;=5.3.0

Since Aug 17Pushed 8y ago4 watchersCompare

[ Source](https://github.com/nticaric/awis)[ Packagist](https://packagist.org/packages/nticaric/awis)[ Docs](http://github.com/nticaric/awis)[ RSS](/packages/nticaric-awis/feed)WikiDiscussions master Synced 3w ago

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

awis
====

[](#awis)

PHP package for making requests to Alexa Web Information Service

\##Installation

The easiest way to install Awis is via [composer](http://getcomposer.org/). Create the following `composer.json` file and run the `php composer.phar install` command to install it.

```
{
    "require": {
        "nticaric/awis": "dev-master"
    }
}
```

Examples
--------

[](#examples)

### UrlInfo

[](#urlinfo)

The `UrlInfo` action provides information about a website, such as:

- how popular the site is
- what sites are related
- contact information for the owner of the site

Usage:

```
    use Nticaric\Awis\Awis;

    $awis = new Awis("ACCESS_KEY_ID", "SECRET_ACCESS_KEY");
    $response = $awis->getUrlInfo("example.com");

    //prints the raw xml response
    echo (string) $response->getBody();
```

The `getUrlInfo` method supports a second argument that lets you set a valid `ResponseGroup`. The default is set to `ContentData`. Possible values for the response group are:

#### Response Groups

[](#response-groups)

Response GroupData ReturnedRelatedLinksUp to 11 related linksCategoriesUp to 3 DMOZ (Open Directory) categories the site belongs toRankThe Alexa three month average traffic rankRankByCountryPercentage of viewers, page views, and traffic rank broken out by countryRankByCityPercentage of viewers, page views, and traffic rank broken out by cityUsageStatsUsage statistics such as reach and page viewsContactInfoContact information for the site owner or registrarAdultContentWhether the site is likely to contain adult content ('yes' or 'no')SpeedMedian load time and percent of known sites that are slowerLanguageContent language code and character-encoding (note that this may not match the language or character encoding of any given page on the website because the languange and character set returned are those of the majority of pages)KeywordsKeywords relevant to site contentOwnedDomainsOther domains owned by the same owner as this siteLinksInCountA count of links pointing in to this siteSiteDataTitle, description, and date the site was created#### Meta-Response Groups

[](#meta-response-groups)

Response GroupData ReturnedRelatedUp to 11 related links and up to 3 DMOZ categories (equivalent to ResponseGroup=RelatedLinks,Categories)TrafficDataTraffic rank and usage statistics (equivalent to ResponseGroup=Rank,UsageStats)ContentDataInformation about the site's content (equivalent to ResponseGroup=SiteData,AdultContent,Popups,Speed,Language)Usage:

```
    use Nticaric\Awis\Awis;

    $awis = new Awis("ACCESS_KEY_ID", "SECRET_ACCESS_KEY");
    $response = $awis->getUrlInfo("example.com", "ContentData");
```

### TrafficHistory

[](#traffichistory)

The TrafficHistory action returns the daily Alexa Traffic Rank, Reach per Million Users, and Unique Page Views per Million Users for each day since August 2007. This same data is used to produce the traffic graphs found on alexa.com.

Usage:

```
    use Nticaric\Awis\Awis;

    $awis = new Awis("ACCESS_KEY_ID", "SECRET_ACCESS_KEY");
    $response = $awis->getTrafficHistory("example.com");
```

### CategoryBrowse

[](#categorybrowse)

The `CategoryBrowse` action and `CategoryListings` actions together provide a directory service based on the Open Directory, [www.dmoz.org](http://www.dmoz.org), and enhanced with Alexa traffic data.

For any given category, the CategoryBrowse action returns a list of sub-categories. Within a particular category you can use the CategoryListings action to get the documents within that category ordered by traffic.

Usage:

```
    use Nticaric\Awis\Awis;

    $awis = new Awis("ACCESS_KEY_ID", "SECRET_ACCESS_KEY");
    $response = $awis->getCategoryBrowse("example.com", "Categories", "Top/Arts");
```

### CategoryListings

[](#categorylistings)

The `CategoryListings` action is a directory service based on the Open Directory, [www.dmoz.org](http://www.dmoz.org). For any given category, it returns a list of site listings contained within that category.

Usage:

```
    use Nticaric\Awis\Awis;

    $awis = new Awis("ACCESS_KEY_ID", "SECRET_ACCESS_KEY");
    $response = $awis->getCategoryListings("example.com", "Top/Arts", "Popularity", "False", 1, 20);
```

### SitesLinkingIn

[](#siteslinkingin)

The `SitesLinkingIn` action returns a list of web sites linking to a given web site. Within each domain linking into the web site, only a single link - the one with the highest page-level traffic - is returned. The data is updated once every two months.

Usage:

```
    use Nticaric\Awis\Awis;

    $awis = new Awis("ACCESS_KEY_ID", "SECRET_ACCESS_KEY");
    $response = $this->awis->getSitesLinkingIn("example.com");
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3607d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fc0f9546f5f7b8a91fa32ca0de9f2c590d00ec113c621783eeca82516bb006f?d=identicon)[nticaric](/maintainers/nticaric)

---

Top Contributors

[![nticaric](https://avatars.githubusercontent.com/u/824840?v=4)](https://github.com/nticaric "nticaric (25 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nticaric-awis/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

32041.3k](/packages/sunchayn-nimbus)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[concrete5/core

Concrete core subtree split

20166.1k52](/packages/concrete5-core)

PHPackages © 2026

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