PHP code example of lichtblauit / lunar-paypal

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

    

lichtblauit / lunar-paypal example snippets


<livewire:paypal.payment :cart="$cart"
                         :returnUrl="route('checkout-success.view')" />
bash
php artisan vendor:publish --tag="lunar-paypal-views"