PHP code example of skobel / laravel-install-command

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

    

skobel / laravel-install-command example snippets


php artisan installer:setup

Installation/
    Steps/
    Configuration.php

php artisan install

php artisan installer:step StepName

use App\Installation\Steps\StepName;

class Configuration extends \Skobel\LaravelInstallCommand\Configuration
{
    public function steps(): array
    {
        return [
            // ...
            new StepName,
        ];
    }
}