kanvas/social
Larablocks Analysis
kanvas/social has no release yet to check Laravel compatibility against.
Recommendation checks
Use with careUse with care: meets 0 of 3 checks.
- No dated releases
- 14 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require kanvas/social:0.1.x-dev |
|
| PHP: | >= 7.4 |
| License: | MIT |
| Last Updated: | Jan 1, 2025 |
| Links: | GitHub · Packagist |
Kanvas Social
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
To create a new index for messages use the following command:
php cli/cli.php social indexMessages
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
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:
composer test
Related Packages
Adding additional functions to Laravel authentication and supports social login...