PHP code example of nickdekruijk / deploy

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

    

nickdekruijk / deploy example snippets


APP_DEPLOY_SECRET=your_secret_here

#!/bin/sh
git pull origin master
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
php artisan config:cache
php artisan route:cache
php artisan migrate --force

php artisan vendor:publish --provider="NickDeKruijk\Deploy\ServiceProvider"