PHP code example of codemenorg / fakefield

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

    

codemenorg / fakefield example snippets


protected $middlewareGroups = [
        'web' => [
            ...
            \Codemen\FakeField\FakeFieldMiddleware::class,
        ],
        ...
    ];

protected $fakeFields = ['first_name', 'last_name', 'email'];

php artisan vendor:publish --tag=fake-field-config