1. Go to this page and download the library: Download marshmallow/helpers 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/ */
Str::join([
'Marshmallow',
'Stef van Esch',
'Mr Mallow'
]);
// Marshmallow, Stef van Esch and Mr Mallow
Str::random($limit = 16, $ignore = [
/**
* Custom items
*/
'A','B', 'C', 'D',
/**
* Presets
*/
'lowercase', // Will ignore all lowercase characters.
'uppercase', // Will ignore all uppercase characters.
'letters', // Will ignore all letters.
'numbers', // Will ignore all numbers.
'similar', // Will ignore all numbers and letters that have been marked as similar.
]);
foreach ($grouper as $group) {
if ($group->is('first')) {
// Add your template for 3 items
}
if ($group->is('second')) {
// Add your template for 1 item
}
}
foreach ($grouper as $group) {
foreach ($group as $blog) {
//
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.