PHP code example of wunit / wunit-laravel

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

    

wunit / wunit-laravel example snippets


'providers' => [
    // ...
    Wunit\WunitLaravel\Providers\WunitServiceProvide::class,
]

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