poldixd/laravel-strip-tags

This package is abandoned and no longer maintained. No replacement package was suggested.

1.0.0 2023-01-27 08:01 UTC

This package is auto-updated.

Last update: 2024-02-29 10:39:18 UTC


README

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.