PHP code example of ashrafic / bagisto-clover

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

    

ashrafic / bagisto-clover example snippets


Webkul\Clover\Providers\ModuleServiceProvider::class,

use Webkul\Clover\Providers\CloverServiceProvider;

return [
    // ...
    CloverServiceProvider::class,
];

use Webkul\Clover\Tests\CloverTestCase;

uses(CloverTestCase::class)->in('../vendor/ashrafic/bagisto-clover/tests');
bash
php artisan migrate
php artisan vendor:publish --tag=clover
php artisan optimize:clear
xml
<testsuite name="Clover Unit Test">
    <directory suffix="Test.php">vendor/ashrafic/bagisto-clover/tests/Unit</directory>
</testsuite>
<testsuite name="Clover Feature Test">
    <directory suffix="Test.php">vendor/ashrafic/bagisto-clover/tests/Feature</directory>
</testsuite>