simbiat/nl2tag (packagist): Class to convert new lines to different HTML tags
Keywords: php|html|nl2br|nl2p