1. Go to this page and download the library: Download improved/function 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/ */
improved / function example snippets
use Improved as i;
$slugify = i\function_pipe(
fn($str) => i\string_case_convert($str, i\STRING_LOWERCASE),
'Improved/string_remove_accents',
'trim',
fn($str) => preg_replace('/\W+/', '-', $str)
);
$slugify("Bonjour du monde / Français "); // "bonjour-du-monde-francais"