PHP code example of geekish / faker-horse-battery-staple

1. Go to this page and download the library: Download geekish/faker-horse-battery-staple 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/ */

    

geekish / faker-horse-battery-staple example snippets


echo $faker->correctHorseBatteryStaple;

echo $faker->correctHorseBatteryStaple(delimiter: '.');

echo $faker->correctHorseBatteryStaple(delimiter: '!@#$%^&*');

echo $faker->correctHorseBatteryStaple(words: 7);

echo $faker->correctHorseBatteryStaple(capitalize: true);

echo $faker->correctHorseBatteryStaple(
  delimiter: '',
  words: 3,
  capitalize: false
);