PHP code example of ahrmerd / laravel-test-generator

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

    

ahrmerd / laravel-test-generator example snippets

 
    'ignore_models' => [
        'User', 'Post'
    ],
sh
php artisan vendor:publish --tag=TestGenerator-config 
sh
 php artisan generate:tests ModelName
sh 
php artisan generate:tests ModelName --force
sh
php artisan generate:tests ModelName --api