PHP code example of rippledevs / laravel-faker

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

    

rippledevs / laravel-faker example snippets


'faker_locale' => 'fa_IR',

fake()->sheba();

fake()->sentence();        // Persian lorem sentence
fake()->paragraph();       // Persian lorem paragraph
fake()->paragraphs(3);     // Multiple paragraphs
fake()->lorem();           // Alias for paragraph()

fake()->word();            // Random Persian word
fake()->words(5);          // Array of Persian words

fake()->nationalCode();     // Valid Iranian National Code
fake()->sheba();            // Valid Iranian Sheba (IBAN)
fake()->bankCardNumber();   // Iranian bank card number
fake()->postalCode();       // Valid Iranian postal code