PHP code example of kapersoft / knocker-for-laravel

1. Go to this page and download the library: Download kapersoft/knocker-for-laravel 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/ */

    

kapersoft / knocker-for-laravel example snippets


return [
    'endpoint' => env('KNOCKER_ENDPOINT', 'https://knocker.laravel.cloud/api/v1/schedulerTasks'),
    'token' => env('KNOCKER_TOKEN', ''),
];
bash
php artisan vendor:publish --tag="knocker-for-laravel-config"
bash
php artisan knocker:send-scheduler-tasks
bash
php artisan knocker:send-scheduler-tasks