PHP code example of lxy / lxyjunit-laravel

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

    

lxy / lxyjunit-laravel example snippets


\Lxy\LxyjunitLaravel\Providers\LxyjunitServiceProvider::class

Route::get('/', 'LxyjunitController@index');
Route::post('/', 'LxyjunitController@store')->name('junit.store');

// 测试路由
Route::get('test', 'TestController@index');