PHPackages                             crazy-max/cws-share-count - 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. crazy-max/cws-share-count

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

crazy-max/cws-share-count
=========================

PHP class to get social share count for Delicious, Facebook, Google+, Linkedin, Pinterest, Reddit, StumbleUpon and Twitter.

1.6.2(6y ago)137593[2 issues](https://github.com/crazy-max/CwsShareCount/issues)MITPHPPHP &gt;=5.3.0

Since Aug 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/crazy-max/CwsShareCount)[ Packagist](https://packagist.org/packages/crazy-max/cws-share-count)[ Docs](https://github.com/crazy-max/CwsShareCount)[ RSS](/packages/crazy-max-cws-share-count/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (2)Versions (6)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/690f275d4f49cf55fbd27603750b62fca4bf21340738430c56bb344980d4ed03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6372617a792d6d61782f6377732d73686172652d636f756e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/crazy-max/cws-share-count)[![Minimum PHP Version](https://camo.githubusercontent.com/55453b8aba1f0d2c449c2dfa58e6debd503f9d637d2e474960cea8c266371e2f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e332e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Build Status](https://camo.githubusercontent.com/1a1db1f8ce51022cdf70d18d95e2b1584dde44d3ec0af6d393b68dde32123afc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f6372617a792d6d61782f4377735368617265436f756e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/crazy-max/CwsShareCount)[![Code Quality](https://camo.githubusercontent.com/573095f50bd3a33b47ecf1ad7df29732bef3188c6c7fea6cb9dc9b3252102873/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f62323037393962653233636434643965393062613637343335393163363831642e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/crazy-max/CwsShareCount)[![Become a sponsor](https://camo.githubusercontent.com/2b64183536d3742cfdfdbe2a16c7a26ae05e6a3db44e513ff73defdeed344cc1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f722d6372617a792d2d6d61782d3138313731372e7376673f6c6f676f3d676974687562267374796c653d666c61742d737175617265)](https://github.com/sponsors/crazy-max)[![Donate Paypal](https://camo.githubusercontent.com/86518966c73798ed1c862566d92cd4cdd48152e30ab7f42fb7d5138138231d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d70617970616c2d3030343537632e7376673f6c6f676f3d70617970616c267374796c653d666c61742d737175617265)](https://www.paypal.me/crazyws)

⚠️ Abandoned project
--------------------

[](#warning-abandoned-project)

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.

About
-----

[](#about)

PHP class to get social share count for Delicious, Facebook, Google+, Linkedin, Pinterest, Reddit, StumbleUpon and Twitter.

Installation
------------

[](#installation)

```
composer require crazy-max/cws-share-count
```

And download the code:

```
composer install # or update
```

Getting started
---------------

[](#getting-started)

See `tests/test.php` file sample to help you.

Example
-------

[](#example)

[![](.res/example.png)](.res/example.png)

Methods
-------

[](#methods)

**getAll** - Get all social share count.
**getDeliciousCount** - Get delicious social share count.
**getFacebookCount** - Get facebook social share count.
**getGooglePlusCount** - Get google plus social share count.
**getLinkedinCount** - Get linkedin social share count.
**getPinterestCount** - Get pinterest social share count.
**getRedditCount** - Get reddit social share count.
**getStumbleuponCount** - Get stumbleupon social share count.
**getTwitterCount** - Get twitter social share count.
**getError** - Get the last error.

How can I help ?
----------------

[](#how-can-i-help-)

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) 👏 or by making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏

License
-------

[](#license)

MIT. See `LICENSE` for more details.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~289 days

Total

5

Last Release

2440d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2ac50dd173150fc9339728d7b2b1c872b6853111b20e4569844e215f644f632?d=identicon)[crazy-max](/maintainers/crazy-max)

---

Top Contributors

[![crazy-max](https://avatars.githubusercontent.com/u/1951866?v=4)](https://github.com/crazy-max "crazy-max (18 commits)")

---

Tags

curldeliciousfacebookgoogle-pluslinkedinphppinterestredditsharestumbleupontwitterfacebooktwittersocialredditlinkedinsharegooglepluscountdeliciousstumbleupon

### Embed Badge

![Health badge](/badges/crazy-max-cws-share-count/health.svg)

```
[![Health](https://phpackages.com/badges/crazy-max-cws-share-count/health.svg)](https://phpackages.com/packages/crazy-max-cws-share-count)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k22.0M76](/packages/hwi-oauth-bundle)[social-links/social-links

PHP library to generate share buttons

102348.6k2](/packages/social-links-social-links)[and/oauth

Simple and amazing OAuth library with many providers. Just try it out!

4345.2k2](/packages/and-oauth)[fritzmg/contao-sharebuttons

Simple Contao extension to provide share buttons as a module and content element

1833.3k](/packages/fritzmg-contao-sharebuttons)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1415.5k](/packages/pdir-social-feed-bundle)[ryannielson/shareable

A Laravel 4 package to make it easy to add social sharing buttons to your application.

222.8k](/packages/ryannielson-shareable)

PHPackages © 2026

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