PHP code example of bfg / embedded-call

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

    

bfg / embedded-call example snippets


embedded_call(function (\Illuminate\Http\Request $request) {
    dd($request); // This is a request app instance
});
// Or
embedded_call(function (\Illuminate\Http\Request $request) {
    dd($request); // This is my request instance
}, ['request' => $my_request_instance]);