PHP code example of cre8-it / vincrease

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

    

cre8-it / vincrease example snippets

bash
  php artisan vendor:publish --provider="Cre8it\Vincrease\VincreaseServiceProvider"
bash
  php artisan vincrease:init
bash
  php artisan vincrease:init --app-version=2.0.0
bash
  php artisan vincrease:up
bash
  php artisan vincrease:up --type=major
bash
    cd /home/ploi/example.com
    git pull origin main
    composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev

    php artisan vincrease:up --type="{COMMIT_MESSAGE}"

    php artisan config:clear
    php artisan cache:clear
    php artisan migrate --force
bash
cd /home/forge/example.com
git pull origin $FORGE_SITE_BRANCH

$FORGE_COMPOSER install --no-interaction --prefer-dist --optimize-autoloader

php artisan vincrease:up --type="$FORGE_DEPLOY_MESSAGE"

php artisan config:clear
php artisan cache:clear
php artisan migrate --force
bash
php artisan vincrease:up --type="$FORGE_VAR_TYPE"
bash
  composer fix