/laravel-strip-tags

with this package you can use strip_tags() in laravel fluent strings.

Primary LanguagePHPMIT LicenseMIT

Warning

Package is abandoned. Please use the Laravel native method: https://laravel.com/docs/10.x/strings#method-fluent-str-strip-tags

Use strip_tags() in fluent strings

With this package you can use strip_tags() in laravel fluent strings.

str('<p>This is a sentence</p>')->stripTags(); // Output: This is a sentence

Installation

First, install the package via composer:

composer require poldixd/laravel-strip-tags

The package will automatically register itself.

Changelog

Please see CHANGELOG for more information what has changed recently.

License

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