Introducing Laravel Mentions
One of my friends on facebook contacted me about the possibility of having a laravel package that can help implement facebook and Slack’s way of mentioning users.
Once a user uses the @ with some words, an autocomplete pops up with the list of potential users that might be referred to. On facebook and Slack, the other user actually gets a notification because he/she has been mentioned.
I built a package named laravel-mentions to make this functionality a breeze. You can head over to my GitHub repo. There is a comprehensive documentation on the ReadMe to get you started.
It’s also hosted on packagist.org, So you can pull it with composer like so:
1 |
composer require "unicodeveloper/laravel-mentions": "1.0.*" |
I built and released today. So currently, this package does not have the ability to send notification to the user when he/she is been mentioned, but I hope to implement that in subsequent releases.
Stay tuned and even watch the repo to be notified once there is a new release.
- How to build your own Youtube – Part 10 - August 1, 2016
- How to build your own Youtube – Part 9 - July 25, 2016
- How to build your own Youtube – Part 8 - July 23, 2016
- How to build your own Youtube – Part 6 - July 6, 2016
- Introducing Laravel Password v1.0 - July 3, 2016
- How to build your own Youtube – Part 5 - June 28, 2016
- How to build your own Youtube – Part 4 - June 23, 2016
- How to build your own Youtube – Part 3 - June 15, 2016
- How to build your own Youtube – Part 2 - June 8, 2016
- How to build your own Youtube – Part 1 - June 1, 2016