PHP code example of iwanli / workbench

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

    

iwanli / workbench example snippets


/*
|--------------------------------------------------------------------------
| Register The Workbench Loaders
|--------------------------------------------------------------------------
|
| The Laravel workbench provides a convenient place to develop packages
| when working locally. However we will need to load in the Composer
| auto-load files for the packages so that these can be used here.
|
*/
if (is_dir($workbench = __DIR__.'/../packages'))
{
	Iwanli\Workbench\Starter::start($workbench);
}

php artisan vendor:publish

php artisan workbench vendor/package