poldixd / laravel-strip-tags
Installs: 1 108
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
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.