PHP code example of komicho / laravel-autodeploy

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

    

komicho / laravel-autodeploy example snippets


Route::prefix("laraveleg")->group(function () {
    LaravelEG\Laravel\AutoDeploy\WebHook::init();
});

\LaravelEG\Laravel\AutoDeploy\App\Http\Middleware\LastCommitMiddleware::class