PHPackages                             kcassam/urls-analytics - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kcassam/urls-analytics

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kcassam/urls-analytics
======================

1.1(9y ago)03991PHP

Since Sep 22Pushed 9y ago4 watchersCompare

[ Source](https://github.com/Headoo/urls-analytics)[ Packagist](https://packagist.org/packages/kcassam/urls-analytics)[ RSS](/packages/kcassam-urls-analytics/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

 Php classes for calling social counts api on multiple URLSInstallation
------------

[](#installation)

Packagist :

Usage
-----

[](#usage)

Test
----

[](#test)

```
cd src/UrlsAnalytics/ApiCalls/
php test.php

```

Test Result
-----------

[](#test-result)

```
$ php test.php
Welcome to Test....Array
(
    [http://google.com] => Array
        (
            [StumbleUpon] => 208000
            [Reddit] => 0
            [Facebook] => Array
                (
                    [commentsbox_count] => 10118
                    [click_count] => 265614
                    [total_count] => 10151403
                    [comment_count] => 1812801
                    [like_count] => 1579262
                    [share_count] => 6759340
                )

            [Delicious] => 0
            [GooglePlusOne] => 9784545
            [Buzz] => 0
            [Twitter] => 11424
            [Diggs] => 0
            [Pinterest] => 11278
            [LinkedIn] => 0
        )

    [http://headoo.com] => Array
        (
            [StumbleUpon] => 0
            [Reddit] => 0
            [Facebook] => Array
                (
                    [commentsbox_count] => 0
                    [click_count] => 0
                    [total_count] => 27
                    [comment_count] => 3
                    [like_count] => 7
                    [share_count] => 17
                )

            [Delicious] => 0
            [GooglePlusOne] => 24
            [Buzz] => 0
            [Twitter] => 28
            [Diggs] => 0
            [Pinterest] => 0
            [LinkedIn] => 11
        )

    [http://facebook.com] => Array
        (
            [StumbleUpon] => 114000
            [Reddit] => 0
            [Facebook] => Array
                (
                    [commentsbox_count] => 1345
                    [click_count] => 0
                    [total_count] => 17744262
                    [comment_count] => 5167399
                    [like_count] => 4900993
                    [share_count] => 7675870
                )

            [Delicious] => 0
            [GooglePlusOne] => 40525
            [Buzz] => 0
            [Twitter] => 66120
            [Diggs] => 0
            [Pinterest] => 4527
            [LinkedIn] => 0
        )

    [BAD_FORMATTED_URL] => Array
        (
            [error] => Exception Object
                (
                    [message:protected] => file_get_contents(https://free.sharedcount.com/?url=BAD_FORMATTED_URL&apikey=9bedf9c6d2d465349350ae938c91b8bfb508073a) is false
                    [string:Exception:private] =>
                    [code:protected] => 0
                    [file:protected] => /Users/ka/Repositories/kcassam/urls-analytics/src/UrlsAnalytics/ApiCalls/ApiCalls.php
                    [line:protected] => 62
                    [trace:Exception:private] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /Users/ka/Repositories/kcassam/urls-analytics/src/UrlsAnalytics/ApiCalls/test.php
                                    [line] => 20
                                    [function] => get
                                    [class] => UrlsAnalytics\ApiCalls\ApiCalls
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => http://google.com
                                                    [1] => http://headoo.com
                                                    [2] => http://facebook.com
                                                    [3] => BAD_FORMATTED_URL
                                                )

                                        )

                                )

                        )

                    [previous:Exception:private] =>
                )

        )

)

FIN

```

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

[](#contributing)

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

History
-------

[](#history)

TODO: Write history

Credits
-------

[](#credits)

TODO: Write credits

License
-------

[](#license)

TODO: Write license \]\]&gt; readme

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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

3520d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56b795cbdb985a1754b01b6f65f28335d10c0d25f2fc2224ac13b0d0764995d3?d=identicon)[ka](/maintainers/ka)

---

Top Contributors

[![kcassam](https://avatars.githubusercontent.com/u/150823?v=4)](https://github.com/kcassam "kcassam (24 commits)")[![OlivierAtHeadoo](https://avatars.githubusercontent.com/u/18527108?v=4)](https://github.com/OlivierAtHeadoo "OlivierAtHeadoo (6 commits)")

### Embed Badge

![Health badge](/badges/kcassam-urls-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/kcassam-urls-analytics/health.svg)](https://phpackages.com/packages/kcassam-urls-analytics)
```

PHPackages © 2026

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