PHP code example of sunaoka / phpunit-laravel-localization

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

    

sunaoka / phpunit-laravel-localization example snippets



// tests/Unit/LocalizationTest.php

declare(strict_types=1);

namespace Tests\Unit;

use Sunaoka\PHPUnit\Laravel\Localization\LocalizationTesting;
use Tests\TestCase;

class LocalizationTest extends TestCase
{
    use LocalizationTesting;
}