PHP code example of gentritabazi / laradeploy

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

    

gentritabazi / laradeploy example snippets

bash
#!/bin/bash

php artisan down
git fetch -av
git reset --hard origin/master

composer install --no-interaction --no-dev --prefer-dist
php artisan route:cache
php artisan config:cache
php artisan event:cache
php artisan view:cache
php artisan migrate --force
php artisan up