Skip to content

A Laravel Blade directive for converting newline characters to breaks.

License

Notifications You must be signed in to change notification settings

sandervanhooft/laravel-blade-nl2br

Repository files navigation

Laravel Blade nl2br

A Laravel Blade directive for converting newline characters to breaks.

Latest Version on Packagist Build Status Total Downloads

Installation

You can install the package via composer:

composer require sandervanhooft/laravel-blade-nl2br

Usage

@nl2br("Hello\n world!")
// Hello<br \> world!

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email info@sandervanhooft.com instead of using the issue tracker.

Credits

Never miss a new package release

Subscribe to the newsletter at sandervanhooft.com to learn about the latest Laravel packages and tricks.

License

The MIT License (MIT). Please see License File for more information.

About

A Laravel Blade directive for converting newline characters to breaks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages