Xetaravel-Mentions | A package to parse @ mentions from a text and mention
kandi X-RAY | Xetaravel-Mentions Summary
kandi X-RAY | Xetaravel-Mentions Summary
Xetaravel-Mentions is a PHP library. Xetaravel-Mentions has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
A package to parse @mentions from a text and mention the user with a notification. By default this package is configured to parse any text type and it will replace any matched @mention with a markdown link ([@Mention] /users/profile/@Mention)) if the mentionned user exist in the database. It will also send a notification with the Laravel Notifiable trait to all mentionned users. (Inspired from the laravel-mentions package.). And Both Admin and Member users will be notified. But Admin will be notified only one time. (Yes the Parser include an anti-spam rule.).
A package to parse @mentions from a text and mention the user with a notification. By default this package is configured to parse any text type and it will replace any matched @mention with a markdown link ([@Mention] /users/profile/@Mention)) if the mentionned user exist in the database. It will also send a notification with the Laravel Notifiable trait to all mentionned users. (Inspired from the laravel-mentions package.). And Both Admin and Member users will be notified. But Admin will be notified only one time. (Yes the Parser include an anti-spam rule.).
Support
Quality
Security
License
Reuse
Support
Xetaravel-Mentions has a low active ecosystem.
It has 46 star(s) with 21 fork(s). There are 2 watchers for this library.
It had no major release in the last 12 months.
There are 0 open issues and 14 have been closed. On average issues are closed in 168 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of Xetaravel-Mentions is 10.0.0
Quality
Xetaravel-Mentions has 0 bugs and 0 code smells.
Security
Xetaravel-Mentions has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
Xetaravel-Mentions code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
Xetaravel-Mentions is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
Xetaravel-Mentions releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Xetaravel-Mentions saves you 140 person hours of effort in developing the same functionality from scratch.
It has 351 lines of code, 30 functions and 9 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed Xetaravel-Mentions and discovered the below as its top functions. This is intended to give you an instant insight into Xetaravel-Mentions implemented functionality, and help decide if they suit your requirements.
- Parse input .
- Makes mention .
- Get the mention pool .
- Create a new mention .
- Boot the package .
- Get the mentions .
- Send a mention .
- Get the mentions .
- Create a mention .
- Registerment configurations .
Get all kandi verified functions for this library.
Xetaravel-Mentions Key Features
No Key Features are available at this moment for Xetaravel-Mentions.
Xetaravel-Mentions Examples and Code Snippets
Copy
all());
// Register a new Parser and parse the content.
$parser = new MentionParser($comment);
$content = $parser->parse($comment->content);
/**
* Re-assign the parsed content and save it.
Copy
model = $model;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
*
* @return array
*/
public function via($notifiable): array
{
return ['database'];
}
/**
Copy
composer require xetaio/xetaravel-mentions
'providers' => [
//...
Xetaio\Mentions\Providers\MentionServiceProvider::class,
//...
]
php artisan vendor:publish --provider="Xetaio\Mentions\Providers\MentionServiceProvider"
php artisan migrat
Community Discussions
No Community Discussions are available at this moment for Xetaravel-Mentions.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Xetaravel-Mentions
Import the MentionServiceProvider in your config/app.php:.
Support
If you want to contribute, please follow this guide.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page