toneflix-code/social-interactions
A Laravel package for adding social interactions to your models. It provides likes, comments, follows, bookmarks and reactions out of the box, with polymorphic relationships, configurable models and simple traits you can drop into any Eloquent model.
Release classification: Major (2.0.0) — breaking on three axes simultaneously: package name (toneflix-code/social-interactions → toneflix/social-interactions), PHP namespace (ToneflixCode\SocialInteractions → Toneflix\SocialInteractions), and platform floor (PHP ^8.3|^8.4, Illuminate ^12.0|^13.0). There is no feature payload — the value is continued framework support, not new capability.
Architecture fit
Integration feasibility
composer remove + composer require, then a find-and-replace of imports and the published config. The vendor provides the exact two-step command, which is a good sign of upgrade-path discipline.composer install.class_alias bridge or a metapackage published under the old name would have made this a one-line composer.json bump. None is offered.Technical risk
use statement missed.vendor:publish of config is needed.illuminate/* at ^10 or ^11, or the app's PHP floor is below 8.3 in CI, prod images, or a shared host, the resolver will block the upgrade. Audit before committing.^13.0 in the constraint is only meaningful once Laravel 13 is generally available; if it is not yet GA, your resolver will simply stay on 12. Treat "Laravel 13 support" as claimed-in-CI until you confirm the framework is released.Key questions
Stack fit
Migration path
grep -r "ToneflixCode\\\\SocialInteractions" across application code, published config, custom subclasses, test fixtures, and any app code that extends package classes. Also grep the composed string toneflix-code/social-interactions in docs, Dockerfiles, CI configs, and SBOM/allowlist tooling.composer why-not toneflix/social-interactions ^2.0 after temporarily adding the constraint to surface blockers.composer remove toneflix-code/social-interactions → composer require toneflix/social-interactions:^2.0 → composer dump-autoload -o.vendor/.../database/migrations against what is already applied. If identical, publish nothing. If migration filenames or contents changed, hand-write a no-op migration rather than re-running table creation.config, cache, route, and view caches; run php artisan about, exercise every interaction type (like/unlike, follow/unfollow, bookmark, subscribe) on staging, and confirm counts and pivot rows are intact.Compatibility
illuminate/support ^10|^11, PHP version pins in composer.json platform config or CI images, and custom code implementing or extending package contracts (interfaces do not carry class_alias relief).Sequencing
Maintenance
^13.0 widening means future Laravel majors will not silently resolve — good — but also that a future framework upgrade will be gated on this package's release cadence. Note it in the framework upgrade runbook as a known dependency.Support
Scaling
*_type, *_id) and on the target/actor pair, and watch for count queries inside list endpoints.Failure modes
Class not found. Detect with a namespace grep plus end-to-end coverage of every interaction type.remove succeeds but the require fails on a transitive illuminate constraint, leaving composer.json inconsistent. Use a branch and revert rather than debugging on the mainline.composer.json matches the GitHub org).Ramp-up
toneflix/social-interactions and not toneflix-code/social-interactions?" six months from now.How can I help you explore Laravel packages today?