PHP code example of poldixd / laravel-strip-tags
1. Go to this page and download the library: Download poldixd/laravel-strip-tags library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
poldixd / laravel-strip-tags example snippets
str('<p>This is a sentence</p>')->stripTags(); // Output: This is a sentence