PHPackages                             kanvas/social - 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. kanvas/social

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

kanvas/social
=============

Add social layout to your kanvas application.

0.1.x-dev(1y ago)013.2k1[1 issues](https://github.com/bakaphp/social/issues)[2 PRs](https://github.com/bakaphp/social/pulls)MITPHPPHP &gt;= 7.4

Since Oct 12Pushed 1y ago2 watchersCompare

[ Source](https://github.com/bakaphp/social)[ Packagist](https://packagist.org/packages/kanvas/social)[ Docs](http://kanvas.dev)[ RSS](/packages/kanvas-social/feed)WikiDiscussions 0.1 Synced 6d ago

READMEChangelogDependencies (23)Versions (9)Used By (0)

Kanvas Social
=============

[](#kanvas-social)

[![Latest Stable Version](https://camo.githubusercontent.com/ce6e84aa3f82b9c8c9b0757d87dd223d74715f967537d5d7602d76f6ebe9a4fb/68747470733a2f2f706f7365722e707567782e6f72672f6b616e7661732f736f6369616c2f76)](//packagist.org/social/kanvas/social) [![Total Downloads](https://camo.githubusercontent.com/34396cec9cb49ab1d00432c8639c9d5933858511bc2b7a496a15c31ef988c176/68747470733a2f2f706f7365722e707567782e6f72672f6b616e7661732f736f6369616c2f646f776e6c6f616473)](//packagist.org/social/kanvas/social) [![Latest Unstable Version](https://camo.githubusercontent.com/8edc1c55fa0f4041aff2fb773fe2c7737a52c7c73b69811f78a8f5200bc0ae61/68747470733a2f2f706f7365722e707567782e6f72672f6b616e7661732f736f6369616c2f762f756e737461626c65)](//packagist.org/social/kanvas/social)[![Tests](https://github.com/bakaphp/social/workflows/Tests/badge.svg?branch=master)](https://github.com/bakaphp/social/actions?query=workflow%3ATests)

Kanvas Social package , allows you to implement a social layer to any kanvas app.

What do we consider a social layer?

- Follow Entity
- User Interactions
- Comment System
- User Feeds
- Group
- Channels
- Comment Interactions

Indexing Elastic Messages
-------------------------

[](#indexing-elastic-messages)

To create a new index for messages use the following command:

```
php cli/cli.php social indexMessages
```

Erasing the messages index
--------------------------

[](#erasing-the-messages-index)

In case you want you want to erase the messages index, in your terminal, execute the following:

```
 php cli/cli.php social eraseMessages
```

Elastic Configuration
---------------------

[](#elastic-configuration)

Update total fields limit for message index

```
curl -s -XPUT https://{elastichost}/messages/_settings  -H 'Content-Type: application/json' -d '{"index.mapping.total_fields.limit": 100}'

```

Allow all object properties of a specific index to be nested , allowing use to use multi nested level query proper.index.property.index Example

```
{{URL}}/{{VERSION}}/messages?q=(chs.slug:test-uuid,rlmsg.activities_status.id:2)&format=true

```

```
curl -s -XPUT https://{elastichost}/_template/social_messages  -H 'Content-Type: application/json' -d '{
"index_patterns": [
    "message*"
  ],
  "mappings": {
      "dynamic_templates": [
        {
          "nested": {
            "match_mapping_type": "object",
            "mapping": {
              "type": "nested"
            }
          }
        }
      ]
  }
}'

```

Running Tests:
--------------

[](#running-tests)

```
composer test
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance40

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

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

502d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/136c850ea7ec76b23cc5b1fed8507683cc891145cffedc7761fe73ce03960df3?d=identicon)[mctekk](/maintainers/mctekk)

---

Top Contributors

[![FredPeal](https://avatars.githubusercontent.com/u/22231077?v=4)](https://github.com/FredPeal "FredPeal (138 commits)")[![kaioken](https://avatars.githubusercontent.com/u/118385?v=4)](https://github.com/kaioken "kaioken (72 commits)")[![tiberius19](https://avatars.githubusercontent.com/u/43500538?v=4)](https://github.com/tiberius19 "tiberius19 (12 commits)")[![rwhite27](https://avatars.githubusercontent.com/u/29263079?v=4)](https://github.com/rwhite27 "rwhite27 (2 commits)")[![arfenis](https://avatars.githubusercontent.com/u/23733749?v=4)](https://github.com/arfenis "arfenis (1 commits)")

---

Tags

socialfeeds

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kanvas-social/health.svg)

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

###  Alternatives

[social-links/social-links

PHP library to generate share buttons

112338.6k2](/packages/social-links-social-links)[davmixcool/php-sentiment-analyzer

PHP Sentiment Analyzer is a lexicon and rule-based sentiment analysis tool that is used to understand sentiments in a sentence using VADER (Valence Aware Dictionary and sentiment Reasoner).

138151.7k1](/packages/davmixcool-php-sentiment-analyzer)[kartik-v/yii2-social

Module containing useful widgets for Yii Framework 2.0 that integrates social functionalities from DISQUS, Facebook, Google etc.

91256.5k8](/packages/kartik-v-yii2-social)[davmixcool/laravel-meta-manager

Laravel Meta Manager is an SEO tool that is used to improve SEO of a website or specific page by adding recommended meta tags to your application.

15040.8k1](/packages/davmixcool-laravel-meta-manager)[pubsubhubbub/subscriber

pubsubhubbub implementation of subscriber.

32100.2k](/packages/pubsubhubbub-subscriber)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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