PHP code example of apollopy / workbench

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

    

apollopy / 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__.'/../workbench') && class_exists(ApolloPY\Workbench\Starter::class)) {
    ApolloPY\Workbench\Starter::start($workbench);
}

php artisan vendor:publish

php artisan workbench vendor/package