Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Messenger Laravel Package

cmgmyr/messenger

View on GitHub
Deep Wiki
Context7
2.28.0

What's Changed

New Contributors

Full Changelog: https://github.com/cmgmyr/laravel-messenger/compare/2.27.0...2.28.0

2.25.0

What's Changed

Full Changelog: https://github.com/cmgmyr/laravel-messenger/compare/2.24.0...2.25.0

2.24.0

What's Changed

Full Changelog: https://github.com/cmgmyr/laravel-messenger/compare/2.23...2.24.0

2.23

Added

Updated

New Contributors

Full Changelog: https://github.com/cmgmyr/laravel-messenger/compare/2.22...2.23

2.22

Added

  • PHP 8 Support #353
2.21

Added

  • Laravel 8 support
  • PHP 7.4

Updated

  • Restore onlyTrashed Participants #347
  • PHPUnit

Removed

  • PHP 7.1

Upgrading to Laravel 8

If you'd like to upgrade to Laravel 8's new model directory structure, you'll need to publish the config file, and uncomment the user model option.

2.20

Added

  • Laravel 7 support #333

Updated

  • Remove references to Input facade #322
2.19

Added

  • Laravel 6 support #321
2.18

Models/Thread.php

Updated

  • userUnreadMessages($userId) now checks against the $userId within the query.

Misc

  • Updates to tests, scrutinizer, travis, and other cleanup
2.17
  • Added support for Laravel 5.8
  • Officially dropped support for Laravel 4, and Laravel <= 5.4

See #313

2.16.2

Fixes an issue for new installs where the user model was being set to null, see #302

2.16.1

Sets initial config's user_model to null so that new installs don't fail with custom user model location #301

2.16

Models/Message.php

Updated

  • scopeUnreadForUser() fixed missing prefix #262

MessengerServiceProvider.php

  • Prioritize package user_model config value over auth user #294

Misc Cleanup

  • #268, #269, #284, #285, #287

View the changes from 2.15 -> 2.16

2.15
  • Clean up! Clean up! Clean up! #247 #248 #249 #251 #252 #253 #254
  • Laravel 5.5 package discovery ccec6ac

Models/Thread.php

Updated

  • creator() #256 - uses internal cache variable
  • creator() 0a1d2f7 - returns null "User" model

Models/Message.php

Added

  • scopeUnreadForUser() #245

Traits/Messagable.php

Added

  • unreadMessagesCount() #245
2.14.1

Models/Thread.php

Updated

  • creator() now returns null if no user found instead of erroring out #231

Migrations

Fixed

  • Message migration for soft deletes is now configurable #219

View the changes from 2.14 -> 2.14.1

2.14

Models/Message.php

Added

  • Soft Deletes

Models/Thread.php

Added

  • users() relationship

Example Files

Updated

  • Replaced html package references with vanilla html and form elements
  • Refactored blade files to better separate functionality

Removed

  • laravelcollective/html dependancy

Tests

  • Updated code coverage w/ tests and tags
  • Updated phpunit dependency when available
  • Updated Travis and Scrutinizer configs

View the changes from 2.13.3 -> 2.14

2.13.3

Fixed

  • #193 fix DB prefix in raw query
2.13.2

Fixed

  • #174 Postgres "group by" bug

Changed

  • Added better handling of custom User models
2.13.1

Migrations

  • Added Schema use statement (#164)

Publishing Assets

  • Can now publish package assets by config or migrations tag (#165)
2.13

Models/Thread.php

Fixed

  • internal functionality of participantsUserIds(), isUnread(), participantsString(), and userUnreadMessages(). fixes #154, #159

Traits/Messagable.php

Fixed

  • internal functionality of threadsWithNewMessages(), and newThreadsCount()

Examples

Changed

  • all view files (blade syntax)

Tests

Added

  • added additional test coverage to EloquentThreadTest.php and MessagableTraitTest.php
2.12

Models/Thread.php

Changed

  • refactored the use of lists() to pluck()
  • renamed addParticipants() to addParticipant(). This now can take a single id, an array, or multiple ids as arguments

Added

  • removeParticipant() which also can take a single id, an array, or multiple ids as arguments

Traits/Messagable.php

Changed

  • refactored the use of lists() to pluck()

Migrations

  • removed 2014_11_10_083449_add_nullable_to_last_read_in_participants_table.php and 2014_11_20_131739_alter_last_read_in_participants_table.php in favor of adjusting 2014_10_28_180224_create_participants_table.php, fixes #57

Examples

Changed

  • MessagesController.php
  • unread-count.blade.php
2.11

Models/Thread.php

Added

  • getBySubject($subjectQuery)
  • userUnreadMessages($userId)
  • userUnreadMessagesCount($userId)

Traits/Messagable.php

Changed

  • newMessagesCount() to newThreadsCount()
2.10
  • Added ability to have prefixed table names via config. Table names will not be prefixed by default.
2.9.1
  • [Bug] Method whereHas should accept relation but not a table name.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope