PHP code example of kieranbrown / laraworker

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

    

kieranbrown / laraworker example snippets


return [
    // PHP extensions to string' => true,   // ~742 KiB gzipped
        'openssl' => true,    // ~936 KiB gzipped
    ],

    // Directories   'vendor',
    ],

    // Individual files to 
        '/\/node_modules\//',
        '/\/tests\//',
        // ...
    ],
];
bash
php artisan laraworker:install
bash
php artisan laraworker:install
php artisan laraworker:install --force  # Overwrite existing files
bash
php artisan laraworker:build
bash
php artisan laraworker:dev
bash
php artisan laraworker:deploy
php artisan laraworker:deploy --dry-run  # Build without deploying
bash
php artisan laraworker:status