PHP code example of ripple / ripple-laravel

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

    

ripple / ripple-laravel example snippets


// AppServiceProvider::boot()
Gate::define('viewRipple', fn ($user) => in_array($user->email, ['[email protected]']));

broadcast(new OrderShipped($order));
bash
php artisan ripple:start
bash
php artisan vendor:publish --tag=ripple-config