PHP code example of schneiderchristopher / faker-crypto-php

1. Go to this page and download the library: Download schneiderchristopher/faker-crypto-php 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/ */

    

schneiderchristopher / faker-crypto-php example snippets




$faker = \Faker\Factory::create();
$faker->addProvider(new \FakerCryptoPHP\Provider\en_US\Crypto($faker));

$faker->cryptoCode(); // Returns a fake coin code eg: (BTC, ETH)
$faker->cryptoCoinName(); // Returns a fake coin name eg: (Dogecoin, Solana)
bash
composer