PHP code example of sulaimanmisri / easy-deploy

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

    

sulaimanmisri / easy-deploy example snippets


'commands' => [
    'php artisan migrate --force',
    'php artisan cache:clear',
    'your-custom-command',
],
bash
php artisan easy-deploy:install
bash
php artisan easy-deploy:run
bash
   ./vendor/bin/phpunit tests/Feature/DeploymentCommandTest.php --filter="deployment_command_executes_successfully"
   
bash
   php artisan config:clear
   php artisan cache:clear