PHP code example of othmanhaba / laravel-test-container

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

    

othmanhaba / laravel-test-container example snippets

bash
php artisan test:container
bash
php artisan test:container --filter=UserTest
php artisan test:container -p 8
php artisan test:container --driver=pgsql
php artisan test:container --tag=8.0
bash
php artisan vendor:publish --tag=test-container-config
bash
php artisan test:container:prune
bash
php artisan test:container --reuse