Skip to content

A magical tool that will make it easy to handle chat messages

Notifications You must be signed in to change notification settings

m1nyasha/messages-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messages Handler

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

About

A magical tool that will make it easy to handle chat messages

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages