PHP code example of cheddzy / tf2-faker

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

    

cheddzy / tf2-faker example snippets


$this->faker->scoutWeapon();

$this->faker->classWeapon('heavy');
$this->faker->classWeaponSlot('engineer', 'pda');

$this->faker->spyPrimary();
$this->faker->spyMelee();
$this->faker->spyPDA();
$this->faker->spyWatch();
$this->faker->spySapper();