PHP code example of thoughtco / lunar-cart-abandonment

1. Go to this page and download the library: Download thoughtco/lunar-cart-abandonment 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/ */

    

thoughtco / lunar-cart-abandonment example snippets


        [
            'interval' => 5, // minutes
            'job' => \App\Jobs\CartAbandonment::class,
            'queue' => 'default', // optional
            'queue_connection' => 'redis', // optional
            'config' => [], // this will be passed to your job along with the cart
        ],  

php artisan vendor:publish --tag=lunar-cart-abandonment-config