protasevich / messages-handler
A magical tool that will make it easy to handle chat messages
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/protasevich/messages-handler
Requires (Dev)
- phpunit/phpunit: ^9.5
README
A magical tool that will make it easy to handle chat messages
Install
$ composer require protasevich/messages-handler
Using
<?php use Protasevich\MessagesHandler; class App { public function execute($content) { $messagesHandler = new MessagesHandler(); return $messagesHandler->prepareLinks($content); } }
Possibilities
- Replace text links with real HTML note
Testing
$ php vendor/bin/phpunit