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
Requires
- php: ^8.1
- illuminate/support: ^9.0|^10.0
Requires (Dev)
- orchestra/testbench: ^7.0|^8.0
- pestphp/pest: ^1.21
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.