PHP code example of daverdalas / laravel-post-deploy-commands

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

    

daverdalas / laravel-post-deploy-commands example snippets


DaverDalas\LaravelPostDeployCommands\ServiceProvider::class



use Illuminate\Console\Command;

class YourCommandName extends Command
{
    /**
     * Execute the console command.
     *
     * @return void
     */
    public function handle()
    {
        // $this->info('Command message');
    }
}

php artisan deploy-commands:run

php artisan deploy-commands:mark-all-completed